/external/llvm/lib/Transforms/Utils/ |
D | LoopVersioning.cpp | 39 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()
|
D | LoopUtils.cpp | 174 Value *RdxStart = Phi->getIncomingValueForBlock(TheLoop->getLoopPreheader()); in AddReductionVar() 532 auto *Preheader = TheLoop->getLoopPreheader(); in isFirstOrderRecurrence() 779 Phi->getIncomingValueForBlock(AR->getLoop()->getLoopPreheader()); in isInductionPHI()
|
D | LoopSimplify.cpp | 525 BasicBlock *Preheader = L->getLoopPreheader(); in simplifyOneLoop() 846 if (!L->getLoopPreheader() || !L->getLoopLatch()) {
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopInterchange.cpp | 640 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 …]
|
D | LoopDistribute.cpp | 395 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()
|
D | LoopIdiomRecognize.cpp | 224 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()
|
D | LoopVersioningLICM.cpp | 210 if (!CurLoop->getLoopPreheader()) { in legalLoopStructure() 522 Preheader = L->getLoopPreheader(); in runOnLoop()
|
D | IndVarSimplify.cpp | 721 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()
|
D | LICM.cpp | 225 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()
|
D | LoopDeletion.cpp | 106 BasicBlock *preheader = L->getLoopPreheader(); in runImpl()
|
D | LoopRotation.cpp | 240 BasicBlock *OrigPreheader = L->getLoopPreheader(); in rotateLoop() 462 assert(L->getLoopPreheader() && "Invalid loop preheader after loop rotation"); in rotateLoop()
|
D | InductiveRangeCheckElimination.cpp | 634 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/ |
D | LoopRotation.cpp | 185 BasicBlock *OrigPreheader = L->getLoopPreheader(); in rotateLoop() 341 assert(L->getLoopPreheader() && "Invalid loop preheader after loop rotation"); in rotateLoop()
|
D | IndVarSimplify.cpp | 869 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()
|
D | LoopIdiomRecognize.cpp | 473 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStridedStore() 562 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStoreOfLoopLoad()
|
D | LoopDeletion.cpp | 133 BasicBlock* preheader = L->getLoopPreheader(); in runOnLoop()
|
/external/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 86 BasicBlock *Preheader = getLoopPreheader(); in makeLoopInvariant() 188 return getLoopPreheader() && getLoopLatch() && hasDedicatedExits(); in isLoopSimplifyForm() 310 if (BasicBlock *PHeadBB = getLoopPreheader()) in getStartLoc()
|
D | ScalarEvolutionExpander.cpp | 204 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/ |
D | LoopInfo.cpp | 107 BasicBlock *Preheader = getLoopPreheader(); in makeLoopInvariant() 297 return getLoopPreheader() && getLoopLatch() && hasDedicatedExits(); in isLoopSimplifyForm()
|
D | ScalarEvolutionExpander.cpp | 159 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/ |
D | HexagonHardwareLoops.cpp | 388 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/ |
D | Splitter.cpp | 123 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()
|
D | ShrinkWrapping.cpp | 106 MachineBasicBlock* PHDR = LP->getLoopPreheader(); in getTopLevelLoopPreheader() 109 PHDR = PLP->getLoopPreheader(); in getTopLevelLoopPreheader()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | LoopSimplify.cpp | 201 BasicBlock *Preheader = L->getLoopPreheader(); in ProcessLoop() 747 if (!L->getLoopPreheader() || !L->getLoopLatch()) { in verifyAnalysis()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | LoopVectorize.cpp | 2743 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 …]
|