| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | LoopInfo.h | 453 Loop *ToLoop = getLoopFor(I->getParent()); in replacementPreservesLCSSAForm() 459 return ToLoop->contains(getLoopFor(From->getParent())); in replacementPreservesLCSSAForm() 479 auto *OldLoop = getLoopFor(OldBB); in movementPreservesLCSSAForm() 480 auto *NewLoop = getLoopFor(NewBB); in movementPreservesLCSSAForm() 503 if (UBB != NewBB && getLoopFor(UBB) != NewLoop) in movementPreservesLCSSAForm() 525 if (DefBlock != NewBB && getLoopFor(DefBlock) != NewLoop) in movementPreservesLCSSAForm()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LoopSimplifyCFG.cpp | 93 Loop *BBL = LI.getLoopFor(BB); in getInnermostLoopFor() 251 bool TakeFoldCandidate = TheOnlySucc && LI.getLoopFor(BB) == &L; in analyze() 289 return !TheOnlySucc || TheOnlySucc == To || LI.getLoopFor(From) != &L; in analyze() 398 if (Loop *OuterLoop = LI.getLoopFor(Preheader)) { in handleDeadExits() 462 assert(LI.getLoopFor(BB) != &L && "Attempt to remove current loop!"); in deleteDeadLoopBlocks() 463 Loop *DL = LI.getLoopFor(BB); in deleteDeadLoopBlocks() 495 assert(LI.getLoopFor(BB) == &L && "Should be a loop block!"); in foldTerminators() 697 if (!Pred || !Pred->getSingleSuccessor() || LI.getLoopFor(Pred) != &L) in mergeBlocksIntoPredecessors()
|
| H A D | Sink.cpp | 92 Loop *succ = LI.getLoopFor(SuccToSinkTo); in IsAcceptableTarget() 93 Loop *cur = LI.getLoopFor(Inst->getParent()); in IsAcceptableTarget()
|
| H A D | SimpleLoopUnswitch.cpp | 427 if (Loop *ExitL = LI.getLoopFor(ExitBB)) in hoistLoopToNewParent() 441 assert(OldParentL == LI.getLoopFor(&Preheader) && in hoistLoopToNewParent() 488 Loop *TopMost = LI.getLoopFor(ExitBB); in getTopMostExitingLoop() 1377 if (LI.getLoopFor(BB) == &OrigL) in cloneLoopNest() 1449 if (Loop *ExitL = LI.getLoopFor(ExitBB)) { in buildClonedLoops() 1537 if (LI.getLoopFor(BB) == &OrigL) { in buildClonedLoops() 1652 assert(LI.getLoopFor(BB) == OuterL && in buildClonedLoops() 1848 if (Loop *InnerL = LI.getLoopFor(BB)) in recomputeLoopBlockSet() 1925 if (Loop *ExitL = LI.getLoopFor(ExitBB)) { in rebuildLoopAfterUnswitch() 2005 Loop &ExitL = *LI.getLoopFor(ExitBB); in rebuildLoopAfterUnswitch() [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 | 198 if (MachineLoop *L = MLI.getLoopFor(&MBB)) in sortBlocks() 245 if (MachineLoop *SuccL = MLI.getLoopFor(Succ)) in sortBlocks()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | ShrinkWrap.cpp | 651 MLI->getLoopFor(NewSave))) in postShrinkWrapping() 681 assert((!MLI->getLoopFor(Save) && !MLI->getLoopFor(Restore)) && in postShrinkWrapping() 762 MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints() 773 if (Restore && (MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints() 784 MLI->getLoopFor(Restore)->getExitingBlocks(ExitBlocks); in updateSaveRestorePoints()
|
| H A D | MachineTraceMetrics.cpp | 182 MachineTraceMetrics::Ensemble::getLoopFor(const MachineBasicBlock *MBB) const { in getLoopFor() function in MachineTraceMetrics::Ensemble 183 return MTM.Loops->getLoopFor(MBB); in getLoopFor() 357 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTracePred() 385 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTraceSucc() 393 if (isExitingLoop(CurLoop, getLoopFor(Succ))) in pickTraceSucc() 507 if (const MachineLoop *FromLoop = LB.Loops->getLoopFor(*From)) { in insertEdge() 512 if (isExitingLoop(FromLoop, LB.Loops->getLoopFor(To))) in insertEdge() 644 const MachineLoop *Loop = getLoopFor(MBB); in verify() 652 const MachineLoop *Loop = getLoopFor(MBB); in verify() 653 const MachineLoop *SuccLoop = getLoopFor(TBI.Succ); in verify() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | BreakCriticalEdges.cpp | 133 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitKnownCriticalEdge() 147 if (LI->getLoopFor(P) != TIL) { in SplitKnownCriticalEdge() 264 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitKnownCriticalEdge() 267 if (Loop *DestLoop = LI->getLoopFor(DestBB)) { in SplitKnownCriticalEdge()
|
| H A D | LCSSA.cpp | 100 Loop *L = LI.getLoopFor(InstBB); in formLCSSAForInstructionsImpl() 202 if (auto *OtherLoop = LI.getLoopFor(ExitBB)) in formLCSSAForInstructionsImpl() 282 if (auto *OtherLoop = LI.getLoopFor(InsertedPN->getParent())) in formLCSSAForInstructionsImpl() 415 if (LI->getLoopFor(BB) != &L) in formLCSSAImpl()
|
| H A D | FixIrreducible.cpp | 151 if (LI.getLoopFor(BB) != Child) in INITIALIZE_PASS_DEPENDENCY() 180 Loop *ParentLoop = LI.getLoopFor(CycleHeader); in updateLoopInfo() 204 if (LI.getLoopFor(BB) == ParentLoop) { in updateLoopInfo()
|
| H A D | BasicBlockUtils.cpp | 708 if (Loop *BBLoop = LI->getLoopFor(BB)) { in ehAwareSplitEdge() 722 if (LI->getLoopFor(P) != BBLoop) { in ehAwareSplitEdge() 791 if (Loop *BBLoop = LI->getLoopFor(BB)) { in ehAwareSplitEdge() 794 if (Loop *SuccLoop = LI->getLoopFor(Succ)) { in ehAwareSplitEdge() 909 if (Loop *L = LI->getLoopFor(Old)) in SplitBlockImpl() 974 if (Loop *L = LI->getLoopFor(Old)) in splitBlockBefore() 1053 Loop *L = LI->getLoopFor(OldBB); in UpdateAnalysisInformation() 1069 if (Loop *PL = LI->getLoopFor(Pred)) in UpdateAnalysisInformation() 1094 if (Loop *PredLoop = LI->getLoopFor(Pred)) { in UpdateAnalysisInformation() 1219 L = LI->getLoopFor(BB); in SplitBlockPredecessorsImpl() [all …]
|
| H A D | LoopUnroll.cpp | 125 if (LI->getLoopFor(BB) == L) in needToInsertPhisForLCSSA() 130 Loop *DefLoop = LI->getLoopFor(Def->getParent()); in needToInsertPhisForLCSSA() 150 const Loop *OldLoop = LI->getLoopFor(OriginalBB); in addClonedBlockToLoopInfo() 723 assert((*BB != Header || LI->getLoopFor(*BB) == L) && in UnrollLoop() 1067 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() 305 const Loop *L = LI->getLoopFor(SDiv->getParent()); in eliminateSDiv() 382 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent()); in simplifyIVRemainder() 1017 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/include/llvm/Support/ |
| H A D | GenericLoopInfo.h | 606 LoopT *getLoopFor(const BlockT *BB) const { return BBMap.lookup(BB); } in getLoopFor() function 609 const LoopT *operator[](const BlockT *BB) const { return getLoopFor(BB); } 614 const LoopT *L = getLoopFor(BB); in getLoopDepth() 620 const LoopT *L = getLoopFor(BB); in isLoopHeader()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MustExecute.cpp | 340 Loop *L = LI.getLoopFor(I.getParent()); in MustExecuteAnnotatedWriter() 353 Loop *L = LI.getLoopFor(I.getParent()); in MustExecuteAnnotatedWriter() 421 const Loop *L = LI ? LI->getLoopFor(InitBB) : nullptr; in findForwardJoinPoint() 526 const Loop *L = LI->getLoopFor(ToBB); in findForwardJoinPoint() 563 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 | IVUsers.cpp | 65 SE->getSCEVAtScope(AR, LI->getLoopFor(I->getParent())) != AR); in isInteresting() 190 if (LI->getLoopFor(User->getParent()) != L) { in AddUsersIfInteresting()
|
| H A D | CFG.cpp | 130 const Loop *L = LI->getLoopFor(BB); in getOutermostLoop() 299 if (LI && LI->getLoopFor(BB) != nullptr) in isPotentiallyReachable()
|
| /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 | SIAnnotateControlFlow.cpp | 227 if (LI->getLoopFor(Parent) == L) { in handleLoopCondition() 263 llvm::Loop *L = LI->getLoopFor(BB); in handleLoop() 298 llvm::Loop *L = LI->getLoopFor(BB); in closeControlFlow()
|
| H A D | SIOptimizeVGPRLiveRange.cpp | 257 Loops->getLoopFor(DefMBB) == Loops->getLoopFor(If)) { in collectCandidateRegisters() 302 Loops->getLoopFor(DefMBB) == Loops->getLoopFor(If)) in collectCandidateRegisters()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonEarlyIfConv.cpp | 227 MachineLoop *L = MLI->getLoopFor(SB); in isPreheader() 287 bool TOk = (TNP == 1 && TNS == 1 && MLI->getLoopFor(TB) == L); in matchFlowPattern() 288 bool FOk = (FNP == 1 && FNS == 1 && MLI->getLoopFor(FB) == L); in matchFlowPattern() 292 if (SkipExitBranches && MLI->getLoopFor(TB) != MLI->getLoopFor(FB)) in matchFlowPattern() 614 if (MLI->getLoopFor(B) != L) in visitBlock()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/Analysis/ |
| H A D | SPIRVConvergenceRegionAnalysis.cpp | 205 auto *L = LI.getLoopFor(To); in isBackEdge() 234 auto *L = LI.getLoopFor(From); in findPathsToMatch()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/ |
| H A D | CFGMST.h | 167 Loop *TargetLoop = LI->getLoopFor(TargetBB); in buildEdges() 277 !LI->getLoopFor(Ei->DestBB)->contains(Ei->SrcBB) && Ei->InMST) in validateLoopEntryInstrumentation()
|