blob: 97d102a253ab2134b5038f0fb7c8b09f4cc27ac6 [file] [log] [blame]
Vikram S. Advec9f1e712002-09-14 22:18:37 +00001//===-- RegAllocCommon.h --------------------------------------------------===//
2//
John Criswell29265fe2003-10-21 15:17:13 +00003// The LLVM Compiler Infrastructure
4//
5// This file was developed by the LLVM research group and is distributed under
6// the University of Illinois Open Source License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9//
Vikram S. Advec9f1e712002-09-14 22:18:37 +000010// Shared declarations for register allocation.
11//
12//===----------------------------------------------------------------------===//
13
Brian Gaeke3a0a5fc2003-09-21 02:31:37 +000014#ifndef REGALLOCCOMMON_H
15#define REGALLOCCOMMON_H
Vikram S. Advec9f1e712002-09-14 22:18:37 +000016
Vikram S. Advec9f1e712002-09-14 22:18:37 +000017enum RegAllocDebugLevel_t {
18 RA_DEBUG_None = 0,
19 RA_DEBUG_Results = 1,
20 RA_DEBUG_Coloring = 2,
21 RA_DEBUG_Interference = 3,
22 RA_DEBUG_LiveRanges = 4,
23 RA_DEBUG_Verbose = 5
24};
25
26extern RegAllocDebugLevel_t DEBUG_RA;
27
28#endif