Convert RegisterAllocator interface to opaque pass type, so that users do not
[oota-llvm.git] / lib / Target / SparcV9 / RegAlloc / RegAllocCommon.h
1
2
3 #ifndef REG_ALLOC_COMMON_H
4 #define  REG_ALLOC_COMMON_H
5
6 #include "Support/CommandLine.h"
7
8 // set DEBUG_RA for printing out debug messages
9 // if DEBUG_RA is 1 normal output messages
10 // if DEBUG_RA is 2 extensive debug info for each instr
11
12 enum RegAllocDebugLevel_t {
13   RA_DEBUG_None    = 0,
14   RA_DEBUG_Normal  = 1,
15   RA_DEBUG_Verbose = 2,
16 };
17
18 extern cl::Enum<RegAllocDebugLevel_t> DEBUG_RA;
19
20 #endif