Home
last modified time | relevance | path

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

/freebsd-10-stable/contrib/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp217 BasicBlock *Latch = L->getLoopLatch(); in simplifyLoopLatch()
276 BasicBlock *OrigLatch = L->getLoopLatch(); in rotateLoop()
463 BasicBlock *ExitSplit = SplitCriticalEdge(L->getLoopLatch(), Exit, this); in rotateLoop()
511 assert(L->getLoopLatch() && "Invalid loop latch after loop rotation"); in rotateLoop()
DIndVarSimplify.cpp1049 if (BasicBlock *LatchBlock = L->getLoopLatch()) { in CreateWideIV()
1264 BasicBlock *LatchBlock = L->getLoopLatch(); in getLoopTest()
1305 int Idx = Phi->getBasicBlockIndex(L->getLoopLatch()); in needsLFTR()
1398 BasicBlock *LatchBlock = L->getLoopLatch(); in FindLoopCounter()
1570 if (L->getExitingBlock() == L->getLoopLatch()) { in LinearFunctionTestReplace()
DLoopUnrollPass.cpp183 BasicBlock *LatchBlock = L->getLoopLatch(); in runOnLoop()
DLoopStrengthReduce.cpp2040 BasicBlock *LatchBlock = L->getLoopLatch(); in OptimizeLoopTermCond()
2160 IVIncInsertPos = L->getLoopLatch()->getTerminator(); in OptimizeLoopTermCond()
2706 for (DomTreeNode *Rung = DT.getNode(L->getLoopLatch()); in CollectChains()
2752 dyn_cast<Instruction>(PN->getIncomingValueForBlock(L->getLoopLatch())); in CollectChains()
2849 InsertPt = L->getLoopLatch()->getTerminator(); in GenerateIVChain()
2895 Phi->getIncomingValueForBlock(L->getLoopLatch())); in GenerateIVChain()
2902 IRBuilder<> Builder(L->getLoopLatch()->getTerminator()); in GenerateIVChain()
4328 Inputs.push_back(L->getLoopLatch()->getTerminator()); in AdjustInsertPositionForExpand()
DLoopUnswitch.cpp1033 BasicBlock *Latch = L->getLoopLatch(); in RewriteLoopBodyWithConditionConstant()
/freebsd-10-stable/contrib/llvm/lib/Transforms/Utils/
DLoopUnrollRuntime.cpp60 BasicBlock *Latch = L->getLoopLatch(); in ConnectProlog()
148 BasicBlock *Latch = L->getLoopLatch(); in CloneLoopBlocks()
270 BasicBlock *Latch = L->getLoopLatch(); in UnrollRuntimeLoopProlog()
DLoopSimplify.cpp246 BasicBlock *LoopLatch = L->getLoopLatch(); in ProcessLoop()
772 if (!L->getLoopPreheader() || !L->getLoopLatch()) { in verifyAnalysis()
DLoopUnroll.cpp150 BasicBlock *LatchBlock = L->getLoopLatch(); in UnrollLoop()
/freebsd-10-stable/contrib/llvm/lib/Analysis/
DLoopInfo.cpp210 return getLoopPreheader() && getLoopLatch() && hasDedicatedExits(); in isLoopSimplifyForm()
239 LoopID = getLoopLatch()->getTerminator()->getMetadata(LoopMDName); in getLoopID()
276 getLoopLatch()->getTerminator()->setMetadata(LoopMDName, LoopID); in setLoopID()
DScalarEvolutionNormalization.cpp34 BasicBlock *LatchBlock = L->getLoopLatch(); in IVUseShouldUsePostIncValue()
DScalarEvolutionExpander.cpp1030 BasicBlock *LatchBlock = L->getLoopLatch(); in getAddRecExprPHILiterally()
1201 BasicBlock *LatchBlock = L->getLoopLatch(); in expandAddRecExprLiterally()
1633 if (BasicBlock *LatchBlock = L->getLoopLatch()) { in replaceCongruentIVs()
DScalarEvolution.cpp6104 BasicBlock *Latch = L->getLoopLatch(); in isLoopBackedgeGuardedByCond()
/freebsd-10-stable/contrib/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp326 MachineBasicBlock *Latch = L->getLoopLatch(); in findInductionRegister()
455 MachineBasicBlock *Latch = L->getLoopLatch(); in getLoopTripCount()
1062 if (L->getLoopLatch() != LastMBB) { in convertToHardwareLoop()
1068 LoopStart = L->getLoopLatch(); in convertToHardwareLoop()
1247 MachineBasicBlock *Latch = L->getLoopLatch(); in fixupInductionVariable()
1419 MachineBasicBlock *Latch = L->getLoopLatch(); in createPreheaderForLoop()
/freebsd-10-stable/contrib/llvm/include/llvm/Analysis/
DLoopInfoImpl.h154 BlockT *LoopBase<BlockT, LoopT>::getLoopLatch() const { in getLoopLatch() function
327 if (BB == getLoopLatch()) OS << "<latch>"; in print()
DLoopInfo.h229 BlockT *getLoopLatch() const;
/freebsd-10-stable/contrib/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2223 BasicBlock *Latch = OrigLoop->getLoopLatch(); in vectorizeLoop()
2328 (RdxPhi)->getBasicBlockIndex(OrigLoop->getLoopLatch()); in vectorizeLoop()
2870 if (TheLoop->getExitingBlock() != TheLoop->getLoopLatch()) { in canVectorize()
2894 BasicBlock *Latch = TheLoop->getLoopLatch(); in canVectorize()
3132 BasicBlock *Latch = TheLoop->getLoopLatch(); in collectLoopUniforms()
4395 BasicBlock* Latch = TheLoop->getLoopLatch(); in blockNeedsPredication()
4446 unsigned TC = SE->getSmallConstantTripCount(TheLoop, TheLoop->getLoopLatch()); in selectVectorizationFactor()
4596 TheLoop->getLoopLatch()); in selectUnrollFactor()
/freebsd-10-stable/contrib/llvm/patches/
Dpatch-r275633-llvm-r223171-fix-vectorizer.diff36 + if (TheLoop->getExitingBlock() != TheLoop->getLoopLatch()) {
/freebsd-10-stable/contrib/llvm/lib/Target/R600/
DAMDILCFGStructurizer.cpp1721 MachineBasicBlock *LoopLatch = LoopRep->getLoopLatch(); in normalizeInfiniteLoopExit()