Home
last modified time | relevance | path

Searched refs:getLoopPreheader (Results 1 – 25 of 29) sorted by relevance

12

/external/llvm/lib/Transforms/Utils/
DLoopVersioning.cpp32 assert(L->getLoopPreheader() && "No preheader"); in LoopVersioning()
56 BasicBlock *RuntimeCheckBB = VersionedLoop->getLoopPreheader(); in versionLoop()
105 BranchInst::Create(NonVersionedLoop->getLoopPreheader(), in versionLoop()
106 VersionedLoop->getLoopPreheader(), RuntimeCheck, OrigTerm); in versionLoop()
DLoopUnrollRuntime.cpp147 BasicBlock *Preheader = L->getLoopPreheader(); in CloneLoopBlocks()
334 BasicBlock *PH = L->getLoopPreheader(); in UnrollRuntimeLoopProlog()
DLoopUtils.cpp167 Value *RdxStart = Phi->getIncomingValueForBlock(TheLoop->getLoopPreheader()); in AddReductionVar()
678 Phi->getIncomingValueForBlock(AR->getLoop()->getLoopPreheader()); in isInductionPHI()
DLoopSimplify.cpp530 BasicBlock *Preheader = L->getLoopPreheader(); in simplifyOneLoop()
814 if (!L->getLoopPreheader() || !L->getLoopLatch()) {
DLoopUnroll.cpp163 BasicBlock *Preheader = L->getLoopPreheader(); in UnrollLoop()
DCloneFunction.cpp767 BasicBlock *OrigPH = OrigLoop->getLoopPreheader(); in cloneLoopWithPreheader()
/external/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp642 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in tightlyNested()
678 BasicBlock *InnerLoopPreheader = InnerLoop->getLoopPreheader(); in isLoopStructureUnderstood()
756 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in currentLimitations()
864 BasicBlock *OuterLoopPreHeader = OuterLoop->getLoopPreheader(); in canInterchangeLoops()
865 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in canInterchangeLoops()
1035 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in transform()
1088 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in splitInnerLoopHeader()
1128 BasicBlock *OuterLoopPreHeader = OuterLoop->getLoopPreheader(); in adjustOuterLoopPreheader()
1129 BasicBlock *InnerPreHeader = InnerLoop->getLoopPreheader(); in adjustOuterLoopPreheader()
1135 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in adjustInnerLoopPreheader()
[all …]
DLoopIdiomRecognize.cpp193 if (!L->getLoopPreheader()) in runOnLoop()
530 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStridedStore()
638 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStoreOfLoopLoad()
873 Value *T = matchCondition(PreCondBr, CurLoop->getLoopPreheader()); in detectPopcountIdiom()
909 BasicBlock *PH = CurLoop->getLoopPreheader(); in recognizePopcount()
953 BasicBlock *PreHead = CurLoop->getLoopPreheader(); in transformLoopToPopcount()
DLoopDistribute.cpp381 BasicBlock *OrigPH = L->getLoopPreheader(); in cloneLoops()
403 I != E; ++I, --Index, TopPH = NewLoop->getLoopPreheader()) { in cloneLoops()
421 Next->getDistributedLoop()->getLoopPreheader(), in cloneLoops()
665 BasicBlock *PH = L->getLoopPreheader(); in processLoop()
DLICM.cpp222 Preheader = L->getLoopPreheader(); in runOnLoop()
403 CurLoop->getLoopPreheader()->getTerminator())) in hoistRegion()
404 Changed |= hoist(I, CurLoop->getLoopPreheader()); in hoistRegion()
848 BasicBlock * Preheader = CurLoop->getLoopPreheader(); in promoteLoopAccessesToScalars()
DIndVarSimplify.cpp721 BasicBlock *Preheader = L->getLoopPreheader(); in canLoopBeDeleted()
933 L && L->getLoopPreheader() && isLoopInvariant(NarrowOper, L, DT); in createExtendInst()
935 Builder.SetInsertPoint(L->getLoopPreheader()->getTerminator()); in createExtendInst()
1831 Value *GEPBase = IndVar->getIncomingValueForBlock(L->getLoopPreheader()); in genLoopLimit()
1839 IRBuilder<> Builder(L->getLoopPreheader()->getTerminator()); in genLoopLimit()
1995 BasicBlock *Preheader = L->getLoopPreheader(); in sinkUnusedInvariants()
2152 if (!AR || AR->getLoop()->getLoopPreheader()) in runOnLoop()
DLoopRotation.cpp173 BasicBlock *OrigPreheader = L->getLoopPreheader(); in rotateLoop()
393 assert(L->getLoopPreheader() && "Invalid loop preheader after loop rotation"); in rotateLoop()
DLoopDeletion.cpp141 BasicBlock *preheader = L->getLoopPreheader(); in runOnLoop()
DInductiveRangeCheckElimination.cpp663 BasicBlock *Preheader = L.getLoopPreheader(); in parseLoopStructure()
1180 Preheader = OriginalLoop.getLoopPreheader(); in run()
1400 BasicBlock *Preheader = L->getLoopPreheader(); in runOnLoop()
DLoopLoadElimination.cpp376 auto *PH = L->getLoopPreheader(); in propagateStoredValueToLoadUsers()
DLoopUnrollPass.cpp579 Iteration == 0 ? L->getLoopPreheader() : L->getLoopLatch()); in analyzeLoopUnrollCost()
DLoopRerollPass.cpp1309 BasicBlock *Preheader = L->getLoopPreheader(); in replace()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp386 MachineBasicBlock *Preheader = L->getLoopPreheader(); in findInductionRegister()
567 MachineBasicBlock *Preheader = L->getLoopPreheader(); in getLoopTripCount()
733 if (loopCountMayWrapOrUnderFlow(Start, End, Loop->getLoopPreheader(), Loop, in computeCount()
788 MachineBasicBlock *PH = Loop->getLoopPreheader(); in computeCount()
1154 MachineBasicBlock *Preheader = L->getLoopPreheader(); in convertToHardwareLoop()
1811 if (MachineBasicBlock *TmpPH = L->getLoopPreheader()) in createPreheaderForLoop()
/external/llvm/include/llvm/Analysis/
DLoopInfo.h234 BlockT *getLoopPreheader() const;
482 if ((HeadBB = getLoopPreheader()) != nullptr) in getStartLoc()
DLoopInfoImpl.h108 BlockT *LoopBase<BlockT, LoopT>::getLoopPreheader() const { in getLoopPreheader() function
/external/llvm/lib/Analysis/
DLoopInfo.cpp110 BasicBlock *Preheader = getLoopPreheader(); in makeLoopInvariant()
225 return getLoopPreheader() && getLoopLatch() && hasDedicatedExits(); in isLoopSimplifyForm()
DScalarEvolutionExpander.cpp206 BasicBlock *Preheader = L->getLoopPreheader(); in InsertBinop()
533 BasicBlock *Preheader = L->getLoopPreheader(); in expandAddToGEP()
561 BasicBlock *Preheader = L->getLoopPreheader(); in expandAddToGEP()
952 (IVOper = getIVIncOperand(IVOper, L->getLoopPreheader()->getTerminator(), in isExpandedAddRecExprPHI()
1611 if (BasicBlock *Preheader = L->getLoopPreheader()) in expand()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1782 BlockFrequency LoopEntryFreq = BFI->getBlockFreq(L->getLoopPreheader()); in processLoop()
2630 Induction->addIncoming(Start, L->getLoopPreheader()); in createInductionVariable()
2646 IRBuilder<> Builder(L->getLoopPreheader()->getTerminator()); in getOrCreateTripCount()
2677 L->getLoopPreheader()->getTerminator()); in getOrCreateTripCount()
2683 L->getLoopPreheader()->getTerminator()); in getOrCreateTripCount()
2693 IRBuilder<> Builder(L->getLoopPreheader()->getTerminator()); in getOrCreateVectorTripCount()
2709 BasicBlock *BB = L->getLoopPreheader(); in emitMinimumIterationCountCheck()
2731 BasicBlock *BB = L->getLoopPreheader(); in emitVectorLoopEnteredCheck()
2751 BasicBlock *BB = L->getLoopPreheader(); in emitSCEVChecks()
2778 BasicBlock *BB = L->getLoopPreheader(); in emitMemRuntimeChecks()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp535 BasicBlock *Preheader = L->getLoopPreheader(); in convertToCTRLoop()
/external/llvm/lib/CodeGen/
DMachineLICM.cpp1392 CurPreheader = CurLoop->getLoopPreheader(); in getCurPreheader()

12