File tree 4 files changed +15
-93
lines changed
4 files changed +15
-93
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,8 @@ void LazyBlockFrequencyInfoPass::getAnalysisUsage(AnalysisUsage &AU) const {
45
45
// We require DT so it's available when LI is available. The LI updating code
46
46
// asserts that DT is also present so if we don't make sure that we have DT
47
47
// here, that assert will trigger.
48
- AU.addRequiredTransitive <DominatorTreeWrapperPass>();
49
- AU.addRequiredTransitive <LoopInfoWrapperPass>();
48
+ AU.addRequired <DominatorTreeWrapperPass>();
49
+ AU.addRequired <LoopInfoWrapperPass>();
50
50
AU.setPreservesAll ();
51
51
}
52
52
@@ -61,8 +61,8 @@ bool LazyBlockFrequencyInfoPass::runOnFunction(Function &F) {
61
61
62
62
void LazyBlockFrequencyInfoPass::getLazyBFIAnalysisUsage (AnalysisUsage &AU) {
63
63
LazyBranchProbabilityInfoPass::getLazyBPIAnalysisUsage (AU);
64
- AU.addRequiredTransitive <LazyBlockFrequencyInfoPass>();
65
- AU.addRequiredTransitive <LoopInfoWrapperPass>();
64
+ AU.addRequired <LazyBlockFrequencyInfoPass>();
65
+ AU.addRequired <LoopInfoWrapperPass>();
66
66
}
67
67
68
68
void llvm::initializeLazyBFIPassPass (PassRegistry &Registry) {
Original file line number Diff line number Diff line change @@ -46,9 +46,9 @@ void LazyBranchProbabilityInfoPass::getAnalysisUsage(AnalysisUsage &AU) const {
46
46
// We require DT so it's available when LI is available. The LI updating code
47
47
// asserts that DT is also present so if we don't make sure that we have DT
48
48
// here, that assert will trigger.
49
- AU.addRequiredTransitive <DominatorTreeWrapperPass>();
50
- AU.addRequiredTransitive <LoopInfoWrapperPass>();
51
- AU.addRequiredTransitive <TargetLibraryInfoWrapperPass>();
49
+ AU.addRequired <DominatorTreeWrapperPass>();
50
+ AU.addRequired <LoopInfoWrapperPass>();
51
+ AU.addRequired <TargetLibraryInfoWrapperPass>();
52
52
AU.setPreservesAll ();
53
53
}
54
54
@@ -63,9 +63,9 @@ bool LazyBranchProbabilityInfoPass::runOnFunction(Function &F) {
63
63
}
64
64
65
65
void LazyBranchProbabilityInfoPass::getLazyBPIAnalysisUsage (AnalysisUsage &AU) {
66
- AU.addRequiredTransitive <LazyBranchProbabilityInfoPass>();
67
- AU.addRequiredTransitive <LoopInfoWrapperPass>();
68
- AU.addRequiredTransitive <TargetLibraryInfoWrapperPass>();
66
+ AU.addRequired <LazyBranchProbabilityInfoPass>();
67
+ AU.addRequired <LoopInfoWrapperPass>();
68
+ AU.addRequired <TargetLibraryInfoWrapperPass>();
69
69
}
70
70
71
71
void llvm::initializeLazyBPIPassPass (PassRegistry &Registry) {
Original file line number Diff line number Diff line change @@ -2281,12 +2281,12 @@ bool LoopAccessLegacyAnalysis::runOnFunction(Function &F) {
2281
2281
}
2282
2282
2283
2283
void LoopAccessLegacyAnalysis::getAnalysisUsage (AnalysisUsage &AU) const {
2284
- AU.addRequiredTransitive <ScalarEvolutionWrapperPass>();
2285
- AU.addRequiredTransitive <AAResultsWrapperPass>();
2286
- AU.addRequiredTransitive <DominatorTreeWrapperPass>();
2287
- AU.addRequiredTransitive <LoopInfoWrapperPass>();
2284
+ AU.addRequired <ScalarEvolutionWrapperPass>();
2285
+ AU.addRequired <AAResultsWrapperPass>();
2286
+ AU.addRequired <DominatorTreeWrapperPass>();
2287
+ AU.addRequired <LoopInfoWrapperPass>();
2288
2288
2289
- AU.setPreservesAll ();
2289
+ AU.setPreservesAll ();
2290
2290
}
2291
2291
2292
2292
char LoopAccessLegacyAnalysis::ID = 0 ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments