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 | 241b064267c993c1e241caebf719d885773b938f (patch) | |
tree | bd910add9c1a22b0e8ed8aa662b29f3643419e1f | |
parent | b351ab8c1bd3cb2a89b0bcba618b7051ba669c2e (diff) |
Add command line arguments for Constant Pool Merging & Sparse Conditional Constant Prop
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/opt/opt.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp index 100a753df4..7bae1d8190 100644 --- a/tools/opt/opt.cpp +++ b/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) { |