diff options
author | Chris Lattner <sabre@nondot.org> | 2002-07-22 02:10:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-07-22 02:10:13 +0000 |
commit | f5cad15a67707e0e7cff7619a446992c3f9d1907 (patch) | |
tree | 38763d3caf6596aac0b4e22edd3fd99e43a5f617 /llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp | |
parent | bf30a91f947fae583d5394035a8a52863cbbd3ae (diff) | |
download | bcm5719-llvm-f5cad15a67707e0e7cff7619a446992c3f9d1907.tar.gz bcm5719-llvm-f5cad15a67707e0e7cff7619a446992c3f9d1907.zip |
*** empty log message ***
llvm-svn: 2985
Diffstat (limited to 'llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp')
-rw-r--r-- | llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp index 6ea37247d09..1d4c18058f3 100644 --- a/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp +++ b/llvm/lib/CodeGen/InstrSched/InstrScheduling.cpp @@ -21,13 +21,16 @@ using std::vector; SchedDebugLevel_t SchedDebugLevel; -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"), - clEnumValN(Sched_PrintMachineCode, "y", "print machine code after scheduling"), - clEnumValN(Sched_PrintSchedTrace, "t", "print trace of scheduling actions"), - clEnumValN(Sched_PrintSchedGraphs, "g", "print scheduling graphs"), 0); +static cl::opt<SchedDebugLevel_t, true> +SDL_opt("dsched", cl::Hidden, cl::location(SchedDebugLevel), + cl::desc("enable instruction scheduling debugging information"), + cl::values( + clEnumValN(Sched_NoDebugInfo, "n", "disable debug output"), + clEnumValN(Sched_Disable, "off", "disable instruction scheduling"), + clEnumValN(Sched_PrintMachineCode, "y", "print machine code after scheduling"), + clEnumValN(Sched_PrintSchedTrace, "t", "print trace of scheduling actions"), + clEnumValN(Sched_PrintSchedGraphs, "g", "print scheduling graphs"), + 0)); //************************* Internal Data Types *****************************/ |