Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Utils/
DLoopVersioning.cpp39 assert(L->getLoopPreheader() && "No preheader"); in LoopVersioning()
63 BasicBlock *RuntimeCheckBB = VersionedLoop->getLoopPreheader(); in versionLoop()
111 BranchInst::Create(NonVersionedLoop->getLoopPreheader(), in versionLoop()
112 VersionedLoop->getLoopPreheader(), RuntimeCheck, OrigTerm); in versionLoop()
DLoopUtils.cpp174 Value *RdxStart = Phi->getIncomingValueForBlock(TheLoop->getLoopPreheader()); in AddReductionVar()
532 auto *Preheader = TheLoop->getLoopPreheader(); in isFirstOrderRecurrence()
779 Phi->getIncomingValueForBlock(AR->getLoop()->getLoopPreheader()); in isInductionPHI()
DLoopSimplify.cpp525 BasicBlock *Preheader = L->getLoopPreheader(); in simplifyOneLoop()
846 if (!L->getLoopPreheader() || !L->getLoopLatch()) {
/external/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp640 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in tightlyNested()
676 BasicBlock *InnerLoopPreheader = InnerLoop->getLoopPreheader(); in isLoopStructureUnderstood()
754 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in currentLimitations()
861 BasicBlock *OuterLoopPreHeader = OuterLoop->getLoopPreheader(); in canInterchangeLoops()
862 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in canInterchangeLoops()
1031 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in transform()
1077 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in splitInnerLoopHeader()
1136 BasicBlock *OuterLoopPreHeader = OuterLoop->getLoopPreheader(); in adjustLoopBranches()
1137 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in adjustLoopBranches()
1243 BasicBlock *OuterLoopPreHeader = OuterLoop->getLoopPreheader(); in adjustLoopPreheaders()
[all …]
DLoopDistribute.cpp395 BasicBlock *OrigPH = L->getLoopPreheader(); in cloneLoops()
417 I != E; ++I, --Index, TopPH = NewLoop->getLoopPreheader()) { in cloneLoops()
435 Next->getDistributedLoop()->getLoopPreheader(), in cloneLoops()
604 BasicBlock *PH = L->getLoopPreheader(); in processLoop()
DLoopIdiomRecognize.cpp224 if (!L->getLoopPreheader()) in runOnLoop()
762 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStridedStore()
868 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStoreOfLoopLoad()
1105 Value *T = matchCondition(PreCondBr, CurLoop->getLoopPreheader()); in detectPopcountIdiom()
1141 BasicBlock *PH = CurLoop->getLoopPreheader(); in recognizePopcount()
1185 BasicBlock *PreHead = CurLoop->getLoopPreheader(); in transformLoopToPopcount()
DLoopVersioningLICM.cpp210 if (!CurLoop->getLoopPreheader()) { in legalLoopStructure()
522 Preheader = L->getLoopPreheader(); in runOnLoop()
DIndVarSimplify.cpp721 auto *LoopPreheader = L->getLoopPreheader(); in rewriteFirstIterationLoopExitValues()
741 BasicBlock *Preheader = L->getLoopPreheader(); in canLoopBeDeleted()
953 L && L->getLoopPreheader() && isLoopInvariant(NarrowOper, L, DT); in createExtendInst()
955 Builder.SetInsertPoint(L->getLoopPreheader()->getTerminator()); in createExtendInst()
1852 Value *GEPBase = IndVar->getIncomingValueForBlock(L->getLoopPreheader()); in genLoopLimit()
1861 IRBuilder<> Builder(L->getLoopPreheader()->getTerminator()); in genLoopLimit()
2017 BasicBlock *Preheader = L->getLoopPreheader(); in sinkUnusedInvariants()
2162 if (!AR || AR->getLoop()->getLoopPreheader()) in run()
DLICM.cpp225 BasicBlock *Preheader = L->getLoopPreheader(); in runOnLoop()
394 CurLoop->getLoopPreheader()->getTerminator())) in hoistRegion()
721 auto *Preheader = CurLoop->getLoopPreheader(); in hoist()
863 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in promoteLoopAccessesToScalars()
DLoopDeletion.cpp106 BasicBlock *preheader = L->getLoopPreheader(); in runImpl()
DLoopRotation.cpp240 BasicBlock *OrigPreheader = L->getLoopPreheader(); in rotateLoop()
462 assert(L->getLoopPreheader() && "Invalid loop preheader after loop rotation"); in rotateLoop()
DInductiveRangeCheckElimination.cpp634 BasicBlock *Preheader = L.getLoopPreheader(); in parseLoopStructure()
1151 Preheader = OriginalLoop.getLoopPreheader(); in run()
1373 BasicBlock *Preheader = L->getLoopPreheader(); in runOnLoop()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopRotation.cpp185 BasicBlock *OrigPreheader = L->getLoopPreheader(); in rotateLoop()
341 assert(L->getLoopPreheader() && "Invalid loop preheader after loop rotation"); in rotateLoop()
DIndVarSimplify.cpp869 L && L->getLoopPreheader() && isLoopInvariant(NarrowOper, L, DT); in getExtend()
871 Builder.SetInsertPoint(L->getLoopPreheader()->getTerminator()); in getExtend()
1599 Value *IVStart = IndVar->getIncomingValueForBlock(L->getLoopPreheader()); in LinearFunctionTestReplace()
1605 Builder.SetInsertPoint(L->getLoopPreheader()->getTerminator()); in LinearFunctionTestReplace()
1655 BasicBlock *Preheader = L->getLoopPreheader(); in SinkUnusedInvariants()
1883 if (!AR || AR->getLoop()->getLoopPreheader()) in runOnLoop()
DLoopIdiomRecognize.cpp473 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStridedStore()
562 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStoreOfLoopLoad()
DLoopDeletion.cpp133 BasicBlock* preheader = L->getLoopPreheader(); in runOnLoop()
/external/llvm/lib/Analysis/
DLoopInfo.cpp86 BasicBlock *Preheader = getLoopPreheader(); in makeLoopInvariant()
188 return getLoopPreheader() && getLoopLatch() && hasDedicatedExits(); in isLoopSimplifyForm()
310 if (BasicBlock *PHeadBB = getLoopPreheader()) in getStartLoc()
DScalarEvolutionExpander.cpp204 BasicBlock *Preheader = L->getLoopPreheader(); in InsertBinop()
531 BasicBlock *Preheader = L->getLoopPreheader(); in expandAddToGEP()
559 BasicBlock *Preheader = L->getLoopPreheader(); in expandAddToGEP()
966 (IVOper = getIVIncOperand(IVOper, L->getLoopPreheader()->getTerminator(), in isExpandedAddRecExprPHI()
1671 if (BasicBlock *Preheader = L->getLoopPreheader()) in expand()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DLoopInfo.cpp107 BasicBlock *Preheader = getLoopPreheader(); in makeLoopInvariant()
297 return getLoopPreheader() && getLoopLatch() && hasDedicatedExits(); in isLoopSimplifyForm()
DScalarEvolutionExpander.cpp159 BasicBlock *Preheader = L->getLoopPreheader(); in InsertBinop()
529 BasicBlock *Preheader = L->getLoopPreheader(); in expandAddToGEP()
565 BasicBlock *Preheader = L->getLoopPreheader(); in expandAddToGEP()
1393 if (BasicBlock *Preheader = L->getLoopPreheader()) in expand()
/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp388 MachineBasicBlock *Preheader = L->getLoopPreheader(); in findInductionRegister()
569 MachineBasicBlock *Preheader = L->getLoopPreheader(); in getLoopTripCount()
735 if (loopCountMayWrapOrUnderFlow(Start, End, Loop->getLoopPreheader(), Loop, in computeCount()
790 MachineBasicBlock *PH = Loop->getLoopPreheader(); in computeCount()
1156 MachineBasicBlock *Preheader = L->getLoopPreheader(); in convertToHardwareLoop()
1813 if (MachineBasicBlock *TmpPH = L->getLoopPreheader()) in createPreheaderForLoop()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DSplitter.cpp123 MachineBasicBlock *preHeader = loop.getLoopPreheader(); in applyIncoming()
436 assert(loop.getLoopPreheader() == 0 && "Loop already has preheader."); in insertPreHeader()
712 MachineBasicBlock *preHeader = split.getLoop().getLoopPreheader(); in processHeader()
DShrinkWrapping.cpp106 MachineBasicBlock* PHDR = LP->getLoopPreheader(); in getTopLevelLoopPreheader()
109 PHDR = PLP->getLoopPreheader(); in getTopLevelLoopPreheader()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLoopSimplify.cpp201 BasicBlock *Preheader = L->getLoopPreheader(); in ProcessLoop()
747 if (!L->getLoopPreheader() || !L->getLoopLatch()) { in verifyAnalysis()
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp2743 Induction->addIncoming(Start, L->getLoopPreheader()); in createInductionVariable()
2759 IRBuilder<> Builder(L->getLoopPreheader()->getTerminator()); in getOrCreateTripCount()
2790 L->getLoopPreheader()->getTerminator()); in getOrCreateTripCount()
2795 L->getLoopPreheader()->getTerminator()); in getOrCreateTripCount()
2805 IRBuilder<> Builder(L->getLoopPreheader()->getTerminator()); in getOrCreateVectorTripCount()
2835 BasicBlock *BB = L->getLoopPreheader(); in emitMinimumIterationCountCheck()
2859 BasicBlock *BB = L->getLoopPreheader(); in emitVectorLoopEnteredCheck()
2882 BasicBlock *BB = L->getLoopPreheader(); in emitSCEVChecks()
2912 BasicBlock *BB = L->getLoopPreheader(); in emitMemRuntimeChecks()
2979 BasicBlock *VectorPH = OrigLoop->getLoopPreheader(); in createEmptyLoop()
[all …]

12