diff options
Diffstat (limited to 'llvm/lib/Target/Sparc/RegAlloc/RegAllocCommon.h')
-rw-r--r-- | llvm/lib/Target/Sparc/RegAlloc/RegAllocCommon.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/RegAlloc/RegAllocCommon.h b/llvm/lib/Target/Sparc/RegAlloc/RegAllocCommon.h new file mode 100644 index 00000000000..7dd86b205af --- /dev/null +++ b/llvm/lib/Target/Sparc/RegAlloc/RegAllocCommon.h @@ -0,0 +1,32 @@ +//===-- RegAllocCommon.h --------------------------------------------------===// +// +// The LLVM Compiler Infrastructure +// +// This file was developed by the LLVM research group and is distributed under +// the University of Illinois Open Source License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// Shared declarations for register allocation. +// +//===----------------------------------------------------------------------===// + +#ifndef REGALLOCCOMMON_H +#define REGALLOCCOMMON_H + +namespace llvm { + +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; + +} // End llvm namespace + +#endif |