mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
Avoid #including CommandLine.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2710 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4435ac0097
commit
e87adaac31
@ -63,22 +63,10 @@
|
|||||||
|
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
#include "llvm/Analysis/LiveVar/ValueSet.h"
|
#include "llvm/Analysis/LiveVar/ValueSet.h"
|
||||||
#include "Support/CommandLine.h"
|
|
||||||
|
|
||||||
class BBLiveVar;
|
class BBLiveVar;
|
||||||
class MachineInstr;
|
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 {
|
class FunctionLiveVarInfo : public FunctionPass {
|
||||||
// Machine Instr to LiveVarSet Map for providing LVset BEFORE each inst
|
// Machine Instr to LiveVarSet Map for providing LVset BEFORE each inst
|
||||||
std::map<const MachineInstr *, const ValueSet *> MInst2LVSetBI;
|
std::map<const MachineInstr *, const ValueSet *> MInst2LVSetBI;
|
||||||
|
@ -63,22 +63,10 @@
|
|||||||
|
|
||||||
#include "llvm/Pass.h"
|
#include "llvm/Pass.h"
|
||||||
#include "llvm/Analysis/LiveVar/ValueSet.h"
|
#include "llvm/Analysis/LiveVar/ValueSet.h"
|
||||||
#include "Support/CommandLine.h"
|
|
||||||
|
|
||||||
class BBLiveVar;
|
class BBLiveVar;
|
||||||
class MachineInstr;
|
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 {
|
class FunctionLiveVarInfo : public FunctionPass {
|
||||||
// Machine Instr to LiveVarSet Map for providing LVset BEFORE each inst
|
// Machine Instr to LiveVarSet Map for providing LVset BEFORE each inst
|
||||||
std::map<const MachineInstr *, const ValueSet *> MInst2LVSetBI;
|
std::map<const MachineInstr *, const ValueSet *> MInst2LVSetBI;
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
#ifndef REG_ALLOC_COMMON_H
|
#ifndef REG_ALLOC_COMMON_H
|
||||||
#define REG_ALLOC_COMMON_H
|
#define REG_ALLOC_COMMON_H
|
||||||
|
|
||||||
#include "Support/CommandLine.h"
|
|
||||||
|
|
||||||
// set DEBUG_RA for printing out debug messages
|
// set DEBUG_RA for printing out debug messages
|
||||||
// if DEBUG_RA is 1 normal output messages
|
// if DEBUG_RA is 1 normal output messages
|
||||||
// if DEBUG_RA is 2 extensive debug info for each instr
|
// if DEBUG_RA is 2 extensive debug info for each instr
|
||||||
@ -15,6 +13,6 @@ enum RegAllocDebugLevel_t {
|
|||||||
RA_DEBUG_Verbose = 2,
|
RA_DEBUG_Verbose = 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern cl::Enum<RegAllocDebugLevel_t> DEBUG_RA;
|
extern RegAllocDebugLevel_t DEBUG_RA;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
#ifndef REG_ALLOC_COMMON_H
|
#ifndef REG_ALLOC_COMMON_H
|
||||||
#define REG_ALLOC_COMMON_H
|
#define REG_ALLOC_COMMON_H
|
||||||
|
|
||||||
#include "Support/CommandLine.h"
|
|
||||||
|
|
||||||
// set DEBUG_RA for printing out debug messages
|
// set DEBUG_RA for printing out debug messages
|
||||||
// if DEBUG_RA is 1 normal output messages
|
// if DEBUG_RA is 1 normal output messages
|
||||||
// if DEBUG_RA is 2 extensive debug info for each instr
|
// if DEBUG_RA is 2 extensive debug info for each instr
|
||||||
@ -15,6 +13,6 @@ enum RegAllocDebugLevel_t {
|
|||||||
RA_DEBUG_Verbose = 2,
|
RA_DEBUG_Verbose = 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern cl::Enum<RegAllocDebugLevel_t> DEBUG_RA;
|
extern RegAllocDebugLevel_t DEBUG_RA;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
#ifndef REG_ALLOC_COMMON_H
|
#ifndef REG_ALLOC_COMMON_H
|
||||||
#define REG_ALLOC_COMMON_H
|
#define REG_ALLOC_COMMON_H
|
||||||
|
|
||||||
#include "Support/CommandLine.h"
|
|
||||||
|
|
||||||
// set DEBUG_RA for printing out debug messages
|
// set DEBUG_RA for printing out debug messages
|
||||||
// if DEBUG_RA is 1 normal output messages
|
// if DEBUG_RA is 1 normal output messages
|
||||||
// if DEBUG_RA is 2 extensive debug info for each instr
|
// if DEBUG_RA is 2 extensive debug info for each instr
|
||||||
@ -15,6 +13,6 @@ enum RegAllocDebugLevel_t {
|
|||||||
RA_DEBUG_Verbose = 2,
|
RA_DEBUG_Verbose = 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern cl::Enum<RegAllocDebugLevel_t> DEBUG_RA;
|
extern RegAllocDebugLevel_t DEBUG_RA;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user