Home
last modified time | relevance | path

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

1234

/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()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp652 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in tightlyNested()
684 BasicBlock *InnerLoopPreheader = InnerLoop->getLoopPreheader(); in isLoopStructureUnderstood()
745 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in currentLimitations()
1020 BasicBlock *OuterLoopPreHeader = OuterLoop->getLoopPreheader(); in canInterchangeLoops()
1021 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in canInterchangeLoops()
1268 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in transform()
1364 BasicBlock *OuterLoopPreHeader = OuterLoop->getLoopPreheader(); in adjustLoopBranches()
1365 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in adjustLoopBranches()
1491 BasicBlock *OuterLoopPreHeader = OuterLoop->getLoopPreheader(); in adjustLoopPreheaders()
1492 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in adjustLoopPreheaders()
DLoopSink.cpp166 BFI.getBlockFreq(L.getLoopPreheader())) in findBBsToSinkInto()
254 BasicBlock *Preheader = L.getLoopPreheader(); in sinkLoopInvariantInstructions()
284 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()
DLoopDistribute.cpp431 BasicBlock *OrigPH = L->getLoopPreheader(); in cloneLoops()
453 I != E; ++I, --Index, TopPH = NewLoop->getLoopPreheader()) { in cloneLoops()
471 Next->getDistributedLoop()->getLoopPreheader(), in cloneLoops()
647 BasicBlock *PH = L->getLoopPreheader(); in processLoop()
DLoopIdiomRecognize.cpp276 if (!L->getLoopPreheader()) in runOnLoop()
867 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStridedStore()
980 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStoreOfLoopLoad()
1262 Value *T = matchCondition(PreCondBr, CurLoop->getLoopPreheader()); in detectPopcountIdiom()
1401 BasicBlock *PH = CurLoop->getLoopPreheader(); in recognizeAndInsertCTLZ()
1472 BasicBlock *PH = CurLoop->getLoopPreheader(); in recognizePopcount()
1649 BasicBlock *PreHead = CurLoop->getLoopPreheader(); in transformLoopToPopcount()
DSimpleLoopUnswitch.cpp407 BasicBlock *OldPH = L.getLoopPreheader(); in unswitchTrivialBranch()
605 BasicBlock *OldPH = L.getLoopPreheader(); in unswitchTrivialSwitch()
1106 auto *OrigPH = OrigL.getLoopPreheader(); in buildClonedLoops()
1450 auto *PH = L.getLoopPreheader(); in recomputeLoopBlockSet()
1499 auto *InnerPH = InnerL->getLoopPreheader(); in recomputeLoopBlockSet()
1560 auto *PH = L.getLoopPreheader(); in rebuildLoopAfterUnswitch()
1736 if (auto *NewParentL = LI.getLoopFor(HoistedL->getLoopPreheader())) in rebuildLoopAfterUnswitch()
1905 BasicBlock *SplitBB = L.getLoopPreheader(); in unswitchNontrivialInvariants()
DIndVarSimplify.cpp766 auto *LoopPreheader = L->getLoopPreheader(); in rewriteFirstIterationLoopExitValues()
785 BasicBlock *Preheader = L->getLoopPreheader(); in canLoopBeDeleted()
1050 L && L->getLoopPreheader() && isLoopInvariant(NarrowOper, L, DT); in createExtendInst()
1052 Builder.SetInsertPoint(L->getLoopPreheader()->getTerminator()); in createExtendInst()
2138 Value *GEPBase = IndVar->getIncomingValueForBlock(L->getLoopPreheader()); in genLoopLimit()
2147 IRBuilder<> Builder(L->getLoopPreheader()->getTerminator()); in genLoopLimit()
2338 BasicBlock *Preheader = L->getLoopPreheader(); in sinkUnusedInvariants()
2486 if (!AR || AR->getLoop()->getLoopPreheader()) in run()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineLoopInfo.cpp93 if (MachineBasicBlock *PHeadMBB = getLoopPreheader()) in getStartLoc()
110 if (MachineBasicBlock *PB = L->getLoopPreheader()) in findLoopPreheader()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopVersioning.cpp63 BasicBlock *RuntimeCheckBB = VersionedLoop->getLoopPreheader(); in versionLoop()
111 BranchInst::Create(NonVersionedLoop->getLoopPreheader(), in versionLoop()
112 VersionedLoop->getLoopPreheader(), RuntimeCheck, OrigTerm); in versionLoop()
DLoopUnrollAndJam.cpp71 BasicBlock *SubLoopPreHeader = SubLoop->getLoopPreheader(); in partitionOuterLoopBlocks()
246 BasicBlock *Preheader = L->getLoopPreheader(); in UnrollAndJamLoop()
274 ForeBlocksLast.push_back(SubLoop->getLoopPreheader()); in UnrollAndJamLoop()
284 Header, LatchBlock, SubLoop->getLoopPreheader()->getTerminator(), in UnrollAndJamLoop()
DLoopUnroll.cpp245 BasicBlock *PreHeader = L->getLoopPreheader(); in isEpilogProfitable()
340 BasicBlock *Preheader = L->getLoopPreheader(); in UnrollLoop()
445 Preheader = L->getLoopPreheader(); in UnrollLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoopInfo.cpp88 BasicBlock *Preheader = getLoopPreheader(); in makeLoopInvariant()
195 return getLoopPreheader() && getLoopLatch() && hasDedicatedExits(); in isLoopSimplifyForm()
369 if (BasicBlock *PHeadBB = getLoopPreheader()) in getLocRange()
686 auto *PreHeader = L.getLoopPreheader(); in printLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonVectorLoopCarriedReuse.cpp314 if (!L->getLoopPreheader()) in INITIALIZE_PASS_DEPENDENCY()
473 BasicBlock *LoopPH = CurLoop->getLoopPreheader(); in reuseValue()
590 PN->getIncomingValueForBlock(CurLoop->getLoopPreheader()); in findDepChainFromPHI()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DVPlanHCFGBuilder.cpp139 BasicBlock *PH = TheLoop->getLoopPreheader(); in isExternalDef()
249 BasicBlock *PreheaderBB = TheLoop->getLoopPreheader(); in buildPlainCFG()
/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()
/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()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Vectorize/
DVPlanLoopInfoTest.cpp80 EXPECT_EQ(PH, VPLp->getLoopPreheader()); in TEST_F()

1234