Searched refs:ExitingBB (Results 1 – 10 of 10) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 163 bool linearFunctionTestReplace(Loop *L, BasicBlock *ExitingBB, 2059 static bool isLoopExitTestBasedOn(Value *V, BasicBlock *ExitingBB) { in isLoopExitTestBasedOn() argument 2060 BranchInst *BI = cast<BranchInst>(ExitingBB->getTerminator()); in isLoopExitTestBasedOn() 2072 static bool needsLFTR(Loop *L, BasicBlock *ExitingBB) { in needsLFTR() argument 2079 BranchInst *BI = cast<BranchInst>(ExitingBB->getTerminator()); in needsLFTR() 2248 static PHINode *FindLoopCounter(Loop *L, BasicBlock *ExitingBB, in FindLoopCounter() argument 2253 Value *Cond = cast<BranchInst>(ExitingBB->getTerminator())->getCondition(); in FindLoopCounter() 2287 if (!isLoopExitTestBasedOn(Phi, ExitingBB) && in FindLoopCounter() 2288 !isLoopExitTestBasedOn(IncPhi, ExitingBB)) in FindLoopCounter() 2301 !mustExecuteUBIfPoisonOnPathTo(Phi, ExitingBB->getTerminator(), DT)) in FindLoopCounter() [all …]
|
D | LoopPredication.cpp | 1009 for (BasicBlock *ExitingBB : ExitingBlocks) { in getMinAnalyzeableBackedgeTakenCount() 1010 const SCEV *ExitCount = SE.getExitCount(L, ExitingBB); in getMinAnalyzeableBackedgeTakenCount() 1013 assert(DT.dominates(ExitingBB, L->getLoopLatch()) && in getMinAnalyzeableBackedgeTakenCount() 1086 for (auto *ExitingBB : ExitingBlocks) { in predicateLoopExits() local 1087 if (LI->getLoopFor(ExitingBB) != L) in predicateLoopExits() 1090 auto *BI = dyn_cast<BranchInst>(ExitingBB->getTerminator()); in predicateLoopExits() 1129 for (BasicBlock *ExitingBB : ExitingBlocks) { in predicateLoopExits() 1133 if (LI->getLoopFor(ExitingBB) != L) in predicateLoopExits() 1137 auto *BI = dyn_cast<BranchInst>(ExitingBB->getTerminator()); in predicateLoopExits() 1145 const SCEV *ExitCount = SE->getExitCount(L, ExitingBB); in predicateLoopExits() [all …]
|
D | LoopUnrollPass.cpp | 619 BasicBlock *ExitingBB, *ExitBB; in analyzeLoopUnrollCost() local 620 std::tie(ExitingBB, ExitBB) = ExitWorklist.pop_back_val(); in analyzeLoopUnrollCost() 627 Value *Op = PN->getIncomingValueForBlock(ExitingBB); in analyzeLoopUnrollCost()
|
D | SimpleLoopUnswitch.cpp | 161 static bool areLoopExitPHIsLoopInvariant(Loop &L, BasicBlock &ExitingBB, in areLoopExitPHIsLoopInvariant() argument 171 if (!L.isLoopInvariant(PN->getIncomingValueForBlock(&ExitingBB))) in areLoopExitPHIsLoopInvariant()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineBlockPlacement.cpp | 480 BlockChain &LoopChain, const MachineBasicBlock *ExitingBB, 2124 MachineBasicBlock *ExitingBB = nullptr; in findBestLoopExit() local 2143 MachineBasicBlock *OldExitingBB = ExitingBB; in findBestLoopExit() 2184 if (!ExitingBB || SuccLoopDepth > BestExitLoopDepth || in findBestLoopExit() 2189 ExitingBB = MBB; in findBestLoopExit() 2195 ExitingBB = OldExitingBB; in findBestLoopExit() 2201 if (!ExitingBB) { in findBestLoopExit() 2215 !BlocksExitingToOuterLoop.count(ExitingBB)) in findBestLoopExit() 2218 LLVM_DEBUG(dbgs() << " Best exiting block: " << getBlockName(ExitingBB) in findBestLoopExit() 2221 return ExitingBB; in findBestLoopExit() [all …]
|
D | ModuloSchedule.cpp | 1734 MachineBasicBlock *ExitingBB = CreateLCSSAExitingBlock(); in peelPrologAndEpilogs() local 1735 EliminateDeadPhis(ExitingBB, MRI, LIS, /*KeepSingleSrcPhi=*/true); in peelPrologAndEpilogs() 1827 EliminateDeadPhis(ExitingBB, MRI, LIS); in peelPrologAndEpilogs()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LoopSimplify.cpp | 615 for (auto *ExitingBB : ExitingBlocks) in simplifyOneLoop() local 616 for (auto *SuccBB : successors(ExitingBB)) { in simplifyOneLoop()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ScalarEvolutionExpander.cpp | 2179 BasicBlock *ExitingBB = L->getExitingBlock(); in isHighCostExpansionHelper() local 2180 if (!ExitingBB) in isHighCostExpansionHelper() 2187 At = &ExitingBB->back(); in isHighCostExpansionHelper()
|
D | ScalarEvolution.cpp | 6106 auto *ExitingBB = L->getExitingBlock(); in isAddRecNeverPoison() local 6108 if (!ExitingBB || !LatchBB || ExitingBB != LatchBB) in isAddRecNeverPoison() 6568 if (BasicBlock *ExitingBB = L->getExitingBlock()) in getSmallConstantTripCount() local 6569 return getSmallConstantTripCount(L, ExitingBB); in getSmallConstantTripCount() 6592 if (BasicBlock *ExitingBB = L->getExitingBlock()) in getSmallConstantTripMultiple() local 6593 return getSmallConstantTripMultiple(L, ExitingBB); in getSmallConstantTripMultiple()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | ScalarEvolution.h | 1582 BasicBlock *ExitingBB,
|