Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DHardwareLoops.cpp301 BasicBlock *Preheader = L->getLoopPreheader(); in TryConvertLoop()
342 BasicBlock *Preheader = L->getLoopPreheader(); in CanGenerateTest()
400 BasicBlock *BB = L->getLoopPreheader(); in InitLoopCount()
422 BeginBB = UseLoopGuard ? BB : L->getLoopPreheader(); in InitLoopCount()
445 if (LoopGuard->getSuccessor(0) != L->getLoopPreheader()) in InsertIterationSetup()
490 BasicBlock *Preheader = L->getLoopPreheader(); in InsertPHICounter()
DMachineLoopInfo.cpp100 if (MachineBasicBlock *PHeadMBB = getLoopPreheader()) in getStartLoc()
117 if (MachineBasicBlock *PB = L->getLoopPreheader()) in findLoopPreheader()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopSink.cpp166 BFI.getBlockFreq(L.getLoopPreheader())) in findBBsToSinkInto()
256 BasicBlock *Preheader = L.getLoopPreheader(); in sinkLoopInvariantInstructions()
287 if (BFI.getBlockFreq(B) < BFI.getBlockFreq(L.getLoopPreheader())) { in sinkLoopInvariantInstructions()
DLoopDeletion.cpp97 auto *Preheader = L->getLoopPreheader(); in isLoopNeverExecuted()
143 BasicBlock *Preheader = L->getLoopPreheader(); in deleteLoopIfDead()
DLoopInterchange.cpp597 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in tightlyNested()
630 BasicBlock *InnerLoopPreheader = InnerLoop->getLoopPreheader(); in isLoopStructureUnderstood()
723 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in currentLimitations()
1230 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in transform()
1440 BasicBlock *OuterLoopPreHeader = OuterLoop->getLoopPreheader(); in adjustLoopBranches()
1441 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in adjustLoopBranches()
1586 BasicBlock *OuterLoopPreHeader = OuterLoop->getLoopPreheader(); in adjustLoopPreheaders()
1587 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in adjustLoopPreheaders()
DLoopIdiomRecognize.cpp299 if (!L->getLoopPreheader()) in runOnLoop()
899 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStridedStore()
1019 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStoreOfLoopLoad()
1321 Value *T = matchCondition(PreCondBr, CurLoop->getLoopPreheader()); in detectPopcountIdiom()
1394 InitX = PhiX->getIncomingValueForBlock(CurLoop->getLoopPreheader()); in detectShiftUntilZeroIdiom()
1476 BasicBlock *PH = CurLoop->getLoopPreheader(); in recognizeAndInsertFFS()
1549 BasicBlock *PH = CurLoop->getLoopPreheader(); in recognizePopcount()
1727 BasicBlock *PreHead = CurLoop->getLoopPreheader(); in transformLoopToPopcount()
DLoopDistribute.cpp443 BasicBlock *OrigPH = L->getLoopPreheader(); in cloneLoops()
468 I != E; ++I, --Index, TopPH = NewLoop->getLoopPreheader()) { in cloneLoops()
490 Next->getDistributedLoop()->getLoopPreheader(), in cloneLoops()
679 BasicBlock *PH = L->getLoopPreheader(); in processLoop()
DSimpleLoopUnswitch.cpp448 BasicBlock *OldPH = L.getLoopPreheader(); in unswitchTrivialBranch()
688 BasicBlock *OldPH = L.getLoopPreheader(); in unswitchTrivialSwitch()
1222 auto *OrigPH = OrigL.getLoopPreheader(); in buildClonedLoops()
1584 auto *PH = L.getLoopPreheader(); in recomputeLoopBlockSet()
1633 auto *InnerPH = InnerL->getLoopPreheader(); in recomputeLoopBlockSet()
1694 auto *PH = L.getLoopPreheader(); in rebuildLoopAfterUnswitch()
1869 if (auto *NewParentL = LI.getLoopFor(HoistedL->getLoopPreheader())) in rebuildLoopAfterUnswitch()
2034 BasicBlock *SplitBB = L.getLoopPreheader(); in unswitchNontrivialInvariants()
DIndVarSimplify.cpp800 auto *LoopPreheader = L->getLoopPreheader(); in rewriteFirstIterationLoopExitValues()
821 BasicBlock *Preheader = L->getLoopPreheader(); in canLoopBeDeleted()
1077 L && L->getLoopPreheader() && L->isLoopInvariant(NarrowOper); in createExtendInst()
1079 Builder.SetInsertPoint(L->getLoopPreheader()->getTerminator()); in createExtendInst()
2571 BasicBlock *Preheader = L->getLoopPreheader(); in sinkUnusedInvariants()
2945 Rewriter.setInsertPoint(L->getLoopPreheader()->getTerminator()); in predicateLoopExits()
2946 IRBuilder<> B(L->getLoopPreheader()->getTerminator()); in predicateLoopExits()
3100 if (!AR || AR->getLoop()->getLoopPreheader()) in run()
DLoopSimplifyCFG.cpp356 BasicBlock *Preheader = L.getLoopPreheader(); in handleDeadExits()
382 assert(L.getLoopPreheader() == NewPreheader && "Malformed CFG?"); in handleDeadExits()
DLICM.cpp372 BasicBlock *Preheader = L->getLoopPreheader(); in runOnLoop()
689 return CurLoop->getLoopPreheader(); in getOrCreateHoistedBlock()
704 BasicBlock *InitialPreheader = CurLoop->getLoopPreheader(); in getOrCreateHoistedBlock()
786 assert(CurLoop->getLoopPreheader() && in getOrCreateHoistedBlock()
859 CurLoop->getLoopPreheader()->getTerminator())) { in hoistRegion()
1894 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in promoteLoopAccessesToScalars()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopVersioning.cpp64 BasicBlock *RuntimeCheckBB = VersionedLoop->getLoopPreheader(); in versionLoop()
112 BranchInst::Create(NonVersionedLoop->getLoopPreheader(), in versionLoop()
113 VersionedLoop->getLoopPreheader(), RuntimeCheck, OrigTerm); in versionLoop()
DLoopUnrollAndJam.cpp69 BasicBlock *SubLoopPreHeader = SubLoop->getLoopPreheader(); in partitionOuterLoopBlocks()
248 BasicBlock *Preheader = L->getLoopPreheader(); in UnrollAndJamLoop()
277 ForeBlocksLast.push_back(SubLoop->getLoopPreheader()); in UnrollAndJamLoop()
287 Header, LatchBlock, SubLoop->getLoopPreheader()->getTerminator(), in UnrollAndJamLoop()
DLoopRotationUtils.cpp266 BasicBlock *OrigPreheader = L->getLoopPreheader(); in rotateLoop()
505 assert(L->getLoopPreheader() && "Invalid loop preheader after loop rotation"); in rotateLoop()
DLoopUnroll.cpp187 BasicBlock *PreHeader = L->getLoopPreheader(); in isEpilogProfitable()
283 BasicBlock *Preheader = L->getLoopPreheader(); in UnrollLoop()
411 Preheader = L->getLoopPreheader(); in UnrollLoop()
DLoopUnrollPeel.cpp498 BasicBlock *PreHeader = L->getLoopPreheader(); in cloneLoopBlocks()
610 BasicBlock *PreHeader = L->getLoopPreheader(); in peelLoop()
DLoopSimplify.cpp537 BasicBlock *Preheader = L->getLoopPreheader(); in simplifyOneLoop()
889 if (!L->getLoopPreheader() || !L->getLoopLatch()) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMVETailPredication.cpp142 BasicBlock *Preheader = L->getLoopPreheader(); in runOnLoop()
279 Value *OnEntry = Phi->getIncomingValueForBlock(L->getLoopPreheader()); in isTailPredicate()
394 Instruction *InsertPt = L->getLoopPreheader()->getTerminator(); in ComputeElements()
469 Processed->addIncoming(NumElements, L->getLoopPreheader()); in InsertVCTPIntrinsic()
DARMLowOverheadLoops.cpp587 if (auto *Preheader = ML->getLoopPreheader()) in ProcessLoop()
612 if (auto *Preheader = ML->getLoopPreheader()) in ProcessLoop()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlanHCFGBuilder.cpp141 BasicBlock *PH = TheLoop->getLoopPreheader(); in isExternalDef()
252 BasicBlock *PreheaderBB = TheLoop->getLoopPreheader(); in buildPlainCFG()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopInfo.cpp94 BasicBlock *Preheader = getLoopPreheader(); in makeLoopInvariant()
368 BasicBlock *Preheader = getLoopPreheader(); in getLoopGuardBranch()
468 return getLoopPreheader() && getLoopLatch() && hasDedicatedExits(); in isLoopSimplifyForm()
635 if (BasicBlock *PHeadBB = getLoopPreheader()) in getLocRange()
952 auto *PreHeader = L.getLoopPreheader(); in printLoop()
DIVDescriptors.cpp204 Value *RdxStart = Phi->getIncomingValueForBlock(TheLoop->getLoopPreheader()); in AddReductionVar()
681 auto *Preheader = TheLoop->getLoopPreheader(); in isFirstOrderRecurrence()
1078 Phi->getIncomingValueForBlock(AR->getLoop()->getLoopPreheader()); in isInductionPHI()
DScalarEvolutionExpander.cpp219 BasicBlock *Preheader = L->getLoopPreheader(); in InsertBinop()
548 BasicBlock *Preheader = L->getLoopPreheader(); in expandAddToGEP()
575 BasicBlock *Preheader = L->getLoopPreheader(); in expandAddToGEP()
1041 (IVOper = getIVIncOperand(IVOper, L->getLoopPreheader()->getTerminator(), in isExpandedAddRecExprPHI()
1263 assert(L->getLoopPreheader() && in getAddRecExprPHILiterally()
1266 L->getLoopPreheader()->getTerminator()); in getAddRecExprPHILiterally()
1840 if (BasicBlock *Preheader = L->getLoopPreheader()) in expand()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonVectorLoopCarriedReuse.cpp322 if (!L->getLoopPreheader()) in INITIALIZE_PASS_DEPENDENCY()
609 BasicBlock *LoopPH = CurLoop->getLoopPreheader(); in reuseValue()
709 PN->getIncomingValueForBlock(CurLoop->getLoopPreheader()); in findDepChainFromPHI()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp278 auto PreheaderCount = BFI->getBlockProfileCount(L.getLoopPreheader()); in run()
287 L.getLoopPreheader(), ExitBlocks, in run()
329 BasicBlock *PH = LP->getLoopPreheader(); in getMaxNumOfPromotionsInLoop()

12