diff options
author | Chris Lattner <sabre@nondot.org> | 2001-06-27 23:37:58 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-06-27 23:37:58 +0000 |
commit | bef00adb40276c6e3e8f162d6f6fc5ff7b4ecca5 (patch) | |
tree | 02edb915a33003fd36a645bf2c951a1ca53d7aec | |
parent | e32de63e079293f6ff170861d208e9bc27a10448 (diff) | |
download | bcm5719-llvm-bef00adb40276c6e3e8f162d6f6fc5ff7b4ecca5.tar.gz bcm5719-llvm-bef00adb40276c6e3e8f162d6f6fc5ff7b4ecca5.zip |
Add command line arguments for Constant Pool Merging & Sparse Conditional Constant Prop
llvm-svn: 94
-rw-r--r-- | llvm/tools/opt/opt.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/llvm/tools/opt/opt.cpp b/llvm/tools/opt/opt.cpp index 100a753df4a..7bae1d8190d 100644 --- a/llvm/tools/opt/opt.cpp +++ b/llvm/tools/opt/opt.cpp @@ -31,12 +31,14 @@ struct { const string ArgName, Name; bool (*OptPtr)(Module *C); } OptTable[] = { - { "-dce", "Dead Code Elimination", DoDeadCodeElimination }, - { "-constprop","Constant Propogation", DoConstantPropogation }, - { "-inline" ,"Method Inlining", DoMethodInlining }, - { "-strip" ,"Strip Symbols", DoSymbolStripping }, - { "-mstrip" ,"Strip Module Symbols", DoFullSymbolStripping }, - { "-indvars" ,"Simplify Induction Vars", DoInductionVariableCannonicalize }, + { "-dce" , "Dead Code Elimination", DoDeadCodeElimination }, + { "-constprop" , "Constant Propogation", DoConstantPropogation }, + { "-inline" , "Method Inlining", DoMethodInlining }, + { "-strip" , "Strip Symbols", DoSymbolStripping }, + { "-mstrip" , "Strip Module Symbols", DoFullSymbolStripping }, + { "-indvars" , "Simplify Induction Vars",DoInductionVariableCannonicalize }, + { "-sccp" , "Sparse Conditional Constant Prop", DoSCCP<Module> }, + { "-cpm" , "Constant Pool Merging", DoConstantPoolMerging }, }; int main(int argc, char **argv) { |