/external/llvm/unittests/Analysis/ |
D | LoopPassManagerTest.cpp | 169 LoopPassManager LPM; in TEST_F() local 170 LPM.addPass(TestLoopPass(VisitedLoops1, AnalyzedBlockCount1)); in TEST_F() 172 FPM.addPass(createFunctionToLoopPassAdaptor(std::move(LPM))); in TEST_F() 179 LoopPassManager LPM; in TEST_F() local 180 LPM.addPass(TestLoopInvalidatingPass("loop.g.0")); in TEST_F() 181 LPM.addPass(TestLoopPass(VisitedLoops2, AnalyzedBlockCount2, in TEST_F() 184 FPM.addPass(createFunctionToLoopPassAdaptor(std::move(LPM))); in TEST_F()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 69 LPPassManager *LPM; member in __anon73635aad0111::LoopUnswitch 100 bool runOnLoop(Loop *L, LPPassManager &LPM); 210 LPM = &LPM_Ref; in runOnLoop() 466 LoopInfo *LI, LPPassManager *LPM) { in CloneLoop() argument 468 LPM->insertLoop(New, PL); in CloneLoop() 478 CloneLoop(*I, New, VM, LI, LPM); in CloneLoop() 542 LPM->deleteSimpleAnalysisValue(loopPreheader->getTerminator(), L); in UnswitchTrivialCondition() 626 LPM->cloneBasicBlockSimpleAnalysis(LoopBlocks[i], NewBB, L); in UnswitchNontrivialCondition() 635 Loop *NewLoop = CloneLoop(L, L->getParentLoop(), VMap, LI, LPM); in UnswitchNontrivialCondition() 691 LPM->deleteSimpleAnalysisValue(OldBR, L); in UnswitchNontrivialCondition() [all …]
|
D | LoopUnrollPass.cpp | 76 bool runOnLoop(Loop *L, LPPassManager &LPM); 129 bool LoopUnroll::runOnLoop(Loop *L, LPPassManager &LPM) { in runOnLoop() argument 210 if (!UnrollLoop(L, Count, TripCount, TripMultiple, LI, &LPM)) in runOnLoop()
|
D | LoopDeletion.cpp | 37 bool runOnLoop(Loop* L, LPPassManager& LPM); 130 bool LoopDeletion::runOnLoop(Loop* L, LPPassManager& LPM) { in runOnLoop() argument 242 LPM.deleteLoopFromQueue(L); in runOnLoop()
|
D | LoopRotation.cpp | 54 bool runOnLoop(Loop *L, LPPassManager &LPM); 73 bool LoopRotate::runOnLoop(Loop *L, LPPassManager &LPM) { in runOnLoop() argument
|
D | IndVarSimplify.cpp | 92 virtual bool runOnLoop(Loop *L, LPPassManager &LPM); 120 void SimplifyAndExtend(Loop *L, SCEVExpander &Rewriter, LPPassManager &LPM); 1185 LPPassManager &LPM) { in SimplifyAndExtend() argument 1209 Changed |= simplifyUsersOfIV(CurrIV, SE, &LPM, DeadInsts, &WIV); in SimplifyAndExtend() 1737 bool IndVarSimplify::runOnLoop(Loop *L, LPPassManager &LPM) { in runOnLoop() argument 1779 SimplifyAndExtend(L, Rewriter, LPM); in runOnLoop() 1793 Changed |= simplifyIVUsers(IU, SE, &LPM, DeadInsts); in runOnLoop()
|
D | LoopInstSimplify.cpp | 63 bool LoopInstSimplify::runOnLoop(Loop *L, LPPassManager &LPM) { in runOnLoop() argument
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 57 SimplifyIndvar(Loop *Loop, ScalarEvolution *SE, LPPassManager *LPM, in SimplifyIndvar() argument 60 LI(LPM->getAnalysisIfAvailable<LoopInfo>()), in SimplifyIndvar() 63 TD(LPM->getAnalysisIfAvailable<TargetData>()), in SimplifyIndvar() 380 bool simplifyUsersOfIV(PHINode *CurrIV, ScalarEvolution *SE, LPPassManager *LPM, in simplifyUsersOfIV() argument 383 LoopInfo *LI = &LPM->getAnalysis<LoopInfo>(); in simplifyUsersOfIV() 384 SimplifyIndvar SIV(LI->getLoopFor(CurrIV->getParent()), SE, LPM, Dead); in simplifyUsersOfIV() 391 bool simplifyLoopIVs(Loop *L, ScalarEvolution *SE, LPPassManager *LPM, in simplifyLoopIVs() argument 395 Changed |= simplifyUsersOfIV(cast<PHINode>(I), SE, LPM, Dead); in simplifyLoopIVs() 405 bool simplifyIVUsers(IVUsers *IU, ScalarEvolution *SE, LPPassManager *LPM, in simplifyIVUsers() argument 407 SimplifyIndvar SIV(IU->getLoop(), SE, LPM, Dead); in simplifyIVUsers()
|
D | LoopUnroll.cpp | 64 LPPassManager *LPM) { in FoldBlockIntoPredecessor() argument 98 if (ScalarEvolution *SE = LPM->getAnalysisIfAvailable<ScalarEvolution>()) { in FoldBlockIntoPredecessor() 138 unsigned TripMultiple, LoopInfo *LI, LPPassManager *LPM) { in UnrollLoop() argument 170 ScalarEvolution *SE = LPM->getAnalysisIfAvailable<ScalarEvolution>(); in UnrollLoop() 377 if (BasicBlock *Fold = FoldBlockIntoPredecessor(Dest, LI, LPM)) in UnrollLoop() 384 if (DominatorTree *DT = LPM->getAnalysisIfAvailable<DominatorTree>()) in UnrollLoop() 390 simplifyLoopIVs(L, SE, LPM, DeadInsts); in UnrollLoop() 421 if (CompletelyUnroll && LPM != NULL) in UnrollLoop() 422 LPM->deleteLoopFromQueue(L); in UnrollLoop()
|
D | LoopSimplify.cpp | 80 virtual bool runOnLoop(Loop *L, LPPassManager &LPM); 99 bool ProcessLoop(Loop *L, LPPassManager &LPM); 102 Loop *SeparateNestedLoop(Loop *L, LPPassManager &LPM); 125 bool LoopSimplify::runOnLoop(Loop *l, LPPassManager &LPM) { in runOnLoop() argument 133 Changed |= ProcessLoop(L, LPM); in runOnLoop() 141 bool LoopSimplify::ProcessLoop(Loop *L, LPPassManager &LPM) { in ProcessLoop() argument 243 if (SeparateNestedLoop(L, LPM)) { in ProcessLoop() 532 Loop *LoopSimplify::SeparateNestedLoop(Loop *L, LPPassManager &LPM) { in SeparateNestedLoop() argument 580 LPM.insertLoopIntoQueue(NewOuter); in SeparateNestedLoop()
|
D | LCSSA.cpp | 60 virtual bool runOnLoop(Loop *L, LPPassManager &LPM); 116 bool LCSSA::runOnLoop(Loop *TheLoop, LPPassManager &LPM) { in runOnLoop() argument
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | SimplifyIndVar.h | 42 bool simplifyUsersOfIV(PHINode *CurrIV, ScalarEvolution *SE, LPPassManager *LPM, 47 bool simplifyLoopIVs(Loop *L, ScalarEvolution *SE, LPPassManager *LPM, 53 bool simplifyIVUsers(IVUsers *IU, ScalarEvolution *SE, LPPassManager *LPM,
|
D | UnrollLoop.h | 26 unsigned TripMultiple, LoopInfo* LI, LPPassManager* LPM);
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 168 LPPassManager *LPM; member in __anon4dae7b810111::LoopUnswitch 211 bool runOnLoop(Loop *L, LPPassManager &LPM) override; 451 LPM = &LPM_Ref; in runOnLoop() 729 LoopInfo *LI, LPPassManager *LPM) { in CloneLoop() argument 730 Loop &New = LPM->addLoop(PL); in CloneLoop() 740 CloneLoop(I, &New, VM, LI, LPM); in CloneLoop() 846 LPM->deleteSimpleAnalysisValue(loopPreheader->getTerminator(), L); in UnswitchTrivialCondition() 1072 LPM->cloneBasicBlockSimpleAnalysis(LoopBlocks[i], NewBB, L); in UnswitchNontrivialCondition() 1086 Loop *NewLoop = CloneLoop(L, L->getParentLoop(), VMap, LI, LPM); in UnswitchNontrivialCondition() 1147 LPM->deleteSimpleAnalysisValue(OldBR, L); in UnswitchNontrivialCondition() [all …]
|
D | LoopVersioningLICM.cpp | 150 bool runOnLoop(Loop *L, LPPassManager &LPM) override; 507 bool LoopVersioningLICM::runOnLoop(Loop *L, LPPassManager &LPM) { in runOnLoop() argument
|
/external/llvm/include/llvm/Passes/ |
D | PassBuilder.h | 249 bool parseLoopPassName(LoopPassManager &LPM, StringRef Name); 251 bool parseLoopPassPipeline(LoopPassManager &LPM, StringRef &PipelineText,
|
/external/llvm/lib/Passes/ |
D | PassBuilder.cpp | 453 bool PassBuilder::parseLoopPassPipeline(LoopPassManager &LPM, in parseLoopPassPipeline() argument 472 LPM.addPass(std::move(NestedLPM)); in parseLoopPassPipeline() 476 if (!parseLoopPassName(LPM, PipelineText.substr(0, End))) in parseLoopPassPipeline() 726 LoopPassManager LPM(DebugLogging); in parsePassPipeline() local 727 if (!parseLoopPassPipeline(LPM, PipelineText, VerifyEachPass, in parsePassPipeline() 732 FPM.addPass(createFunctionToLoopPassAdaptor(std::move(LPM))); in parsePassPipeline()
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | LoopPass.h | 40 virtual bool runOnLoop(Loop *L, LPPassManager &LPM) = 0; 43 virtual bool doInitialization(Loop *L, LPPassManager &LPM) { in doInitialization() argument
|
D | IVUsers.h | 135 virtual bool runOnLoop(Loop *L, LPPassManager &LPM);
|
/external/llvm/include/llvm/Analysis/ |
D | LoopPass.h | 40 virtual bool runOnLoop(Loop *L, LPPassManager &LPM) = 0; 46 virtual bool doInitialization(Loop *L, LPPassManager &LPM) { in doInitialization() argument
|
D | IVUsers.h | 138 bool runOnLoop(Loop *L, LPPassManager &LPM) override;
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | LoopExtractor.cpp | 45 virtual bool runOnLoop(Loop *L, LPPassManager &LPM); 81 bool LoopExtractor::runOnLoop(Loop *L, LPPassManager &LPM) { in runOnLoop() argument 139 LPM.deleteLoopFromQueue(L); in runOnLoop()
|
D | PassManagerBuilder.cpp | 340 PassManagerBase *LPM = unwrap(PM); in LLVMPassManagerBuilderPopulateLTOPassManager() local 341 Builder->populateLTOPassManager(*LPM, Internalize, RunInliner); in LLVMPassManagerBuilderPopulateLTOPassManager()
|
/external/swiftshader/third_party/LLVM/unittests/VMCore/ |
D | PassManagerTest.cpp | 201 virtual bool doInitialization(Loop* L, LPPassManager &LPM) { in doInitialization() 206 virtual bool runOnLoop(Loop *L, LPPassManager &LPM) { in runOnLoop()
|
/external/llvm/unittests/IR/ |
D | LegacyPassManagerTest.cpp | 208 bool doInitialization(Loop* L, LPPassManager &LPM) override { in doInitialization() 213 bool runOnLoop(Loop *L, LPPassManager &LPM) override { in runOnLoop()
|