| Vikram S. Adve | c9f1e71 | 2002-09-14 22:18:37 +0000 | [diff] [blame] | 1 | //===-- RegAllocCommon.h --------------------------------------------------===// |
| 2 | // |
| John Criswell | 29265fe | 2003-10-21 15:17:13 +0000 | [diff] [blame] | 3 | // 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. Adve | c9f1e71 | 2002-09-14 22:18:37 +0000 | [diff] [blame] | 10 | // Shared declarations for register allocation. |
| 11 | // |
| 12 | //===----------------------------------------------------------------------===// |
| 13 | |
| Brian Gaeke | 3a0a5fc | 2003-09-21 02:31:37 +0000 | [diff] [blame] | 14 | #ifndef REGALLOCCOMMON_H |
| 15 | #define REGALLOCCOMMON_H |
| Vikram S. Adve | c9f1e71 | 2002-09-14 22:18:37 +0000 | [diff] [blame] | 16 | |
| Vikram S. Adve | c9f1e71 | 2002-09-14 22:18:37 +0000 | [diff] [blame] | 17 | enum 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 | |
| 26 | extern RegAllocDebugLevel_t DEBUG_RA; |
| 27 | |
| 28 | #endif |