diff options
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/InstrSched/SchedPriorities.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/CodeGen/InstrSched/SchedPriorities.h b/lib/CodeGen/InstrSched/SchedPriorities.h index b236e0ab64..7cbd0d1259 100644 --- a/lib/CodeGen/InstrSched/SchedPriorities.h +++ b/lib/CodeGen/InstrSched/SchedPriorities.h @@ -25,13 +25,22 @@ #include "llvm/CodeGen/InstrScheduling.h" #include "llvm/Analysis/LiveVar/MethodLiveVarInfo.h" #include "llvm/Target/MachineSchedInfo.h" +#include "Support/CommandLine.h" #include <list> -//#include <ostream> class Method; class MachineInstr; class SchedulingManager; +// Debug option levels for instruction scheduling +enum SchedDebugLevel_t { + Sched_NoDebugInfo, + Sched_PrintMachineCode, + Sched_PrintSchedTrace, + Sched_PrintSchedGraphs, +}; + +extern cl::Enum<SchedDebugLevel_t> SchedDebugLevel; struct NodeDelayPair { const SchedGraphNode* node; |