Searched refs:getLoopFor (Results 1 - 25 of 88) sorted by relevance

1234

/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineLoopInfo.h118 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { function in class:llvm::MachineLoopInfo
119 return LI.getLoopFor(BB);
122 /// Same as getLoopFor.
124 return LI.getLoopFor(BB);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSimplifyCFG.cpp103 Loop *BBL = LI.getLoopFor(BB);
246 bool TakeFoldCandidate = TheOnlySucc && LI.getLoopFor(BB) == &L;
280 return !TheOnlySucc || TheOnlySucc == To || LI.getLoopFor(From) != &L;
385 if (Loop *OuterLoop = LI.getLoopFor(Preheader)) {
448 assert(LI.getLoopFor(BB) != &L && "Attempt to remove current loop!");
449 Loop *DL = LI.getLoopFor(BB);
481 assert(LI.getLoopFor(BB) == &L && "Should be a loop block!");
661 if (!Pred || !Pred->getSingleSuccessor() || LI.getLoopFor(Pred) != &L)
H A DSink.cpp126 Loop *succ = LI.getLoopFor(SuccToSinkTo);
127 Loop *cur = LI.getLoopFor(Inst->getParent());
H A DSimpleLoopUnswitch.cpp278 if (Loop *ExitL = LI.getLoopFor(ExitBB))
292 assert(OldParentL == LI.getLoopFor(&Preheader) &&
338 Loop *TopMost = LI.getLoopFor(ExitBB);
649 Loop *ExitL = LI.getLoopFor(DefaultExitBB);
666 Loop *ExitL = LI.getLoopFor(CaseI->getCaseSuccessor());
1183 if (LI.getLoopFor(BB) == &OrigL)
1255 if (Loop *ExitL = LI.getLoopFor(ExitBB)) {
1343 if (LI.getLoopFor(BB) == &OrigL) {
1458 assert(LI.getLoopFor(BB) == OuterL &&
1649 if (Loop *InnerL = LI.getLoopFor(B
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DCFG.h152 for (const auto *Lp = LI.getLoopFor(Src); Lp; Lp = Lp->getParentLoop()) {
H A DLoopInfo.h947 LoopT *getLoopFor(const BlockT *BB) const { return BBMap.lookup(BB); } function in class:llvm::LoopInfoBase
949 /// Same as getLoopFor.
950 const LoopT *operator[](const BlockT *BB) const { return getLoopFor(BB); }
955 const LoopT *L = getLoopFor(BB);
961 const LoopT *L = getLoopFor(BB);
1107 Loop *ToLoop = getLoopFor(I->getParent());
1113 return ToLoop->contains(getLoopFor(From->getParent()));
1133 auto *OldLoop = getLoopFor(OldBB);
1134 auto *NewLoop = getLoopFor(NewBB);
1157 if (UBB != NewBB && getLoopFor(UB
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DShrinkWrap.cpp404 MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) {
416 (MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) {
427 MLI->getLoopFor(Restore)->getExitingBlocks(ExitBlocks);
H A DMachineLoopInfo.cpp142 MachineLoop *T = getLoopFor(S);
H A DMachineTraceMetrics.cpp169 MachineTraceMetrics::Ensemble::getLoopFor(const MachineBasicBlock *MBB) const { function in class:MachineTraceMetrics::Ensemble
170 return MTM.Loops->getLoopFor(MBB);
329 const MachineLoop *CurLoop = getLoopFor(MBB);
357 const MachineLoop *CurLoop = getLoopFor(MBB);
365 if (isExitingLoop(CurLoop, getLoopFor(Succ)))
460 if (const MachineLoop *FromLoop = LB.Loops->getLoopFor(*From)) {
465 if (isExitingLoop(FromLoop, LB.Loops->getLoopFor(To)))
597 const MachineLoop *Loop = getLoopFor(MBB);
605 const MachineLoop *Loop = getLoopFor(MBB);
606 const MachineLoop *SuccLoop = getLoopFor(TB
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DDivergenceAnalysis.cpp143 for (const auto *Loop = LI.getLoopFor(Inst->getParent());
201 auto *DivLoop = LI.getLoopFor(&LoopHeader);
314 const auto *BranchLoop = LI.getLoopFor(Term.getParent());
H A DDelinearization.cpp85 for (Loop *L = LI->getLoopFor(BB); L != nullptr; L = L->getParentLoop()) {
H A DCFG.cpp120 const Loop *L = LI->getLoopFor(BB);
235 if (LI && LI->getLoopFor(BB) != nullptr)
H A DSyncDependenceAnalysis.cpp272 auto *BlockLoop = LI.getLoopFor(Block);
373 TermBlock, successors(Term.getParent()), LI.getLoopFor(&TermBlock));
H A DMustExecute.cpp415 Loop *L = LI.getLoopFor(I.getParent());
428 Loop *L = LI.getLoopFor(I.getParent());
510 const Loop *L = LI ? LI->getLoopFor(InitBB) : nullptr;
615 const Loop *L = LI->getLoopFor(ToBB);
653 const Loop *L = LI ? LI->getLoopFor(InitBB) : nullptr;
H A DIVUsers.cpp69 SE->getSCEVAtScope(AR, LI->getLoopFor(I->getParent())) != AR);
102 Loop *DomLoop = LI->getLoopFor(DomBB);
235 if (LI->getLoopFor(User->getParent()) != L) {
H A DLoopInfo.cpp462 return isBlockInLCSSAForm(*LI.getLoopFor(BB), *BB, DT);
703 Loop *L = LI->getLoopFor(POI);
731 Loop *L = LI->getLoopFor(*POI);
749 Loop *OuterParent = LI->getLoopFor(*BI);
811 Loop *L = LI->getLoopFor(*I);
872 if (getLoopFor(*I) != Unloop)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyCFGSort.cpp91 const auto *ML = MLI.getLoopFor(MBB);
267 if (MachineLoop *L = MLI.getLoopFor(&MBB))
313 if (MachineLoop *SuccL = MLI.getLoopFor(Succ))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DBreakCriticalEdges.cpp163 if (Loop *TIL = LI->getLoopFor(TIBB)) {
179 if (LI->getLoopFor(P) != TIL) {
284 if (Loop *TIL = LI->getLoopFor(TIBB)) {
287 if (Loop *DestLoop = LI->getLoopFor(DestBB)) {
H A DLCSSA.cpp97 Loop *L = LI.getLoopFor(InstBB);
185 if (auto *OtherLoop = LI.getLoopFor(ExitBB))
239 if (auto *OtherLoop = LI.getLoopFor(InsertedPN->getParent()))
352 if (LI->getLoopFor(BB) != &L)
H A DUnifyLoopExits.cpp149 auto SL = LI.getLoopFor(S);
H A DLoopUnroll.cpp114 if (LI->getLoopFor(BB) == L)
119 Loop *DefLoop = LI->getLoopFor(Def->getParent());
139 const Loop *OldLoop = LI->getLoopFor(OriginalBB);
596 assert((*BB != Header || LI->getLoopFor(*BB) == L) &&
912 Loop *LatchLoop = LI->getLoopFor(Latches.back());
H A DSimplifyIndVar.cpp190 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent());
260 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent());
300 const Loop *L = LI->getLoopFor(SDiv->getParent());
372 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent());
946 SimplifyIndvar SIV(LI->getLoopFor(CurrIV->getParent()), SE, DT, LI, TTI,
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZMachineScheduler.cpp88 LLVM_DEBUG(const MachineLoop *Loop = MLI->getLoopFor(MBB);
95 getSingleSchedPred(MBB, MLI->getLoopFor(MBB));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAnnotateUniformValues.cpp96 const Loop *L = LI->getLoopFor(Start);
H A DSIAnnotateControlFlow.cpp263 llvm::Loop *L = LI->getLoopFor(BB);
293 llvm::Loop *L = LI->getLoopFor(BB);

Completed in 362 milliseconds

1234