summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit720bc02f18d411d03adf0056d7d8b4e15dd6fa7a (patch)
treeab1365f7930fd313e0ec3a9183a9d725d551db2c /llvm/lib
parente769482fd3738caccbbc9edf5aa9304ab81e805c (diff)
downloadbcm5719-llvm-720bc02f18d411d03adf0056d7d8b4e15dd6fa7a.tar.gz
bcm5719-llvm-720bc02f18d411d03adf0056d7d8b4e15dd6fa7a.zip
* Move command line parsing debug stuff to InstrScheduling internal header file
SchedPriorities.h llvm-svn: 1669
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/InstrSched/SchedPriorities.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/SchedPriorities.h b/llvm/lib/CodeGen/InstrSched/SchedPriorities.h
index b236e0ab64d..7cbd0d12596 100644
--- a/llvm/lib/CodeGen/InstrSched/SchedPriorities.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud