[llvm-commits] CVS: llvm/lib/CodeGen/RegAlloc/RegAllocCommon.h

vadve at cs.uiuc.edu vadve at cs.uiuc.edu
Sat Sep 14 07:02:01 PDT 2002


Changes in directory llvm/lib/CodeGen/RegAlloc:

RegAllocCommon.h updated: 1.7 -> 1.8

---
Log message:

Moved here from include/llvm/CodeGen because it is only used here.


---
Diffs of the changes:

Index: llvm/lib/CodeGen/RegAlloc/RegAllocCommon.h
diff -u /dev/null llvm/lib/CodeGen/RegAlloc/RegAllocCommon.h:1.8
--- /dev/null	Sat Sep 14 07:01:54 2002
+++ llvm/lib/CodeGen/RegAlloc/RegAllocCommon.h	Sat Sep 14 07:01:50 2002
@@ -0,0 +1,18 @@
+
+
+#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
+
+enum RegAllocDebugLevel_t {
+  RA_DEBUG_None    = 0,
+  RA_DEBUG_Normal  = 1,
+  RA_DEBUG_Verbose = 2,
+};
+
+extern RegAllocDebugLevel_t DEBUG_RA;
+
+#endif





More information about the llvm-commits mailing list