/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopSink.cpp | 161 BFI.getBlockFreq(L.getLoopPreheader())) in findBBsToSinkInto() 195 if (L.getLoopPreheader() == PhiBB) in sinkInstruction() 286 BasicBlock *Preheader = L.getLoopPreheader(); in sinkLoopInvariantInstructions() 311 if (BFI.getBlockFreq(B) < BFI.getBlockFreq(L.getLoopPreheader())) { in sinkLoopInvariantInstructions() 368 BasicBlock *Preheader = L.getLoopPreheader(); in run()
|
H A D | LoopIdiomRecognize.cpp | 294 if (!L->getLoopPreheader()) in runOnLoop() 1024 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStridedStore() 1258 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in processLoopStoreOfLoopLoad() 1636 InitX = VarPhi->getIncomingValueForBlock(CurLoop->getLoopPreheader()); in detectShiftUntilLessThanIdiom() 1786 Value *T = matchCondition(PreCondBr, CurLoop->getLoopPreheader()); in detectPopcountIdiom() 1859 InitX = PhiX->getIncomingValueForBlock(CurLoop->getLoopPreheader()); in detectShiftUntilZeroIdiom() 1948 BasicBlock *PH = CurLoop->getLoopPreheader(); in insertFFSIfProfitable() 2036 BasicBlock *PH = CurLoop->getLoopPreheader(); in recognizeShiftUntilLessThan() 2094 BasicBlock *PH = CurLoop->getLoopPreheader(); in recognizePopcount() 2275 BasicBlock *PreHead = CurLoop->getLoopPreheader(); in transformLoopToPopcount() [all …]
|
H A D | LoopInterchange.cpp | 549 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in tightlyNested() 603 BasicBlock *InnerLoopPreheader = InnerLoop->getLoopPreheader(); in isLoopStructureUnderstood() 1289 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in transform() 1370 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in transform() 1544 BasicBlock *OuterLoopPreHeader = OuterLoop->getLoopPreheader(); in adjustLoopBranches() 1545 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in adjustLoopBranches() 1704 BasicBlock *OuterLoopPreHeader = OuterLoop->getLoopPreheader(); in adjustLoopLinks() 1705 BasicBlock *InnerLoopPreHeader = InnerLoop->getLoopPreheader(); in adjustLoopLinks()
|
H A D | LoopDistribute.cpp | 436 BasicBlock *OrigPH = L->getLoopPreheader(); in cloneLoops() 466 TopPH = NewLoop->getLoopPreheader(); in cloneLoops() 481 Next->getDistributedLoop()->getLoopPreheader(), in cloneLoops() 674 BasicBlock *PH = L->getLoopPreheader(); in processLoop()
|
H A D | IndVarSimplify.cpp | 488 auto *LoopPreheader = L->getLoopPreheader(); in rewriteFirstIterationLoopExitValues() 1098 BasicBlock *Preheader = L->getLoopPreheader(); in sinkUnusedInvariants() 1211 auto *LoopPreheader = L->getLoopPreheader(); in replaceLoopPHINodesWithPreheaderValues() 1250 BasicBlock *Preheader = L->getLoopPreheader(); in createInvariantCond() 1533 L->getLoopPreheader()->getTerminator()->getIterator()); in canonicalizeExitCondition() 1858 Rewriter.setInsertPoint(L->getLoopPreheader()->getTerminator()); in predicateLoopExits() 1859 IRBuilder<> B(L->getLoopPreheader()->getTerminator()); in predicateLoopExits() 1974 BasicBlock *PreHeader = L->getLoopPreheader(); in run()
|
H A D | LICM.cpp | 446 BasicBlock *Preheader = L->getLoopPreheader(); in runOnLoop() 766 return CurLoop->getLoopPreheader(); in getOrCreateHoistedBlock() 780 BasicBlock *InitialPreheader = CurLoop->getLoopPreheader(); in getOrCreateHoistedBlock() 862 assert(CurLoop->getLoopPreheader() && in getOrCreateHoistedBlock() 899 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in hoistRegion() 1990 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in promoteLoopAccessesToScalars() 2458 auto *Preheader = L.getLoopPreheader(); in hoistMinMax() 2520 BasicBlock *Preheader = L.getLoopPreheader(); in hoistGEP() 2569 auto *Preheader = L.getLoopPreheader(); in hoistAdd() 2628 auto *Preheader = L.getLoopPreheader(); in hoistSub() [all …]
|
H A D | LoopFlatten.cpp | 500 InnerPHI.getIncomingValueForBlock(FI.InnerLoop->getLoopPreheader()); in checkPHIs() 658 FI.OuterLoop->getLoopPreheader()->getTerminator())); in checkOverflow() 765 FI.OuterLoop->getLoopPreheader()->getTerminator()->getIterator()); in DoFlattenLoopPair() 968 BasicBlock *CheckBlock = FI.OuterLoop->getLoopPreheader(); in FlattenLoopPair()
|
H A D | SimpleLoopUnswitch.cpp | 318 MemPhi->getIncomingValueForBlock(L.getLoopPreheader()); in buildPartialInvariantUnswitchConditionalBranch() 598 BasicBlock *OldPH = L.getLoopPreheader(); in unswitchTrivialBranch() 863 BasicBlock *OldPH = L.getLoopPreheader(); in unswitchTrivialSwitch() 1427 auto *OrigPH = OrigL.getLoopPreheader(); in buildClonedLoops() 1799 auto *PH = L.getLoopPreheader(); in recomputeLoopBlockSet() 1848 auto *InnerPH = InnerL->getLoopPreheader(); in recomputeLoopBlockSet() 1910 auto *PH = L.getLoopPreheader(); in rebuildLoopAfterUnswitch() 2085 if (auto *NewParentL = LI.getLoopFor(HoistedL->getLoopPreheader())) in rebuildLoopAfterUnswitch() 2309 BasicBlock *SplitBB = L.getLoopPreheader(); in unswitchNontrivialInvariants() 3085 BasicBlock *Preheader = L.getLoopPreheader(); in injectPendingInvariantConditions() [all …]
|
H A D | LoopDeletion.cpp | 150 auto *Preheader = L->getLoopPreheader(); in isLoopNeverExecuted() 445 BasicBlock *Preheader = L->getLoopPreheader(); in deleteLoopIfDead()
|
H A D | LoopBoundSplit.cpp | 352 BasicBlock *PreHeader = L.getLoopPreheader(); in splitLoopBound() 358 BasicBlock *PostLoopPreHeader = PostLoop->getLoopPreheader(); in splitLoopBound()
|
H A D | LoopSimplifyCFG.cpp | 351 BasicBlock *Preheader = L.getLoopPreheader(); in handleDeadExits() 383 assert(L.getLoopPreheader() == NewPreheader && "Malformed CFG?"); in handleDeadExits()
|
H A D | TLSVariableHoist.cpp | 168 BasicBlock *PreHeader = L->getLoopPreheader(); in getNearestLoopDomInst()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | MVETailPredication.cpp | 143 BasicBlock *Preheader = L->getLoopPreheader(); in runOnLoop() 377 IRBuilder<> Builder(L->getLoopPreheader()->getTerminator()); in InsertVCTPIntrinsic() 386 Processed->addIncoming(Start, L->getLoopPreheader()); in InsertVCTPIntrinsic() 441 Instruction *Ins = L->getLoopPreheader()->getTerminator(); in TryConvertActiveLaneMask()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | HardwareLoops.cpp | 361 BasicBlock *Preheader = L->getLoopPreheader(); in TryConvertLoop() 402 BasicBlock *Preheader = L->getLoopPreheader(); in CanGenerateTest() 467 BasicBlock *BB = L->getLoopPreheader(); in InitLoopCount() 496 BeginBB = UseLoopGuard ? BB : L->getLoopPreheader(); in InitLoopCount() 528 if (LoopGuard->getSuccessor(0) != L->getLoopPreheader()) in InsertIterationSetup() 580 BasicBlock *Preheader = L->getLoopPreheader(); in InsertPHICounter()
|
H A D | MachineLoopInfo.cpp | 131 if (MachineBasicBlock *PHeadMBB = getLoopPreheader()) in getStartLoc() 148 if (MachineBasicBlock *PB = L->getLoopPreheader()) in findLoopPreheader()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | LoopVersioning.cpp | 61 BasicBlock *RuntimeCheckBB = VersionedLoop->getLoopPreheader(); in versionLoop() 111 Builder.CreateCondBr(RuntimeCheck, NonVersionedLoop->getLoopPreheader(), in versionLoop() 112 VersionedLoop->getLoopPreheader()); in versionLoop()
|
H A D | LoopUnrollAndJam.cpp | 85 BasicBlock *SubLoopPreHeader = SubLoop->getLoopPreheader(); in partitionLoopBlocks() 293 BasicBlock *Preheader = L->getLoopPreheader(); in UnrollAndJamLoop() 322 ForeBlocksLast.push_back(SubLoop->getLoopPreheader()); in UnrollAndJamLoop()
|
H A D | ScalarEvolutionExpander.cpp | 302 BasicBlock *Preheader = L->getLoopPreheader(); in InsertBinop() 388 BasicBlock *Preheader = L->getLoopPreheader(); in expandAddToGEP() 841 (IVOper = getIVIncOperand(IVOper, L->getLoopPreheader()->getTerminator(), in isExpandedAddRecExprPHI() 1040 assert(L->getLoopPreheader() && in getAddRecExprPHILiterally() 1043 expand(Normalized->getStart(), L->getLoopPreheader()->getTerminator()); in getAddRecExprPHILiterally() 1493 if (BasicBlock *Preheader = L->getLoopPreheader()) { in expand() 2332 if (!AR->getLoop()->getLoopPreheader() && in follow()
|
H A D | CanonicalizeFreezeInLoops.cpp | 133 auto *PH = L->getLoopPreheader(); in InsertFreezeAndForgetFromSCEV()
|
H A D | LoopUnroll.cpp | 205 BasicBlock *PreHeader = L->getLoopPreheader(); in isEpilogProfitable() 466 if (!L->getLoopPreheader()) { in UnrollLoop() 493 BasicBlock *Preheader = L->getLoopPreheader(); in UnrollLoop()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | LoopNestAnalysis.cpp | 163 const BasicBlock *InnerLoopPreHeader = InnerLoop.getLoopPreheader(); in analyzeLoopNestForPerfectNest() 227 const BasicBlock *InnerLoopPreHeader = InnerLoop.getLoopPreheader(); in getInterveningInstructions() 328 const BasicBlock *InnerLoopPreHeader = InnerLoop.getLoopPreheader(); in checkLoopsStructure()
|
H A D | LoopInfo.cpp | 94 BasicBlock *Preheader = getLoopPreheader(); in makeLoopInvariant() 372 BasicBlock *Preheader = getLoopPreheader(); in getLoopGuardBranch() 483 return getLoopPreheader() && getLoopLatch() && hasDedicatedExits(); in isLoopSimplifyForm() 655 if (BasicBlock *PHeadBB = getLoopPreheader()) in getLocRange() 1004 auto *PreHeader = L.getLoopPreheader(); in printLoop()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonVectorLoopCarriedReuse.cpp | 245 if (!CurLoop->getLoopPreheader()) in run() 527 BasicBlock *LoopPH = CurLoop->getLoopPreheader(); in reuseValue() 627 PN->getIncomingValueForBlock(CurLoop->getLoopPreheader()); in findDepChainFromPHI()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanHCFGBuilder.cpp | 233 BasicBlock *PH = TheLoop->getLoopPreheader(); in isExternalDef() 338 BasicBlock *ThePreheaderBB = TheLoop->getLoopPreheader(); in buildPlainCFG()
|
H A D | LoopIdiomVectorize.cpp | 187 if (!L->getLoopPreheader()) in run() 592 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in expandFindMismatch() 846 BasicBlock *Preheader = CurLoop->getLoopPreheader(); in transformByteCompare()
|