mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 06:04:47 +00:00
CallGraphSCC passes implicity require CallGraph analysis.
llvm-svn: 116443
This commit is contained in:
parent
2ea9b016d8
commit
c6c23bbf04
@ -87,6 +87,7 @@ char ArgPromotion::ID = 0;
|
||||
INITIALIZE_PASS_BEGIN(ArgPromotion, "argpromotion",
|
||||
"Promote 'by reference' arguments to scalars", false, false)
|
||||
INITIALIZE_AG_DEPENDENCY(AliasAnalysis)
|
||||
INITIALIZE_AG_DEPENDENCY(CallGraph)
|
||||
INITIALIZE_PASS_END(ArgPromotion, "argpromotion",
|
||||
"Promote 'by reference' arguments to scalars", false, false)
|
||||
|
||||
|
@ -69,7 +69,10 @@ namespace {
|
||||
}
|
||||
|
||||
char FunctionAttrs::ID = 0;
|
||||
INITIALIZE_PASS(FunctionAttrs, "functionattrs",
|
||||
INITIALIZE_PASS_BEGIN(FunctionAttrs, "functionattrs",
|
||||
"Deduce function attributes", false, false)
|
||||
INITIALIZE_AG_DEPENDENCY(CallGraph)
|
||||
INITIALIZE_PASS_END(FunctionAttrs, "functionattrs",
|
||||
"Deduce function attributes", false, false)
|
||||
|
||||
Pass *llvm::createFunctionAttrsPass() { return new FunctionAttrs(); }
|
||||
|
@ -56,7 +56,10 @@ namespace {
|
||||
}
|
||||
|
||||
char SimpleInliner::ID = 0;
|
||||
INITIALIZE_PASS(SimpleInliner, "inline",
|
||||
INITIALIZE_PASS_BEGIN(SimpleInliner, "inline",
|
||||
"Function Integration/Inlining", false, false)
|
||||
INITIALIZE_AG_DEPENDENCY(CallGraph)
|
||||
INITIALIZE_PASS_END(SimpleInliner, "inline",
|
||||
"Function Integration/Inlining", false, false)
|
||||
|
||||
Pass *llvm::createFunctionInliningPass() { return new SimpleInliner(); }
|
||||
|
@ -48,7 +48,10 @@ namespace {
|
||||
}
|
||||
|
||||
char PruneEH::ID = 0;
|
||||
INITIALIZE_PASS(PruneEH, "prune-eh",
|
||||
INITIALIZE_PASS_BEGIN(PruneEH, "prune-eh",
|
||||
"Remove unused exception handling info", false, false)
|
||||
INITIALIZE_AG_DEPENDENCY(CallGraph)
|
||||
INITIALIZE_PASS_END(PruneEH, "prune-eh",
|
||||
"Remove unused exception handling info", false, false)
|
||||
|
||||
Pass *llvm::createPruneEHPass() { return new PruneEH(); }
|
||||
|
@ -61,7 +61,10 @@ namespace {
|
||||
}
|
||||
|
||||
char SRETPromotion::ID = 0;
|
||||
INITIALIZE_PASS(SRETPromotion, "sretpromotion",
|
||||
INITIALIZE_PASS_BEGIN(SRETPromotion, "sretpromotion",
|
||||
"Promote sret arguments to multiple ret values", false, false)
|
||||
INITIALIZE_AG_DEPENDENCY(CallGraph)
|
||||
INITIALIZE_PASS_END(SRETPromotion, "sretpromotion",
|
||||
"Promote sret arguments to multiple ret values", false, false)
|
||||
|
||||
Pass *llvm::createStructRetPromotionPass() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user