/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()
|
/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopInterchange.cpp | 652 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()
|
D | LoopSink.cpp | 166 BFI.getBlockFreq(L.getLoopPreheader())) in findBBsToSinkInto() 254 BasicBlock *Preheader = L.getLoopPreheader(); in sinkLoopInvariantInstructions() 284 if (BFI.getBlockFreq(B) < BFI.getBlockFreq(L.getLoopPreheader())) { in sinkLoopInvariantInstructions()
|
D | LoopDeletion.cpp | 97 auto *Preheader = L->getLoopPreheader(); in isLoopNeverExecuted() 143 BasicBlock *Preheader = L->getLoopPreheader(); in deleteLoopIfDead()
|
D | LoopDistribute.cpp | 431 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()
|
D | LoopIdiomRecognize.cpp | 276 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()
|
D | SimpleLoopUnswitch.cpp | 407 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()
|
D | IndVarSimplify.cpp | 766 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/ |
D | MachineLoopInfo.cpp | 93 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/ |
D | LoopVersioning.cpp | 63 BasicBlock *RuntimeCheckBB = VersionedLoop->getLoopPreheader(); in versionLoop() 111 BranchInst::Create(NonVersionedLoop->getLoopPreheader(), in versionLoop() 112 VersionedLoop->getLoopPreheader(), RuntimeCheck, OrigTerm); in versionLoop()
|
D | LoopUnrollAndJam.cpp | 71 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()
|
D | LoopUnroll.cpp | 245 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/ |
D | LoopInfo.cpp | 88 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/ |
D | HexagonVectorLoopCarriedReuse.cpp | 314 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/ |
D | VPlanHCFGBuilder.cpp | 139 BasicBlock *PH = TheLoop->getLoopPreheader(); in isExternalDef() 249 BasicBlock *PreheaderBB = TheLoop->getLoopPreheader(); in buildPlainCFG()
|
/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()
|
/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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Vectorize/ |
D | VPlanLoopInfoTest.cpp | 80 EXPECT_EQ(PH, VPLp->getLoopPreheader()); in TEST_F()
|