#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;
#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;
#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
RA_DEBUG_Verbose = 2,
};
-extern cl::Enum<RegAllocDebugLevel_t> DEBUG_RA;
+extern RegAllocDebugLevel_t DEBUG_RA;
#endif
#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
RA_DEBUG_Verbose = 2,
};
-extern cl::Enum<RegAllocDebugLevel_t> DEBUG_RA;
+extern RegAllocDebugLevel_t DEBUG_RA;
#endif
#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
RA_DEBUG_Verbose = 2,
};
-extern cl::Enum<RegAllocDebugLevel_t> DEBUG_RA;
+extern RegAllocDebugLevel_t DEBUG_RA;
#endif