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
This commit is contained in:
Chris Lattner 2001-06-27 23:37:58 +00:00
parent b351ab8c1b
commit 241b064267

View File

@ -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) {