1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Expose funcresolve pass through opt

llvm-svn: 2231
This commit is contained in:
Chris Lattner 2002-04-12 18:21:13 +00:00
parent ed2a2c0c57
commit 7b28f092cb

View File

@ -40,7 +40,7 @@ enum Opts {
dce, die, constprop, inlining, constmerge, strip, mstrip, mergereturn,
// Miscellaneous Transformations
raiseallocs, cleangcc, lowerrefs,
raiseallocs, funcresolve, cleangcc, lowerrefs,
// Printing and verifying...
print, verify,
@ -91,12 +91,14 @@ struct {
{ raiseallocs, createRaiseAllocationsPass },
{ cleangcc , createCleanupGCCOutputPass },
{ funcresolve, createFunctionResolvingPass },
{ globaldce , createGlobalDCEPass },
{ swapstructs, createSwapElementsPass },
{ sortstructs, createSortElementsPass },
{ poolalloc , createPoolAllocatePass },
};
// Command line option handling code...
//
cl::String InputFilename ("", "Load <arg> file to optimize", cl::NoFlags, "-");
@ -128,6 +130,7 @@ cl::EnumList<enum Opts> OptimizationList(cl::NoFlags,
clEnumVal(raiseallocs, "Raise allocations from calls to instructions"),
clEnumVal(cleangcc , "Cleanup GCC Output"),
clEnumVal(funcresolve, "Resolve calls to foo(...) to foo(<concrete types>)"),
clEnumVal(raise , "Raise to Higher Level"),
clEnumVal(trace , "Insert BB & Method trace code"),
clEnumVal(tracem , "Insert Method trace code only"),