Expose the pi node insertion pass.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2594 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-05-10 05:41:49 +00:00
parent 87fea85934
commit 2c0f3d23ae

View File

@ -42,7 +42,7 @@ enum Opts {
print, printm, verify,
// More powerful optimizations
indvars, instcombine, sccp, adce, raise, reassociate, mem2reg,
indvars, instcombine, sccp, adce, raise, reassociate, mem2reg, pinodes,
// Instrumentation
trace, tracem, paths,
@ -82,7 +82,8 @@ struct {
{ raise , createRaisePointerReferencesPass },
{ reassociate, createReassociatePass },
{ mem2reg , createPromoteMemoryToRegister },
{ lowerrefs, createDecomposeMultiDimRefsPass },
{ pinodes , createPiNodeInsertionPass },
{ lowerrefs , createDecomposeMultiDimRefsPass },
{ trace , createTraceValuesPassForBasicBlocks },
{ tracem , createTraceValuesPassForFunction },
@ -129,6 +130,7 @@ cl::EnumList<enum Opts> OptimizationList(cl::NoFlags,
clEnumVal(adce , "Aggressive DCE"),
clEnumVal(reassociate, "Reassociate expressions"),
clEnumVal(mem2reg , "Promote alloca locations to registers"),
clEnumVal(pinodes , "Insert Pi nodes after definitions"),
clEnumVal(internalize, "Mark all fn's internal except for main"),
clEnumVal(globaldce , "Remove unreachable globals"),