mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-07 11:33:44 +00:00
Break RA_DEBUG option into several levels to get better output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3722 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
67aa2e235d
commit
7e914a967d
23
include/llvm/CodeGen/RegAllocCommon.h
Normal file
23
include/llvm/CodeGen/RegAllocCommon.h
Normal file
@ -0,0 +1,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
|
23
lib/CodeGen/RegAlloc/RegAllocCommon.h
Normal file
23
lib/CodeGen/RegAlloc/RegAllocCommon.h
Normal file
@ -0,0 +1,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
|
23
lib/Target/SparcV9/RegAlloc/RegAllocCommon.h
Normal file
23
lib/Target/SparcV9/RegAlloc/RegAllocCommon.h
Normal file
@ -0,0 +1,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
|
Loading…
Reference in New Issue
Block a user