Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp300 if (L->getLoopLatch() == nullptr || L->getLoopPredecessor() == nullptr) in getInductionVariable()
598 BasicBlock *OuterLoopLatch = OuterLoop->getLoopLatch(); in tightlyNested()
681 if (!L->getLoopLatch() || !L->getLoopPredecessor()) in findInductionAndReductions()
702 Value *V = followLCSSA(PHI.getIncomingValueForBlock(L->getLoopLatch())); in findInductionAndReductions()
724 BasicBlock *InnerLoopLatch = InnerLoop->getLoopLatch(); in currentLimitations()
729 OuterLoop->getExitingBlock() != OuterLoop->getLoopLatch() || in currentLimitations()
731 !isa<BranchInst>(OuterLoop->getLoopLatch()->getTerminator())) { in currentLimitations()
932 if (!IncomingI || IncomingI->getParent() != OuterLoop->getLoopLatch()) in areOuterLoopExitPHIsSupported()
945 if (OuterLoop->getLoopLatch()->getUniquePredecessor() == nullptr) in areOuterLoopExitPHIsSupported()
1203 BasicBlock *OuterLatch = NewOuter->getLoopLatch(); in restructureLoops()
[all …]
DLoopSimplifyCFG.cpp282 DeleteCurrentLoop = !IsEdgeLive(L.getLoopLatch(), L.getHeader()); in analyze()
291 BlocksInLoopAfterFolding.insert(L.getLoopLatch()); in analyze()
532 assert(L.getLoopLatch() && "Should be single latch!"); in run()
634 if (!L.getLoopLatch()) in constantFoldTerminators()
DIndVarSimplify.cpp771 if (!L->getLoopLatch() || in rewriteFirstIterationLoopExitValues()
772 !DT->dominates(IncomingBB, L->getLoopLatch())) in rewriteFirstIterationLoopExitValues()
1777 if (BasicBlock *LatchBlock = L->getLoopLatch()) { in createWideIV()
2073 assert(L->getLoopLatch() && "Must be in simplified form"); in needsLFTR()
2110 int Idx = Phi->getBasicBlockIndex(L->getLoopLatch()); in needsLFTR()
2223 assert(L->getLoopLatch()); in isLoopCounter()
2236 int LatchIdx = Phi->getBasicBlockIndex(L->getLoopLatch()); in isLoopCounter()
2258 BasicBlock *LatchBlock = L->getLoopLatch(); in FindLoopCounter()
2426 assert(L->getLoopLatch() && "Loop no longer in simplified form?"); in linearFunctionTestReplace()
2429 cast<Instruction>(IndVar->getIncomingValueForBlock(L->getLoopLatch())); in linearFunctionTestReplace()
[all …]
DLoopVersioningLICM.cpp239 if (CurLoop->getExitingBlock() != CurLoop->getLoopLatch()) { in legalLoopStructure()
538 Instruction *I = VerLoop->getLoopLatch()->getTerminator(); in setNoAliasToLoop()
DLoopPredication.cpp847 BasicBlock *LoopLatch = L->getLoopLatch(); in parseLoopLatchICmp()
928 auto *LatchBlock = L->getLoopLatch(); in isLoopProfitableToPredicate()
1013 assert(DT.dominates(ExitingBB, L->getLoopLatch()) && in getMinAnalyzeableBackedgeTakenCount()
1065 auto *Latch = L->getLoopLatch(); in predicateLoopExits()
DLoopUnrollAndJamPass.cpp289 BasicBlock *Latch = L->getLoopLatch(); in tryToUnrollAndJamLoop()
291 BasicBlock *SubLoopLatch = SubLoop->getLoopLatch(); in tryToUnrollAndJamLoop()
DLoopUnrollPass.cpp423 PhiI->getIncomingValueForBlock(L->getLoopLatch()))) in analyzeLoopUnrollCost()
492 Iteration == 0 ? L->getLoopPreheader() : L->getLoopLatch()); in analyzeLoopUnrollCost()
1086 BasicBlock *ExitingBlock = L->getLoopLatch(); in tryToUnrollLoop()
DInductiveRangeCheckElimination.cpp395 if (BI->isUnconditional() || BI->getParent() == L->getLoopLatch()) in extractRangeChecksFromBranch()
745 BasicBlock *Latch = L.getLoopLatch(); in parseLoopStructure()
1146 cast<BasicBlock>(GetClonedValue(OriginalLoop.getLoopLatch())); in cloneLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopUnrollPeel.cpp89 const BasicBlock *Latch = L->getLoopLatch(); in canPeel()
106 if (L->getLoopLatch() != L->getExitingBlock()) in canPeel()
130 assert(BackEdge == L->getLoopLatch() && "Wrong latch?"); in calculateIterationsToInvariance()
183 if (L.getLoopLatch() == BB) in countToEliminateCompares()
331 BasicBlock *BackEdge = L->getLoopLatch(); in computePeelCount()
497 BasicBlock *Latch = L->getLoopLatch(); in cloneLoopBlocks()
611 BasicBlock *Latch = L->getLoopLatch(); in peelLoop()
DLoopRotationUtils.cpp217 BasicBlock *OrigLatch = L->getLoopLatch(); in rotateLoop()
481 SplitLatchEdge |= L->getLoopLatch() == ExitPred; in rotateLoop()
506 assert(L->getLoopLatch() && "Invalid loop latch after loop rotation"); in rotateLoop()
605 BasicBlock *Latch = L->getLoopLatch(); in simplifyLoopLatch()
651 assert((!MadeChange || L->isLoopExiting(L->getLoopLatch())) && in processLoop()
DLoopUnrollAndJam.cpp55 BasicBlock *SubLoopLatch = SubLoop->getLoopLatch(); in partitionOuterLoopBlocks()
249 BasicBlock *LatchBlock = L->getLoopLatch(); in UnrollAndJamLoop()
257 SubLoop->getLoopLatch()->getTerminator()->getSuccessor(0)); in UnrollAndJamLoop()
734 BasicBlock *Latch = L->getLoopLatch(); in isSafeToUnrollAndJam()
737 BasicBlock *SubLoopLatch = SubLoop->getLoopLatch(); in isSafeToUnrollAndJam()
DLoopUnrollRuntime.cpp84 BasicBlock *Latch = L->getLoopLatch(); in ConnectProlog()
188 BasicBlock *Latch = L->getLoopLatch(); in ConnectEpilog()
308 BasicBlock *Latch = L->getLoopLatch(); in CloneLoopBlocks()
565 BasicBlock *Latch = L->getLoopLatch(); in UnrollRuntimeLoopRemainder()
DLoopSimplify.cpp556 BasicBlock *LoopLatch = L->getLoopLatch(); in simplifyOneLoop()
889 if (!L->getLoopPreheader() || !L->getLoopLatch()) {
DLoopUnroll.cpp289 BasicBlock *LatchBlock = L->getLoopLatch(); in UnrollLoop()
408 BasicBlock *ExitingBlock = L->getLoopLatch(); in UnrollLoop()
DLoopUtils.cpp696 BasicBlock *Latch = L->getLoopLatch(); in getLoopEstimatedTripCount()
739 BasicBlock *InnerLoopLatch = InnerLoop->getLoopLatch(); in hasIterationCountInvariantInParent()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineLoopInfo.cpp89 if (MachineBasicBlock *Latch = getLoopLatch()) { in findLoopControlBlock()
123 MachineBasicBlock *HB = L->getHeader(), *LB = L->getLoopLatch(); in findLoopPreheader()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorizationLegality.cpp299 assert(Lp->getLoopLatch() && "Expected loop with a single latch."); in isUniformLoop()
314 BasicBlock *Latch = Lp->getLoopLatch(); in isUniformLoop()
537 AllowedExit.insert(Phi->getIncomingValueForBlock(TheLoop->getLoopLatch())); in addInductionPhi()
822 BasicBlock *LoopLatch = TheLoop->getLoopLatch(); in canVectorizeInstrs()
1064 if (Lp->getExitingBlock() != Lp->getLoopLatch()) { in canVectorizeLoopCFG()
DLoopVectorize.cpp1752 auto *LoopVectorLatch = LI->getLoopFor(LoopVectorBody)->getLoopLatch(); in createVectorIntOrFpInductionPHI()
2533 BasicBlock *Latch = L->getLoopLatch(); in createInductionVariable()
3079 assert(isa<BranchInst>(OrigLoop->getLoopLatch()->getTerminator()) && in createVectorizedLoopSkeleton()
3082 cast<BranchInst>(OrigLoop->getLoopLatch()->getTerminator()); in createVectorizedLoopSkeleton()
3157 Value *PostInc = OrigPhi->getIncomingValueForBlock(OrigLoop->getLoopLatch()); in fixupIVUsers()
3555 auto *Latch = OrigLoop->getLoopLatch(); in fixFirstOrderRecurrence()
3632 VecPhi->addIncoming(Incoming, LI->getLoopFor(LoopVectorBody)->getLoopLatch()); in fixFirstOrderRecurrence()
3744 BasicBlock *Latch = OrigLoop->getLoopLatch(); in fixReduction()
3755 ->addIncoming(Val, LI->getLoopFor(LoopVectorBody)->getLoopLatch()); in fixReduction()
3792 LI->getLoopFor(LoopVectorBody)->getLoopLatch()->getTerminator()); in fixReduction()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopInfo.cpp173 if (BasicBlock *Latch = L.getLoopLatch()) in getLatchCmpInst()
231 BasicBlock *Latch = L.getLoopLatch(); in getCanonicalPredicate()
369 assert(Preheader && getLoopLatch() && in getLoopGuardBranch()
468 return getLoopPreheader() && getLoopLatch() && hasDedicatedExits(); in isLoopSimplifyForm()
DIVDescriptors.cpp682 auto *Latch = TheLoop->getLoopLatch(); in isFirstOrderRecurrence()
968 BasicBlock *Latch = L->getLoopLatch(); in getCastsForInductionPHI()
1080 BasicBlock *Latch = AR->getLoop()->getLoopLatch(); in isInductionPHI()
DIVUsers.cpp135 BasicBlock *LatchBlock = L->getLoopLatch(); in IVUseShouldUsePostIncValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMVETailPredication.cpp283 Value *InLoop = Phi->getIncomingValueForBlock(L->getLoopLatch()); in isTailPredicate()
498 Processed->addIncoming(Remaining, L->getLoopLatch()); in InsertVCTPIntrinsic()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp409 MachineBasicBlock *Latch = L->getLoopLatch(); in findInductionRegister()
606 MachineBasicBlock *Latch = L->getLoopLatch(); in getLoopTripCount()
1223 if (ExitingBlock != L->getLoopLatch()) { in convertToHardwareLoop()
1609 MachineBasicBlock *Latch = L->getLoopLatch(); in fixupInductionVariable()
1857 MachineBasicBlock *Latch = L->getLoopLatch(); in createPreheaderForLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DLoopInfoImpl.h124 const BlockT *Latch = getLoopLatch(); in getUniqueNonLatchExitBlocks()
209 BlockT *LoopBase<BlockT, LoopT>::getLoopLatch() const { in getLoopLatch() function
DLoopInfo.h310 BlockT *getLoopLatch() const;
766 BasicBlock *Latch = getLoopLatch(); in isRotatedForm()

12