Home
last modified time | relevance | path

Searched refs:LPM (Results 1 – 25 of 47) sorted by relevance

12

/external/llvm/unittests/Analysis/
DLoopPassManagerTest.cpp169 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/
DLoopUnswitch.cpp69 LPPassManager *LPM; member in __anon02c629ef0111::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 …]
DLoopUnrollPass.cpp76 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()
DLoopDeletion.cpp37 bool runOnLoop(Loop* L, LPPassManager& LPM);
130 bool LoopDeletion::runOnLoop(Loop* L, LPPassManager& LPM) { in runOnLoop() argument
242 LPM.deleteLoopFromQueue(L); in runOnLoop()
DLoopRotation.cpp54 bool runOnLoop(Loop *L, LPPassManager &LPM);
73 bool LoopRotate::runOnLoop(Loop *L, LPPassManager &LPM) { in runOnLoop() argument
DIndVarSimplify.cpp92 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()
DLoopInstSimplify.cpp63 bool LoopInstSimplify::runOnLoop(Loop *L, LPPassManager &LPM) { in runOnLoop() argument
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyIndVar.cpp57 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()
DLoopUnroll.cpp64 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()
DLoopSimplify.cpp80 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()
DLCSSA.cpp60 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/
DSimplifyIndVar.h42 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,
DUnrollLoop.h26 unsigned TripMultiple, LoopInfo* LI, LPPassManager* LPM);
/external/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp168 LPPassManager *LPM; member in __anonaec0e4c30111::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 …]
DLoopVersioningLICM.cpp150 bool runOnLoop(Loop *L, LPPassManager &LPM) override;
507 bool LoopVersioningLICM::runOnLoop(Loop *L, LPPassManager &LPM) { in runOnLoop() argument
/external/llvm/include/llvm/Passes/
DPassBuilder.h249 bool parseLoopPassName(LoopPassManager &LPM, StringRef Name);
251 bool parseLoopPassPipeline(LoopPassManager &LPM, StringRef &PipelineText,
/external/llvm/include/llvm/Analysis/
DLoopPass.h40 virtual bool runOnLoop(Loop *L, LPPassManager &LPM) = 0;
46 virtual bool doInitialization(Loop *L, LPPassManager &LPM) { in doInitialization() argument
DIVUsers.h138 bool runOnLoop(Loop *L, LPPassManager &LPM) override;
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DLoopPass.h40 virtual bool runOnLoop(Loop *L, LPPassManager &LPM) = 0;
43 virtual bool doInitialization(Loop *L, LPPassManager &LPM) { in doInitialization() argument
DIVUsers.h135 virtual bool runOnLoop(Loop *L, LPPassManager &LPM);
/external/llvm/lib/Passes/
DPassBuilder.cpp453 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/lib/Transforms/IPO/
DLoopExtractor.cpp45 virtual bool runOnLoop(Loop *L, LPPassManager &LPM);
81 bool LoopExtractor::runOnLoop(Loop *L, LPPassManager &LPM) { in runOnLoop() argument
139 LPM.deleteLoopFromQueue(L); in runOnLoop()
DPassManagerBuilder.cpp340 PassManagerBase *LPM = unwrap(PM); in LLVMPassManagerBuilderPopulateLTOPassManager() local
341 Builder->populateLTOPassManager(*LPM, Internalize, RunInliner); in LLVMPassManagerBuilderPopulateLTOPassManager()
/external/swiftshader/third_party/LLVM/unittests/VMCore/
DPassManagerTest.cpp201 virtual bool doInitialization(Loop* L, LPPassManager &LPM) { in doInitialization()
206 virtual bool runOnLoop(Loop *L, LPPassManager &LPM) { in runOnLoop()
/external/llvm/unittests/IR/
DLegacyPassManagerTest.cpp208 bool doInitialization(Loop* L, LPPassManager &LPM) override { in doInitialization()
213 bool runOnLoop(Loop *L, LPPassManager &LPM) override { in runOnLoop()

12