mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 22:30:13 +00:00
Add command line arguments for Constant Pool Merging & Sparse Conditional Constant Prop
llvm-svn: 94
This commit is contained in:
parent
e32de63e07
commit
bef00adb40
@ -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