aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h12
-rw-r--r--include/llvm/CodeGen/FunctionLiveVarInfo.h12
-rw-r--r--include/llvm/CodeGen/RegAllocCommon.h6
-rw-r--r--lib/CodeGen/RegAlloc/RegAllocCommon.h6
-rw-r--r--lib/Target/SparcV9/RegAlloc/RegAllocCommon.h6
5 files changed, 6 insertions, 36 deletions
diff --git a/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h b/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h
index dab6d3c..816dd86 100644
--- a/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h
+++ b/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h
@@ -63,22 +63,10 @@
#include "llvm/Pass.h"
#include "llvm/Analysis/LiveVar/ValueSet.h"
-#include "Support/CommandLine.h"
class BBLiveVar;
class MachineInstr;
-
-enum LiveVarDebugLevel_t {
- LV_DEBUG_None,
- LV_DEBUG_Normal,
- LV_DEBUG_Instr,
- LV_DEBUG_Verbose
-};
-
-extern cl::Enum<LiveVarDebugLevel_t> DEBUG_LV;
-
-
class FunctionLiveVarInfo : public FunctionPass {
// Machine Instr to LiveVarSet Map for providing LVset BEFORE each inst
std::map<const MachineInstr *, const ValueSet *> MInst2LVSetBI;
diff --git a/include/llvm/CodeGen/FunctionLiveVarInfo.h b/include/llvm/CodeGen/FunctionLiveVarInfo.h
index dab6d3c..816dd86 100644
--- a/include/llvm/CodeGen/FunctionLiveVarInfo.h
+++ b/include/llvm/CodeGen/FunctionLiveVarInfo.h
@@ -63,22 +63,10 @@
#include "llvm/Pass.h"
#include "llvm/Analysis/LiveVar/ValueSet.h"
-#include "Support/CommandLine.h"
class BBLiveVar;
class MachineInstr;
-
-enum LiveVarDebugLevel_t {
- LV_DEBUG_None,
- LV_DEBUG_Normal,
- LV_DEBUG_Instr,
- LV_DEBUG_Verbose
-};
-
-extern cl::Enum<LiveVarDebugLevel_t> DEBUG_LV;
-
-
class FunctionLiveVarInfo : public FunctionPass {
// Machine Instr to LiveVarSet Map for providing LVset BEFORE each inst
std::map<const MachineInstr *, const ValueSet *> MInst2LVSetBI;
diff --git a/include/llvm/CodeGen/RegAllocCommon.h b/include/llvm/CodeGen/RegAllocCommon.h
index 9f8abe3..7c5cf04 100644
--- a/include/llvm/CodeGen/RegAllocCommon.h
+++ b/include/llvm/CodeGen/RegAllocCommon.h
@@ -1,9 +1,7 @@
#ifndef REG_ALLOC_COMMON_H
-#define REG_ALLOC_COMMON_H
-
-#include "Support/CommandLine.h"
+#define REG_ALLOC_COMMON_H
// set DEBUG_RA for printing out debug messages
// if DEBUG_RA is 1 normal output messages
@@ -15,6 +13,6 @@ enum RegAllocDebugLevel_t {
RA_DEBUG_Verbose = 2,
};
-extern cl::Enum<RegAllocDebugLevel_t> DEBUG_RA;
+extern RegAllocDebugLevel_t DEBUG_RA;
#endif
diff --git a/lib/CodeGen/RegAlloc/RegAllocCommon.h b/lib/CodeGen/RegAlloc/RegAllocCommon.h
index 9f8abe3..7c5cf04 100644
--- a/lib/CodeGen/RegAlloc/RegAllocCommon.h
+++ b/lib/CodeGen/RegAlloc/RegAllocCommon.h
@@ -1,9 +1,7 @@
#ifndef REG_ALLOC_COMMON_H
-#define REG_ALLOC_COMMON_H
-
-#include "Support/CommandLine.h"
+#define REG_ALLOC_COMMON_H
// set DEBUG_RA for printing out debug messages
// if DEBUG_RA is 1 normal output messages
@@ -15,6 +13,6 @@ enum RegAllocDebugLevel_t {
RA_DEBUG_Verbose = 2,
};
-extern cl::Enum<RegAllocDebugLevel_t> DEBUG_RA;
+extern RegAllocDebugLevel_t DEBUG_RA;
#endif
diff --git a/lib/Target/SparcV9/RegAlloc/RegAllocCommon.h b/lib/Target/SparcV9/RegAlloc/RegAllocCommon.h
index 9f8abe3..7c5cf04 100644
--- a/lib/Target/SparcV9/RegAlloc/RegAllocCommon.h
+++ b/lib/Target/SparcV9/RegAlloc/RegAllocCommon.h
@@ -1,9 +1,7 @@
#ifndef REG_ALLOC_COMMON_H
-#define REG_ALLOC_COMMON_H
-
-#include "Support/CommandLine.h"
+#define REG_ALLOC_COMMON_H
// set DEBUG_RA for printing out debug messages
// if DEBUG_RA is 1 normal output messages
@@ -15,6 +13,6 @@ enum RegAllocDebugLevel_t {
RA_DEBUG_Verbose = 2,
};
-extern cl::Enum<RegAllocDebugLevel_t> DEBUG_RA;
+extern RegAllocDebugLevel_t DEBUG_RA;
#endif