aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/SparcV9/RegAlloc/RegAllocCommon.h
blob: 02b333113216ff362d990f5abd83ba07f93da927 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21

#include "Support/CommandLine.h"

#ifndef REG_ALLOC_COMMON_H
#define  REG_ALLOC_COMMON_H

// THIS IS NOW SPECIFIED VIA A COMMANDLINE ARGUMENT TO LLC
//
// 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

enum RegAllocDebugLevel_t {
  RA_DEBUG_None    = 0,
  RA_DEBUG_Normal  = 1,
  RA_DEBUG_Verbose = 2,
};

extern cl::Enum<RegAllocDebugLevel_t> DEBUG_RA;

#endif