summaryrefslogtreecommitdiff
path: root/lib/Target/SparcV9/InstrSched/SchedPriorities.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-02-04 02:44:20 +0000
committerChris Lattner <sabre@nondot.org>2002-02-04 02:44:20 +0000
commit77f66c131dd931b2a04c43f72068955a047bb2a4 (patch)
tree4656614f9fd47ce78b558f958ee7044d0e356b3d /lib/Target/SparcV9/InstrSched/SchedPriorities.h
parent6b04e71fc981e1fce02443f26e8fee370c86848e (diff)
downloadllvm-77f66c131dd931b2a04c43f72068955a047bb2a4.tar.gz
llvm-77f66c131dd931b2a04c43f72068955a047bb2a4.tar.bz2
llvm-77f66c131dd931b2a04c43f72068955a047bb2a4.tar.xz
* Move command line parsing debug stuff to InstrScheduling internal header file
SchedPriorities.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1669 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SparcV9/InstrSched/SchedPriorities.h')
-rw-r--r--lib/Target/SparcV9/InstrSched/SchedPriorities.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/Target/SparcV9/InstrSched/SchedPriorities.h b/lib/Target/SparcV9/InstrSched/SchedPriorities.h
index b236e0ab64..7cbd0d1259 100644
--- a/lib/Target/SparcV9/InstrSched/SchedPriorities.h
+++ b/lib/Target/SparcV9/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;