mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
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:
parent
b351ab8c1b
commit
241b064267
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user