Added virtual function to generate an instruction sequence to
[oota-llvm.git] / include / llvm / CodeGen / RegAllocCommon.h
1
2 #include "llvm/Support/CommandLine.h"
3
4 #ifndef REG_ALLOC_COMMON_H
5 #define  REG_ALLOC_COMMON_H
6
7 // THIS IS NOW SPECIFIED VIA A COMMANDLINE ARGUMENT TO LLC
8 //
9 // set DEBUG_RA for printing out debug messages
10 // if DEBUG_RA is 1 normal output messages
11 // if DEBUG_RA is 2 extensive debug info for each instr
12
13 enum RegAllocDebugLevel_t {
14   RA_DEBUG_None    = 0,
15   RA_DEBUG_Normal  = 1,
16   RA_DEBUG_Verbose = 2,
17 };
18
19 extern cl::Enum<RegAllocDebugLevel_t> DEBUG_RA;
20
21 #endif