2001-09-19 16:26:10 +00:00
|
|
|
|
|
|
|
#include "llvm/Support/CommandLine.h"
|
|
|
|
|
2001-09-08 14:22:50 +00:00
|
|
|
#ifndef REG_ALLOC_COMMON_H
|
|
|
|
#define REG_ALLOC_COMMON_H
|
|
|
|
|
2001-09-19 16:26:10 +00:00
|
|
|
// THIS IS NOW SPECIFIED VIA A COMMANDLINE ARGUMENT TO LLC
|
|
|
|
//
|
2001-09-08 14:22:50 +00:00
|
|
|
// set DEBUG_RA for printing out debug messages
|
|
|
|
// if DEBUG_RA is 1 normal output messages
|
|
|
|
// if DEBUG_RA is 2 extensive debug info for each instr
|
|
|
|
|
2001-09-19 16:26:10 +00:00
|
|
|
enum RegAllocDebugLevel_t {
|
|
|
|
RA_DEBUG_None = 0,
|
|
|
|
RA_DEBUG_Normal = 1,
|
|
|
|
RA_DEBUG_Verbose = 2,
|
|
|
|
};
|
|
|
|
|
|
|
|
extern cl::Enum<RegAllocDebugLevel_t> DEBUG_RA;
|
2001-09-08 14:22:50 +00:00
|
|
|
|
|
|
|
#endif
|