summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorVikram S. Adve <vadve@cs.uiuc.edu>2002-09-14 22:18:37 +0000
committerVikram S. Adve <vadve@cs.uiuc.edu>2002-09-14 22:18:37 +0000
commitc9f1e71360254f16f4615af621fadd422b2ed1bc (patch)
tree89ff4023a78f315cc2374c576322287c57cc7250 /llvm/lib
parente89a6ebddd1c826645ea086ba11c4e833c5b2f76 (diff)
downloadbcm5719-llvm-c9f1e71360254f16f4615af621fadd422b2ed1bc.tar.gz
bcm5719-llvm-c9f1e71360254f16f4615af621fadd422b2ed1bc.zip
Break RA_DEBUG option into several levels to get better output.
llvm-svn: 3722
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/RegAlloc/RegAllocCommon.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/RegAlloc/RegAllocCommon.h b/llvm/lib/CodeGen/RegAlloc/RegAllocCommon.h
new file mode 100644
index 00000000000..f7c30e6d58f
--- /dev/null
+++ b/llvm/lib/CodeGen/RegAlloc/RegAllocCommon.h
@@ -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
OpenPOWER on IntegriCloud