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

vadve at cs.uiuc.edu vadve at cs.uiuc.edu
Sat Sep 14 17:19:01 PDT 2002


Changes in directory llvm/include/llvm/CodeGen:

RegAllocCommon.h updated: 1.7 -> 1.8

---
Log message:

Break RA_DEBUG option into several levels to get better output.


---
Diffs of the changes:

Index: llvm/include/llvm/CodeGen/RegAllocCommon.h
diff -u /dev/null llvm/include/llvm/CodeGen/RegAllocCommon.h:1.8
--- /dev/null	Sat Sep 14 17:18:41 2002
+++ llvm/include/llvm/CodeGen/RegAllocCommon.h	Sat Sep 14 17:18:37 2002
@@ -0,0 +1,23 @@
+//===-- RegAllocCommon.h --------------------------------------------------===//
+// 
+//  Shared declarations for register allocation.
+// 
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_CODEGEN_REGALLOCCOMMON_H
+#define LLVM_CODEGEN_REGALLOCCOMMON_H
+
+#include "Support/CommandLine.h"
+
+enum RegAllocDebugLevel_t {
+  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;
+
+#endif





More information about the llvm-commits mailing list