/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopInterchange.cpp | 301 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 …]
|
D | LoopVersioningLICM.cpp | 270 if (CurLoop->getExitingBlock() != CurLoop->getLoopLatch()) { in legalLoopStructure() 560 Instruction *I = VerLoop->getLoopLatch()->getTerminator(); in setNoAliasToLoop()
|
D | LoopUnrollAndJamPass.cpp | 265 BasicBlock *Latch = L->getLoopLatch(); in tryToUnrollAndJamLoop() 267 BasicBlock *SubLoopLatch = SubLoop->getLoopLatch(); in tryToUnrollAndJamLoop()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | LoopUnrollPeel.cpp | 85 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()
|
D | LoopRotationUtils.cpp | 206 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()
|
D | LoopUnrollAndJam.cpp | 57 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()
|
D | LoopUnrollRuntime.cpp | 73 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/ |
D | MachineLoopInfo.cpp | 82 if (MachineBasicBlock *Latch = getLoopLatch()) { in findLoopControlBlock() 116 MachineBasicBlock *HB = L->getHeader(), *LB = L->getLoopLatch(); in findLoopPreheader()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopInterchange.cpp | 305 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()
|
D | LoopRotation.cpp | 193 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()
|
D | LoopVersioningLICM.cpp | 232 if (CurLoop->getExitingBlock() != CurLoop->getLoopLatch()) { in legalLoopStructure() 477 Instruction *I = VerLoop->getLoopLatch()->getTerminator(); in setNoAliasToLoop()
|
D | LoopUnrollPass.cpp | 321 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/ |
D | LoopRotation.cpp | 186 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()
|
D | LoopUnrollPass.cpp | 154 BasicBlock *LatchBlock = L->getLoopLatch(); in runOnLoop()
|
D | IndVarSimplify.cpp | 1139 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/ |
D | LoopInfo.cpp | 195 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()
|
D | MustExecute.cpp | 140 CurLoop->getLoopLatch() != nullptr && in isGuaranteedToExecute() 141 DT->dominates(Inst.getParent(), CurLoop->getLoopLatch()); in isGuaranteedToExecute()
|
/external/llvm/lib/Transforms/Utils/ |
D | LoopUnrollRuntime.cpp | 66 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/ |
D | LoopVectorizationLegality.cpp | 343 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/ |
D | LoopInfo.cpp | 188 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()
|
D | ScalarEvolutionNormalization.cpp | 34 BasicBlock *LatchBlock = L->getLoopLatch(); in IVUseShouldUsePostIncValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Vectorize/ |
D | VPlanLoopInfoTest.cpp | 82 EXPECT_EQ(Latch, VPLp->getLoopLatch()); in TEST_F()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonHardwareLoops.cpp | 373 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/ |
D | LoopInfoImpl.h | 156 BlockT *LoopBase<BlockT, LoopT>::getLoopLatch() const { in getLoopLatch() function 328 if (BB == getLoopLatch()) OS << "<latch>"; in print()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ScalarEvolutionNormalization.cpp | 34 BasicBlock *LatchBlock = L->getLoopLatch(); in IVUseShouldUsePostIncValue()
|