diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-05-22 17:06:56 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-05-22 17:06:56 +0000 |
| commit | d5ed3694ae9cee35b5796068a8d69dd08ec5e2cf (patch) | |
| tree | e37f501d94d839a770f488d145e03a741255904d | |
| parent | 5184bdc596146ee05deae3f81d4a93638e7763f6 (diff) | |
| download | bcm5719-llvm-d5ed3694ae9cee35b5796068a8d69dd08ec5e2cf.tar.gz bcm5719-llvm-d5ed3694ae9cee35b5796068a8d69dd08ec5e2cf.zip | |
Avoid #including CommandLine.h
llvm-svn: 2710
| -rw-r--r-- | llvm/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h | 12 | ||||
| -rw-r--r-- | llvm/include/llvm/CodeGen/FunctionLiveVarInfo.h | 12 | ||||
| -rw-r--r-- | llvm/include/llvm/CodeGen/RegAllocCommon.h | 6 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/RegAlloc/RegAllocCommon.h | 6 |
4 files changed, 4 insertions, 32 deletions
diff --git a/llvm/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h b/llvm/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h index dab6d3c7f3d..816dd860d0b 100644 --- a/llvm/include/llvm/Analysis/LiveVar/FunctionLiveVarInfo.h +++ b/llvm/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/llvm/include/llvm/CodeGen/FunctionLiveVarInfo.h b/llvm/include/llvm/CodeGen/FunctionLiveVarInfo.h index dab6d3c7f3d..816dd860d0b 100644 --- a/llvm/include/llvm/CodeGen/FunctionLiveVarInfo.h +++ b/llvm/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/llvm/include/llvm/CodeGen/RegAllocCommon.h b/llvm/include/llvm/CodeGen/RegAllocCommon.h index 9f8abe38e78..7c5cf049521 100644 --- a/llvm/include/llvm/CodeGen/RegAllocCommon.h +++ b/llvm/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/llvm/lib/CodeGen/RegAlloc/RegAllocCommon.h b/llvm/lib/CodeGen/RegAlloc/RegAllocCommon.h index 9f8abe38e78..7c5cf049521 100644 --- a/llvm/lib/CodeGen/RegAlloc/RegAllocCommon.h +++ b/llvm/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 |

