/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopInterchange.cpp | 300 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 …]
|
D | LoopSimplifyCFG.cpp | 282 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()
|
D | IndVarSimplify.cpp | 771 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 …]
|
D | LoopVersioningLICM.cpp | 239 if (CurLoop->getExitingBlock() != CurLoop->getLoopLatch()) { in legalLoopStructure() 538 Instruction *I = VerLoop->getLoopLatch()->getTerminator(); in setNoAliasToLoop()
|
D | LoopPredication.cpp | 847 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()
|
D | LoopUnrollAndJamPass.cpp | 289 BasicBlock *Latch = L->getLoopLatch(); in tryToUnrollAndJamLoop() 291 BasicBlock *SubLoopLatch = SubLoop->getLoopLatch(); in tryToUnrollAndJamLoop()
|
D | LoopUnrollPass.cpp | 423 PhiI->getIncomingValueForBlock(L->getLoopLatch()))) in analyzeLoopUnrollCost() 492 Iteration == 0 ? L->getLoopPreheader() : L->getLoopLatch()); in analyzeLoopUnrollCost() 1086 BasicBlock *ExitingBlock = L->getLoopLatch(); in tryToUnrollLoop()
|
D | InductiveRangeCheckElimination.cpp | 395 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/ |
D | LoopUnrollPeel.cpp | 89 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()
|
D | LoopRotationUtils.cpp | 217 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()
|
D | LoopUnrollAndJam.cpp | 55 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()
|
D | LoopUnrollRuntime.cpp | 84 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()
|
D | LoopSimplify.cpp | 556 BasicBlock *LoopLatch = L->getLoopLatch(); in simplifyOneLoop() 889 if (!L->getLoopPreheader() || !L->getLoopLatch()) {
|
D | LoopUnroll.cpp | 289 BasicBlock *LatchBlock = L->getLoopLatch(); in UnrollLoop() 408 BasicBlock *ExitingBlock = L->getLoopLatch(); in UnrollLoop()
|
D | LoopUtils.cpp | 696 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/ |
D | MachineLoopInfo.cpp | 89 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/ |
D | LoopVectorizationLegality.cpp | 299 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()
|
D | LoopVectorize.cpp | 1752 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/ |
D | LoopInfo.cpp | 173 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()
|
D | IVDescriptors.cpp | 682 auto *Latch = TheLoop->getLoopLatch(); in isFirstOrderRecurrence() 968 BasicBlock *Latch = L->getLoopLatch(); in getCastsForInductionPHI() 1080 BasicBlock *Latch = AR->getLoop()->getLoopLatch(); in isInductionPHI()
|
D | IVUsers.cpp | 135 BasicBlock *LatchBlock = L->getLoopLatch(); in IVUseShouldUsePostIncValue()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | MVETailPredication.cpp | 283 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/ |
D | HexagonHardwareLoops.cpp | 409 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/ |
D | LoopInfoImpl.h | 124 const BlockT *Latch = getLoopLatch(); in getUniqueNonLatchExitBlocks() 209 BlockT *LoopBase<BlockT, LoopT>::getLoopLatch() const { in getLoopLatch() function
|
D | LoopInfo.h | 310 BlockT *getLoopLatch() const; 766 BasicBlock *Latch = getLoopLatch(); in isRotatedForm()
|