/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VPlanHCFGBuilder.cpp | 87 Loop *LoopForBB = LI->getLoopFor(BB); in setVPBBPredsFromBB() 88 if (!SinglePred || LI->getLoopFor(SinglePred) == LoopForBB) in setVPBBPredsFromBB() 92 assert(SinglePred == LI->getLoopFor(SinglePred)->getLoopLatch() && in setVPBBPredsFromBB() 118 Loop *LoopOfBB = LI->getLoopFor(BB); in setRegionPredsFromBB() 133 Loop *L = LI->getLoopFor(Phi->getParent()); in fixPhiNodes() 189 Loop *LoopOfBB = LI->getLoopFor(BB); in getOrCreateVPBB() 349 Loop2Region[LI->getLoopFor(TheLoop->getHeader())] = TheRegion; in buildPlainCFG() 391 Loop *LoopForBB = LI->getLoopFor(BB); in buildPlainCFG()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | LoopInfo.h | 456 Loop *ToLoop = getLoopFor(I->getParent()); in replacementPreservesLCSSAForm() 462 return ToLoop->contains(getLoopFor(From->getParent())); in replacementPreservesLCSSAForm() 482 auto *OldLoop = getLoopFor(OldBB); in movementPreservesLCSSAForm() 483 auto *NewLoop = getLoopFor(NewBB); in movementPreservesLCSSAForm() 506 if (UBB != NewBB && getLoopFor(UBB) != NewLoop) in movementPreservesLCSSAForm() 528 if (DefBlock != NewBB && getLoopFor(DefBlock) != NewLoop) in movementPreservesLCSSAForm()
|
H A D | CFG.h | 153 for (const auto *Lp = LI.getLoopFor(Src); Lp; Lp = Lp->getParentLoop()) { in containsIrreducibleCFG()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopSimplifyCFG.cpp | 93 Loop *BBL = LI.getLoopFor(BB); in getInnermostLoopFor() 236 bool TakeFoldCandidate = TheOnlySucc && LI.getLoopFor(BB) == &L; in analyze() 274 return !TheOnlySucc || TheOnlySucc == To || LI.getLoopFor(From) != &L; in analyze() 384 if (Loop *OuterLoop = LI.getLoopFor(Preheader)) { in handleDeadExits() 448 assert(LI.getLoopFor(BB) != &L && "Attempt to remove current loop!"); in deleteDeadLoopBlocks() 449 Loop *DL = LI.getLoopFor(BB); in deleteDeadLoopBlocks() 481 assert(LI.getLoopFor(BB) == &L && "Should be a loop block!"); in foldTerminators() 677 if (!Pred || !Pred->getSingleSuccessor() || LI.getLoopFor(Pred) != &L) in mergeBlocksIntoPredecessors()
|
H A D | Sink.cpp | 91 Loop *succ = LI.getLoopFor(SuccToSinkTo); in IsAcceptableTarget() 92 Loop *cur = LI.getLoopFor(Inst->getParent()); in IsAcceptableTarget()
|
H A D | SimpleLoopUnswitch.cpp | 421 if (Loop *ExitL = LI.getLoopFor(ExitBB)) in hoistLoopToNewParent() 435 assert(OldParentL == LI.getLoopFor(&Preheader) && in hoistLoopToNewParent() 482 Loop *TopMost = LI.getLoopFor(ExitBB); in getTopMostExitingLoop() 1372 if (LI.getLoopFor(BB) == &OrigL) in cloneLoopNest() 1444 if (Loop *ExitL = LI.getLoopFor(ExitBB)) { in buildClonedLoops() 1532 if (LI.getLoopFor(BB) == &OrigL) { in buildClonedLoops() 1647 assert(LI.getLoopFor(BB) == OuterL && in buildClonedLoops() 1843 if (Loop *InnerL = LI.getLoopFor(BB)) in recomputeLoopBlockSet() 1920 if (Loop *ExitL = LI.getLoopFor(ExitBB)) { in rebuildLoopAfterUnswitch() 2000 Loop &ExitL = *LI.getLoopFor(ExitB in rebuildLoopAfterUnswitch() [all...] |
H A D | TLSVariableHoist.cpp | 154 if (LI->getLoopFor(BB)) in oneUseOutsideLoop() 203 if (Loop *L = LI->getLoopFor(BB)) { in findInsertPos()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | ShrinkWrap.cpp | 648 MLI->getLoopFor(NewSave))) in postShrinkWrapping() 678 assert((!MLI->getLoopFor(Save) && !MLI->getLoopFor(Restore)) && in postShrinkWrapping() 759 MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints() 770 if (Restore && (MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints() 781 MLI->getLoopFor(Restore)->getExitingBlocks(ExitBlocks); in updateSaveRestorePoints()
|
H A D | MachineTraceMetrics.cpp | 168 MachineTraceMetrics::Ensemble::getLoopFor(const MachineBasicBlock *MBB) const { in getLoopFor() function in MachineTraceMetrics::Ensemble 169 return MTM.Loops->getLoopFor(MBB); in getLoopFor() 343 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTracePred() 371 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTraceSucc() 379 if (isExitingLoop(CurLoop, getLoopFor(Succ))) in pickTraceSucc() 478 if (const MachineLoop *FromLoop = LB.Loops->getLoopFor(*From)) { in insertEdge() 483 if (isExitingLoop(FromLoop, LB.Loops->getLoopFor(To))) in insertEdge() 615 const MachineLoop *Loop = getLoopFor(MBB); in verify() 623 const MachineLoop *Loop = getLoopFor(MBB); in verify() 624 const MachineLoop *SuccLoop = getLoopFor(TBI.Succ); in verify() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblySortRegion.cpp | 18 const auto *ML = MLI.getLoopFor(MBB); in getRegionFor() 47 return getBottom(MLI.getLoopFor(R->getHeader())); in getBottom()
|
H A D | WebAssemblyCFGSort.cpp | 199 if (MachineLoop *L = MLI.getLoopFor(&MBB)) in sortBlocks() 246 if (MachineLoop *SuccL = MLI.getLoopFor(Succ)) in sortBlocks()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | BreakCriticalEdges.cpp | 134 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitKnownCriticalEdge() 148 if (LI->getLoopFor(P) != TIL) { in SplitKnownCriticalEdge() 258 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitKnownCriticalEdge() 261 if (Loop *DestLoop = LI->getLoopFor(DestBB)) { in SplitKnownCriticalEdge()
|
H A D | LCSSA.cpp | 98 Loop *L = LI.getLoopFor(InstBB); in formLCSSAForInstructions() 200 if (auto *OtherLoop = LI.getLoopFor(ExitBB)) in formLCSSAForInstructions() 280 if (auto *OtherLoop = LI.getLoopFor(InsertedPN->getParent())) in formLCSSAForInstructions() 396 if (LI->getLoopFor(BB) != &L) in formLCSSA()
|
H A D | BasicBlockUtils.cpp | 848 if (Loop *BBLoop = LI->getLoopFor(BB)) { in ehAwareSplitEdge() 862 if (LI->getLoopFor(P) != BBLoop) { in ehAwareSplitEdge() 931 if (Loop *BBLoop = LI->getLoopFor(BB)) { in ehAwareSplitEdge() 934 if (Loop *SuccLoop = LI->getLoopFor(Succ)) { in ehAwareSplitEdge() 1049 if (Loop *L = LI->getLoopFor(Old)) in SplitBlockImpl() 1114 if (Loop *L = LI->getLoopFor(Old)) in splitBlockBefore() 1193 Loop *L = LI->getLoopFor(OldBB); in UpdateAnalysisInformation() 1209 if (Loop *PL = LI->getLoopFor(Pred)) in UpdateAnalysisInformation() 1234 if (Loop *PredLoop = LI->getLoopFor(Pred)) { in UpdateAnalysisInformation() 1359 L = LI->getLoopFor(BB); in SplitBlockPredecessorsImpl() [all …]
|
H A D | FixIrreducible.cpp | 138 if (LI.getLoopFor(BB) != Child) in INITIALIZE_PASS_DEPENDENCY() 222 if (LI.getLoopFor(BB) == ParentLoop) { in createNaturalLoopInternal()
|
H A D | LoopUnroll.cpp | 129 if (LI->getLoopFor(BB) == L) in needToInsertPhisForLCSSA() 134 Loop *DefLoop = LI->getLoopFor(Def->getParent()); in needToInsertPhisForLCSSA() 154 const Loop *OldLoop = LI->getLoopFor(OriginalBB); in addClonedBlockToLoopInfo() 727 assert((*BB != Header || LI->getLoopFor(*BB) == L) && in UnrollLoop() 1061 Loop *LatchLoop = LI->getLoopFor(Latches.back()); in UnrollLoop()
|
H A D | SimplifyIndVar.cpp | 218 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); in makeIVComparisonInvariant() 263 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); in eliminateIVComparison() 304 const Loop *L = LI->getLoopFor(SDiv->getParent()); in eliminateSDiv() 380 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent()); in simplifyIVRemainder() 1015 SimplifyIndvar SIV(LI->getLoopFor(CurrIV->getParent()), SE, DT, LI, TTI, in simplifyUsersOfIV() 1217 auto *L = LI->getLoopFor(DefI->getParent()); in getInsertPointForUses() 1218 assert(!L || L->contains(LI->getLoopFor(InsertPt->getParent()))); in getInsertPointForUses() 1221 if (LI->getLoopFor(DTN->getBlock()) == L) in getInsertPointForUses() 1231 L(LI->getLoopFor(OrigPhi->getParent())), SE(SEv), DT(DTree), in WidenIV() 1243 for (const Loop *L = LI->getLoopFor(Use->getParent()); in createExtendInst() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MustExecute.cpp | 332 Loop *L = LI.getLoopFor(I.getParent()); in MustExecuteAnnotatedWriter() 345 Loop *L = LI.getLoopFor(I.getParent()); in MustExecuteAnnotatedWriter() 413 const Loop *L = LI ? LI->getLoopFor(InitBB) : nullptr; in findForwardJoinPoint() 518 const Loop *L = LI->getLoopFor(ToBB); in findForwardJoinPoint() 555 const Loop *L = LI ? LI->getLoopFor(InitBB) : nullptr; in findBackwardJoinPoint()
|
H A D | LoopInfo.cpp | 476 return isBlockInLCSSAForm(*LI.getLoopFor(BB), *BB, DT, IgnoreTokens); in isRecursivelyLCSSAForm() 732 Loop *L = LI->getLoopFor(POI); in updateBlockParents() 761 Loop *L = LI->getLoopFor(*POI); in updateBlockParents() 778 Loop *OuterParent = LI->getLoopFor(BB); in removeBlocksFromAncestors() 839 Loop *L = LI->getLoopFor(Succ); in getNearestLoop() 897 if (getLoopFor(BB) != Unloop) in erase() 953 const Loop *L = getLoopFor(I->getParent()); in wouldBeOutOfLoopUseRequiringLCSSA()
|
H A D | CFG.cpp | 129 const Loop *L = LI->getLoopFor(BB); in getOutermostLoop() 298 if (LI && LI->getLoopFor(BB) != nullptr) in isPotentiallyReachable()
|
H A D | IVUsers.cpp | 65 SE->getSCEVAtScope(AR, LI->getLoopFor(I->getParent())) != AR); in isInteresting() 190 if (LI->getLoopFor(User->getParent()) != L) { in AddUsersIfInteresting()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | GenericLoopInfo.h | 602 LoopT *getLoopFor(const BlockT *BB) const { return BBMap.lookup(BB); } 604 /// Same as getLoopFor. 605 const LoopT *operator[](const BlockT *BB) const { return getLoopFor(BB); } 610 const LoopT *L = getLoopFor(BB); 616 const LoopT *L = getLoopFor(BB); 612 LoopT *getLoopFor(const BlockT *BB) const { return BBMap.lookup(BB); } getLoopFor() function
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZMachineScheduler.cpp | 89 LLVM_DEBUG(const MachineLoop *Loop = MLI->getLoopFor(MBB); in enterMBB() 96 getSingleSchedPred(MBB, MLI->getLoopFor(MBB)); in enterMBB()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | SIOptimizeVGPRLiveRange.cpp | 250 Loops->getLoopFor(DefMBB) == Loops->getLoopFor(If)) { in collectCandidateRegisters() 295 Loops->getLoopFor(DefMBB) == Loops->getLoopFor(If)) in collectCandidateRegisters()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonEarlyIfConv.cpp | 234 MachineLoop *L = MLI->getLoopFor(SB); in isPreheader() 294 bool TOk = (TNP == 1 && TNS == 1 && MLI->getLoopFor(TB) == L); in matchFlowPattern() 295 bool FOk = (FNP == 1 && FNS == 1 && MLI->getLoopFor(FB) == L); in matchFlowPattern() 299 if (SkipExitBranches && MLI->getLoopFor(TB) != MLI->getLoopFor(FB)) in matchFlowPattern() 621 if (MLI->getLoopFor(B) != L) in visitBlock()
|