Home
last modified time | relevance | path

Searched refs:getLoopLatch (Results 1 – 25 of 77) sorted by relevance

1234

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp301 if (L->getLoopLatch() == nullptr || L->getLoopPredecessor() == nullptr) in getInductionVariable()
653 BasicBlock *OuterLoopLatch = OuterLoop->getLoopLatch(); in tightlyNested()
708 if (!L->getLoopLatch() || !L->getLoopPredecessor()) in findInductionAndReductions()
746 BasicBlock *InnerLoopLatch = InnerLoop->getLoopLatch(); in currentLimitations()
751 OuterLoop->getExitingBlock() != OuterLoop->getLoopLatch() || in currentLimitations()
753 !isa<BranchInst>(OuterLoop->getLoopLatch()->getTerminator())) { in currentLimitations()
964 if (!IncomingI || IncomingI->getParent() != OuterLoop->getLoopLatch()) in areLoopExitPHIsSupported()
977 if (OuterLoop->getLoopLatch()->getUniquePredecessor() == nullptr) in areLoopExitPHIsSupported()
1245 BasicBlock *OuterLatch = NewOuter->getLoopLatch(); in restructureLoops()
1307 BasicBlock *InnerLoopLatch = InnerLoop->getLoopLatch(); in splitInnerLoopLatch()
[all …]
DLoopVersioningLICM.cpp270 if (CurLoop->getExitingBlock() != CurLoop->getLoopLatch()) { in legalLoopStructure()
560 Instruction *I = VerLoop->getLoopLatch()->getTerminator(); in setNoAliasToLoop()
DLoopUnrollAndJamPass.cpp265 BasicBlock *Latch = L->getLoopLatch(); in tryToUnrollAndJamLoop()
267 BasicBlock *SubLoopLatch = SubLoop->getLoopLatch(); in tryToUnrollAndJamLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopUnrollPeel.cpp85 if (L->getLoopLatch() != L->getExitingBlock()) in canPeel()
109 assert(BackEdge == L->getLoopLatch() && "Wrong latch?"); in calculateIterationsToInvariance()
162 if (L.getLoopLatch() == BB) in countToEliminateCompares()
280 BasicBlock *BackEdge = L->getLoopLatch(); in computePeelCount()
402 BasicBlock *Latch = L->getLoopLatch(); in cloneLoopBlocks()
514 BasicBlock *Latch = L->getLoopLatch(); in peelLoop()
DLoopRotationUtils.cpp206 BasicBlock *OrigLatch = L->getLoopLatch(); in rotateLoop()
452 SplitLatchEdge |= L->getLoopLatch() == ExitPred; in rotateLoop()
473 assert(L->getLoopLatch() && "Invalid loop latch after loop rotation"); in rotateLoop()
565 BasicBlock *Latch = L->getLoopLatch(); in simplifyLoopLatch()
623 assert((!MadeChange || L->isLoopExiting(L->getLoopLatch())) && in processLoop()
DLoopUnrollAndJam.cpp57 BasicBlock *SubLoopLatch = SubLoop->getLoopLatch(); in partitionOuterLoopBlocks()
247 BasicBlock *LatchBlock = L->getLoopLatch(); in UnrollAndJamLoop()
254 SubLoop->getLoopLatch()->getTerminator()->getSuccessor(0)); in UnrollAndJamLoop()
708 BasicBlock *Latch = L->getLoopLatch(); in isSafeToUnrollAndJam()
711 BasicBlock *SubLoopLatch = SubLoop->getLoopLatch(); in isSafeToUnrollAndJam()
DLoopUnrollRuntime.cpp73 BasicBlock *Latch = L->getLoopLatch(); in ConnectProlog()
171 BasicBlock *Latch = L->getLoopLatch(); in ConnectEpilog()
291 BasicBlock *Latch = L->getLoopLatch(); in CloneLoopBlocks()
544 BasicBlock *Latch = L->getLoopLatch(); in UnrollRuntimeLoopRemainder()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineLoopInfo.cpp82 if (MachineBasicBlock *Latch = getLoopLatch()) { in findLoopControlBlock()
116 MachineBasicBlock *HB = L->getHeader(), *LB = L->getLoopLatch(); in findLoopPreheader()
/external/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp305 if (L->getLoopLatch() == nullptr || L->getLoopPredecessor() == nullptr) in getInductionVariable()
525 BasicBlock *OuterMostLoopLatch = OuterMostLoop->getLoopLatch(); in processLoopList()
641 BasicBlock *OuterLoopLatch = OuterLoop->getLoopLatch(); in tightlyNested()
700 if (!L->getLoopLatch() || !L->getLoopPredecessor()) in findInductionAndReductions()
756 BasicBlock *InnerLoopLatch = InnerLoop->getLoopLatch(); in currentLimitations()
757 BasicBlock *OuterLoopLatch = OuterLoop->getLoopLatch(); in currentLimitations()
1067 BasicBlock *InnerLoopLatch = InnerLoop->getLoopLatch(); in splitInnerLoopLatch()
1134 BasicBlock *InnerLoopLatch = InnerLoop->getLoopLatch(); in adjustLoopBranches()
1135 BasicBlock *OuterLoopLatch = OuterLoop->getLoopLatch(); in adjustLoopBranches()
DLoopRotation.cpp193 BasicBlock *OrigLatch = L->getLoopLatch(); in rotateLoop()
409 SplitLatchEdge |= L->getLoopLatch() == ExitPred; in rotateLoop()
463 assert(L->getLoopLatch() && "Invalid loop latch after loop rotation"); in rotateLoop()
554 BasicBlock *Latch = L->getLoopLatch(); in simplifyLoopLatch()
609 assert((!MadeChange || L->isLoopExiting(L->getLoopLatch())) && in processLoop()
DLoopVersioningLICM.cpp232 if (CurLoop->getExitingBlock() != CurLoop->getLoopLatch()) { in legalLoopStructure()
477 Instruction *I = VerLoop->getLoopLatch()->getTerminator(); in setNoAliasToLoop()
DLoopUnrollPass.cpp321 PhiI->getIncomingValueForBlock(L->getLoopLatch()))) in analyzeLoopUnrollCost()
390 Iteration == 0 ? L->getLoopPreheader() : L->getLoopLatch()); in analyzeLoopUnrollCost()
937 BasicBlock *ExitingBlock = L->getLoopLatch(); in tryToUnrollLoop()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopRotation.cpp186 BasicBlock *OrigLatch = L->getLoopLatch(); in rotateLoop()
323 BasicBlock *ExitSplit = SplitCriticalEdge(L->getLoopLatch(), Exit, this); in rotateLoop()
342 assert(L->getLoopLatch() && "Invalid loop latch after loop rotation"); in rotateLoop()
DLoopUnrollPass.cpp154 BasicBlock *LatchBlock = L->getLoopLatch(); in runOnLoop()
DIndVarSimplify.cpp1139 if (BasicBlock *LatchBlock = L->getLoopLatch()) { in CreateWideIV()
1373 BasicBlock *LatchBlock = L->getLoopLatch(); in needsLFTR()
1408 Value *IncV = Phi->getIncomingValueForBlock(L->getLoopLatch()); in needsLFTR()
1453 BasicBlock *LatchBlock = L->getLoopLatch(); in FindLoopCounter()
1530 if (L->getExitingBlock() == L->getLoopLatch()) { in LinearFunctionTestReplace()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoopInfo.cpp195 return getLoopPreheader() && getLoopLatch() && hasDedicatedExits(); in isLoopSimplifyForm()
216 if (BasicBlock *Latch = getLoopLatch()) { in getLoopID()
219 assert(!getLoopLatch() && in getLoopID()
255 if (BasicBlock *Latch = getLoopLatch()) { in setLoopID()
260 assert(!getLoopLatch() && in setLoopID()
DMustExecute.cpp140 CurLoop->getLoopLatch() != nullptr && in isGuaranteedToExecute()
141 DT->dominates(Inst.getParent(), CurLoop->getLoopLatch()); in isGuaranteedToExecute()
/external/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp66 BasicBlock *Latch = L->getLoopLatch(); in ConnectProlog()
156 BasicBlock *Latch = L->getLoopLatch(); in ConnectEpilog()
278 BasicBlock *Latch = L->getLoopLatch(); in CloneLoopBlocks()
487 BasicBlock *Latch = L->getLoopLatch(); in UnrollRuntimeLoopRemainder()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp343 assert(Lp->getLoopLatch() && "Expected loop with a single latch."); in isUniformLoop()
358 BasicBlock *Latch = Lp->getLoopLatch(); in isUniformLoop()
567 AllowedExit.insert(Phi->getIncomingValueForBlock(TheLoop->getLoopLatch())); in addInductionPhi()
942 if (Lp->getExitingBlock() != Lp->getLoopLatch()) { in canVectorizeLoopCFG()
/external/llvm/lib/Analysis/
DLoopInfo.cpp188 return getLoopPreheader() && getLoopLatch() && hasDedicatedExits(); in isLoopSimplifyForm()
210 LoopID = getLoopLatch()->getTerminator()->getMetadata(LLVMContext::MD_loop); in getLoopID()
247 getLoopLatch()->getTerminator()->setMetadata(LLVMContext::MD_loop, LoopID); in setLoopID()
DScalarEvolutionNormalization.cpp34 BasicBlock *LatchBlock = L->getLoopLatch(); in IVUseShouldUsePostIncValue()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Vectorize/
DVPlanLoopInfoTest.cpp82 EXPECT_EQ(Latch, VPLp->getLoopLatch()); in TEST_F()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp373 if (MachineBasicBlock *Latch = L->getLoopLatch()) { in getExitingBlock()
389 MachineBasicBlock *Latch = L->getLoopLatch(); in findInductionRegister()
573 MachineBasicBlock *Latch = L->getLoopLatch(); in getLoopTripCount()
1185 if (ExitingBlock != L->getLoopLatch()) { in convertToHardwareLoop()
1571 MachineBasicBlock *Latch = L->getLoopLatch(); in fixupInductionVariable()
1820 MachineBasicBlock *Latch = L->getLoopLatch(); in createPreheaderForLoop()
/external/llvm/include/llvm/Analysis/
DLoopInfoImpl.h156 BlockT *LoopBase<BlockT, LoopT>::getLoopLatch() const { in getLoopLatch() function
328 if (BB == getLoopLatch()) OS << "<latch>"; in print()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolutionNormalization.cpp34 BasicBlock *LatchBlock = L->getLoopLatch(); in IVUseShouldUsePostIncValue()

1234