Use higher level method
[oota-llvm.git] / lib / Target / SparcV9 / RegAlloc / RegAllocCommon.h
index 7c5cf04952196817c402157eafecfeada241439b..2b1edb68a31adbcb064a5aa259d16f0ab6a19cd6 100644 (file)
@@ -1,16 +1,19 @@
+//===-- RegAllocCommon.h --------------------------------------------------===//
+// 
+//  Shared declarations for register allocation.
+// 
+//===----------------------------------------------------------------------===//
 
-
-#ifndef REG_ALLOC_COMMON_H
-#define REG_ALLOC_COMMON_H
-
-// set DEBUG_RA for printing out debug messages
-// if DEBUG_RA is 1 normal output messages
-// if DEBUG_RA is 2 extensive debug info for each instr
+#ifndef LLVM_CODEGEN_REGALLOCCOMMON_H
+#define LLVM_CODEGEN_REGALLOCCOMMON_H
 
 enum RegAllocDebugLevel_t {
-  RA_DEBUG_None    = 0,
-  RA_DEBUG_Normal  = 1,
-  RA_DEBUG_Verbose = 2,
+  RA_DEBUG_None         = 0,
+  RA_DEBUG_Results      = 1,
+  RA_DEBUG_Coloring     = 2,
+  RA_DEBUG_Interference = 3,
+  RA_DEBUG_LiveRanges   = 4,
+  RA_DEBUG_Verbose      = 5
 };
 
 extern RegAllocDebugLevel_t DEBUG_RA;