summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-05-22 17:08:27 +0000
committerChris Lattner <sabre@nondot.org>2002-05-22 17:08:27 +0000
commitafc86e9a358cd6f94ae46394c69a048015ae74ef (patch)
tree89f264cb9632fe4348d6ddcc4ce5d97ab0542346 /llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
parent6264c1c0ab4c0a04ad81cce09a4c08dac38129a0 (diff)
downloadbcm5719-llvm-afc86e9a358cd6f94ae46394c69a048015ae74ef.tar.gz
bcm5719-llvm-afc86e9a358cd6f94ae46394c69a048015ae74ef.zip
Move debug options out of header files so that the header does not have
to #include CommandLine.h. llvm-svn: 2712
Diffstat (limited to 'llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp')
-rw-r--r--llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
index 0a6d1ce3539..2d2bc147268 100644
--- a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
+++ b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp
@@ -13,13 +13,14 @@
#include "llvm/Target/TargetMachine.h"
#include "llvm/BasicBlock.h"
#include "llvm/Instruction.h"
+#include "Support/CommandLine.h"
#include <algorithm>
using std::cerr;
using std::vector;
-//************************* External Data Types *****************************/
+SchedDebugLevel_t SchedDebugLevel;
-cl::Enum<enum SchedDebugLevel_t> SchedDebugLevel("dsched", cl::Hidden,
+static cl::Enum<enum SchedDebugLevel_t> Opt(SchedDebugLevel,"dsched",cl::Hidden,
"enable instruction scheduling debugging information",
clEnumValN(Sched_NoDebugInfo, "n", "disable debug output"),
clEnumValN(Sched_Disable, "off", "disable instruction scheduling"),
OpenPOWER on IntegriCloud