mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
CallGraphSCC passes implicity require CallGraph analysis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116443 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
139788fe6f
commit
ae0a7bc683
@ -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…
Reference in New Issue
Block a user