aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/RegAlloc/RegAllocCommon.h
blob: f7c30e6d58f3211a0077701056b14ac03c464fe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//===-- RegAllocCommon.h --------------------------------------------------===//
// 
//  Shared declarations for register allocation.
// 
//===----------------------------------------------------------------------===//

#ifndef LLVM_CODEGEN_REGALLOCCOMMON_H
#define LLVM_CODEGEN_REGALLOCCOMMON_H

#include "Support/CommandLine.h"

enum RegAllocDebugLevel_t {
  RA_DEBUG_None         = 0,
  RA_DEBUG_Results      = 1,
  RA_DEBUG_Coloring     = 2,
  RA_DEBUG_Interference = 3,
  RA_DEBUG_LiveRanges   = 4,
  RA_DEBUG_Verbose      = 5
};

extern RegAllocDebugLevel_t DEBUG_RA;

#endif