/external/llvm/lib/Transforms/Utils/ |
D | LoopVersioning.cpp | 32 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()
|
D | LoopUnrollRuntime.cpp | 147 BasicBlock *Preheader = L->getLoopPreheader(); in CloneLoopBlocks() 334 BasicBlock *PH = L->getLoopPreheader(); in UnrollRuntimeLoopProlog()
|
D | LoopUtils.cpp | 167 Value *RdxStart = Phi->getIncomingValueForBlock(TheLoop->getLoopPreheader()); in AddReductionVar() 678 Phi->getIncomingValueForBlock(AR->getLoop()->getLoopPreheader()); in isInductionPHI()
|
D | LoopSimplify.cpp | 530 BasicBlock *Preheader = L->getLoopPreheader(); in simplifyOneLoop() 814 if (!L->getLoopPreheader() || !L->getLoopLatch()) {
|
D | LoopUnroll.cpp | 163 BasicBlock *Preheader = L->getLoopPreheader(); in UnrollLoop()
|
D | CloneFunction.cpp | 767 BasicBlock *OrigPH = OrigLoop->getLoopPreheader(); in cloneLoopWithPreheader()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopInterchange.cpp | 642 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 …]
|
D | LoopIdiomRecognize.cpp | 193 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()
|
D | LoopDistribute.cpp | 381 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()
|
D | LICM.cpp | 222 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()
|
D | IndVarSimplify.cpp | 721 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()
|
D | LoopDeletion.cpp | 141 BasicBlock *preheader = L->getLoopPreheader(); in runOnLoop()
|
D | LoopRotation.cpp | 173 BasicBlock *OrigPreheader = L->getLoopPreheader(); in rotateLoop() 393 assert(L->getLoopPreheader() && "Invalid loop preheader after loop rotation"); in rotateLoop()
|
D | InductiveRangeCheckElimination.cpp | 663 BasicBlock *Preheader = L.getLoopPreheader(); in parseLoopStructure() 1180 Preheader = OriginalLoop.getLoopPreheader(); in run() 1400 BasicBlock *Preheader = L->getLoopPreheader(); in runOnLoop()
|
D | LoopLoadElimination.cpp | 376 auto *PH = L->getLoopPreheader(); in propagateStoredValueToLoadUsers()
|
D | LoopUnrollPass.cpp | 579 Iteration == 0 ? L->getLoopPreheader() : L->getLoopLatch()); in analyzeLoopUnrollCost()
|
D | LoopRerollPass.cpp | 1309 BasicBlock *Preheader = L->getLoopPreheader(); in replace()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonHardwareLoops.cpp | 386 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/ |
D | LoopInfo.h | 234 BlockT *getLoopPreheader() const; 482 if ((HeadBB = getLoopPreheader()) != nullptr) in getStartLoc()
|
D | LoopInfoImpl.h | 108 BlockT *LoopBase<BlockT, LoopT>::getLoopPreheader() const { in getLoopPreheader() function
|
/external/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 110 BasicBlock *Preheader = getLoopPreheader(); in makeLoopInvariant() 225 return getLoopPreheader() && getLoopLatch() && hasDedicatedExits(); in isLoopSimplifyForm()
|
D | ScalarEvolutionExpander.cpp | 206 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/ |
D | LoopVectorize.cpp | 1782 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/ |
D | PPCCTRLoops.cpp | 535 BasicBlock *Preheader = L->getLoopPreheader(); in convertToCTRLoop()
|
/external/llvm/lib/CodeGen/ |
D | MachineLICM.cpp | 1392 CurPreheader = CurLoop->getLoopPreheader(); in getCurPreheader()
|