reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/BlockFrequencyInfoImpl.h
 1122     const LoopT *Loop = LI->getLoopFor(RPOT[Index]);
include/llvm/Analysis/CFG.h
  150     for (const auto *Lp = LI.getLoopFor(Src); Lp; Lp = Lp->getParentLoop()) {
include/llvm/Analysis/LoopInfo.h
  931   const LoopT *operator[](const BlockT *BB) const { return getLoopFor(BB); }
  936     const LoopT *L = getLoopFor(BB);
  942     const LoopT *L = getLoopFor(BB);
 1082     Loop *ToLoop = getLoopFor(I->getParent());
 1088     return ToLoop->contains(getLoopFor(From->getParent()));
 1108     auto *OldLoop = getLoopFor(OldBB);
 1109     auto *NewLoop = getLoopFor(NewBB);
 1132         if (UBB != NewBB && getLoopFor(UBB) != NewLoop)
 1154         if (DefBlock != NewBB && getLoopFor(DefBlock) != NewLoop)
include/llvm/Analysis/LoopInfoImpl.h
  432     LoopT *Subloop = LI->getLoopFor(PredBB);
  465         if (LI->getLoopFor(Pred) != Subloop)
  502   LoopT *Subloop = LI->getLoopFor(Block);
include/llvm/Analysis/LoopIterator.h
  232     if (!DFS.L->contains(LI->getLoopFor(BB)))
include/llvm/Analysis/RegionInfoImpl.h
  158   LoopT *L = LI->getLoopFor(BB);
include/llvm/CodeGen/MachineLoopInfo.h
  121     return LI.getLoopFor(BB);
  126     return LI.getLoopFor(BB);
lib/Analysis/BranchProbabilityInfo.cpp
  578   Loop *L = LI.getLoopFor(BB);
lib/Analysis/CFG.cpp
  122   const Loop *L = LI->getLoopFor(BB);
  237     if (LI && LI->getLoopFor(BB) != nullptr)
lib/Analysis/Delinearization.cpp
   84     for (Loop *L = LI->getLoopFor(BB); L != nullptr; L = L->getParentLoop()) {
lib/Analysis/DependenceAnalysis.cpp
  742   const Loop *SrcLoop = LI->getLoopFor(SrcBlock);
  743   const Loop *DstLoop = LI->getLoopFor(DstBlock);
 3271   Loop *SrcLoop = LI->getLoopFor(Src->getParent());
 3272   Loop *DstLoop = LI->getLoopFor(Dst->getParent());
 3472       classifyPair(Pair[P].Src, LI->getLoopFor(Src->getParent()),
 3473                    Pair[P].Dst, LI->getLoopFor(Dst->getParent()),
 3550                          LI->getLoopFor(Src->getParent()),
 3553                          LI->getLoopFor(Dst->getParent()),
 3686                 classifyPair(Pair[SJ].Src, LI->getLoopFor(Src->getParent()),
 3687                              Pair[SJ].Dst, LI->getLoopFor(Dst->getParent()),
 3873       classifyPair(Pair[P].Src, LI->getLoopFor(Src->getParent()),
 3874                    Pair[P].Dst, LI->getLoopFor(Dst->getParent()),
 3888                          LI->getLoopFor(Src->getParent()),
 3891                          LI->getLoopFor(Dst->getParent()),
 3984                 classifyPair(Pair[SJ].Src, LI->getLoopFor(Src->getParent()),
 3985                              Pair[SJ].Dst, LI->getLoopFor(Dst->getParent()),
lib/Analysis/DivergenceAnalysis.cpp
  143   for (const auto *Loop = LI.getLoopFor(Inst->getParent());
  190   auto *DivLoop = LI.getLoopFor(&LoopHeader);
  304   const auto *BranchLoop = LI.getLoopFor(Term.getParent());
lib/Analysis/IVUsers.cpp
   68               SE->getSCEVAtScope(AR, LI->getLoopFor(I->getParent())) != AR);
  101     Loop *DomLoop = LI->getLoopFor(DomBB);
  234     if (LI->getLoopFor(User->getParent()) != L) {
lib/Analysis/LoopCacheAnalysis.cpp
  316   for (Loop *L = LI.getLoopFor(BB); L != nullptr; L = L->getParentLoop()) {
lib/Analysis/LoopInfo.cpp
  460     return isBlockInLCSSAForm(*LI.getLoopFor(BB), *BB, DT);
  701       Loop *L = LI->getLoopFor(POI);
  729       Loop *L = LI->getLoopFor(*POI);
  747     Loop *OuterParent = LI->getLoopFor(*BI);
  809     Loop *L = LI->getLoopFor(*I);
  870       if (getLoopFor(*I) != Unloop)
lib/Analysis/MustExecute.cpp
  389       Loop *L = LI.getLoopFor(I.getParent());
  402       Loop *L = LI.getLoopFor(I.getParent());
lib/Analysis/ScalarEvolution.cpp
 4624   const Loop *L = LI.getLoopFor(PN->getParent());
 4962   const Loop *L = LI.getLoopFor(PN->getParent());
 5004   const Loop *L = LI.getLoopFor(PN->getParent());
 5272     const Loop *L = LI.getLoopFor(PN->getParent());
 5276       if (LI.getLoopFor(PN->getIncomingBlock(i)) != L)
 5988   Loop *InnermostContainingLoop = LI.getLoopFor(I->getParent());
 6749           auto *LoopForUser = LI.getLoopFor(I->getParent());
 8860   if (Loop *L = LI.getLoopFor(BB))
11580       const Loop *L = LI.getLoopFor(I.getParent());
lib/Analysis/ScalarEvolutionExpander.cpp
  217     while (const Loop *L = SE.LI.getLoopFor(Builder.GetInsertBlock())) {
  546     while (const Loop *L = SE.LI.getLoopFor(Builder.GetInsertBlock())) {
  566     while (const Loop *L = SE.LI.getLoopFor(Builder.GetInsertBlock())) {
  629       return Pair.first->second = SE.LI.getLoopFor(I->getParent());
 1798             (SE.LI.getLoopFor(EntInst->getParent()) == nullptr ||
 1799              SE.LI.getLoopFor(EntInst->getParent())->contains(InsertPt)))
 1836     for (Loop *L = SE.LI.getLoopFor(Builder.GetInsertBlock());;
lib/Analysis/SyncDependenceAnalysis.cpp
  272       auto *BlockLoop = LI.getLoopFor(Block);
  373       TermBlock, successors(Term.getParent()), LI.getLoopFor(&TermBlock));
lib/Analysis/TargetTransformInfo.cpp
   86     if (!IsNestingLegal && LI.getLoopFor(BB) != L && !ForceNestedLoop)
lib/Analysis/ValueTracking.cpp
 3692   Loop *L = LI->getLoopFor(PN->getParent());
 3698   if (!PrevValue || LI->getLoopFor(PrevValue->getParent()) != L)
 3700   if (!PrevValue || LI->getLoopFor(PrevValue->getParent()) != L)
lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
   94   const Loop *L = LI->getLoopFor(Start);
lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
  262   llvm::Loop *L = LI->getLoopFor(BB);
  292   llvm::Loop *L = LI->getLoopFor(BB);
lib/Target/Hexagon/HexagonCommonGEP.cpp
  902     Loop *Lp = LI->getLoopFor(LocB);
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 2171     Loop *ParentL = LF->getLoopFor(Preheader);
 2343         if (LF->getLoopFor(UseB) != L)
 2399     if (LF->getLoopFor(BB) != L)
lib/Transforms/IPO/SampleProfile.cpp
 1048     bool IsInSameLoop = LI->getLoopFor(BB1) == LI->getLoopFor(BB2);
 1048     bool IsInSameLoop = LI->getLoopFor(BB1) == LI->getLoopFor(BB2);
 1377     Loop *L = LI->getLoopFor(BB);
lib/Transforms/InstCombine/InstructionCombining.cpp
 1803       if (Loop *L = LI->getLoopFor(GEP.getParent())) {
lib/Transforms/Instrumentation/InstrProfiling.cpp
  217           auto *TargetLoop = LI.getLoopFor(ExitBlock);
  353       auto *TargetLoop = LI.getLoopFor(TargetBlock);
  459     Loop *ParentLoop = LI.getLoopFor(BB);
lib/Transforms/Scalar/GuardWidening.cpp
  442   Loop *DominatedInstrLoop = LI.getLoopFor(DominatedInstr->getParent());
  443   Loop *DominatingGuardLoop = LI.getLoopFor(DominatingGuard->getParent());
lib/Transforms/Scalar/IndVarSimplify.cpp
  272   auto *L = LI->getLoopFor(DefI->getParent());
  273   assert(!L || L->contains(LI->getLoopFor(InsertPt->getParent())));
  276     if (LI->getLoopFor(DTN->getBlock()) == L)
  629         if (LI->getLoopFor(PN->getIncomingBlock(i)) != L)
  690           if (auto *EVL = LI->getLoopFor(ExitInsn->getParent()))
 1031         L(LI->getLoopFor(OrigPhi->getParent())), SE(SEv), DT(DTree),
 1075   for (const Loop *L = LI->getLoopFor(Use->getParent());
 1549     if (LI->getLoopFor(UsePhi->getParent()) != L) {
 2692     if (LI->getLoopFor(ExitingBB) != L)
 2841     if (LI->getLoopFor(ExitingBB) != L)
 3047       if (LI->getLoopFor(ExitingBB) != L)
lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp
 1376     if (LI.getLoopFor(BB) == Original)
lib/Transforms/Scalar/LICM.cpp
 1420       if (Loop *OLoop = LI->getLoopFor(OInst->getParent()))
 1751       if (Loop *L = LI.getLoopFor(I->getParent()))
 2192     if (LI->getLoopFor(BB) == L)
 2335   return LI->getLoopFor(BB) != CurLoop;
lib/Transforms/Scalar/LoopFuse.cpp
 1280       if (LI.getLoopFor(BB) != FC1.L)
 1533       if (LI.getLoopFor(BB) != FC1.L)
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  414     if (LI->getLoopFor(BB) != CurLoop)
lib/Transforms/Scalar/LoopInterchange.cpp
 1193     if (LI->getLoopFor(BB) == NewInner)
 1202     if (LI->getLoopFor(BB) != NewOuter)
 1275               this->LI->getLoopFor(OpI->getParent()) != this->InnerLoop ||
lib/Transforms/Scalar/LoopSimplifyCFG.cpp
   99     Loop *BBL = LI.getLoopFor(BB);
  242       bool TakeFoldCandidate = TheOnlySucc && LI.getLoopFor(BB) == &L;
  276       return !TheOnlySucc || TheOnlySucc == To || LI.getLoopFor(From) != &L;
  381     if (Loop *OuterLoop = LI.getLoopFor(Preheader)) {
  444         assert(LI.getLoopFor(BB) != &L && "Attempt to remove current loop!");
  445         Loop *DL = LI.getLoopFor(BB);
  477       assert(LI.getLoopFor(BB) == &L && "Should be a loop block!");
  657     if (!Pred || !Pred->getSingleSuccessor() || LI.getLoopFor(Pred) != &L)
lib/Transforms/Scalar/LoopSink.cpp
  187     if (!L.contains(LI.getLoopFor(UI->getParent())))
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 5036     const Loop *IPLoop = LI.getLoopFor(IP->getParent());
 5047       const Loop *IDomLoop = LI.getLoopFor(IDom);
 5322         Loop *PNLoop = LI.getLoopFor(Parent);
 5542     const Loop *DomLoop = LI.getLoopFor(BB);
lib/Transforms/Scalar/LoopUnswitch.cpp
  919     if (LI->getLoopFor(*I) == L)
 1311     if (Loop *ExitBBLoop = LI->getLoopFor(ExitBlocks[i]))
lib/Transforms/Scalar/LoopVersioningLICM.cpp
  592     if (LI->getLoopFor(Block) == L) // Ignore blocks in subloop.
lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp
  821   Loop *L = LI->getLoopFor(Variadic->getParent());
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  276     if (Loop *ExitL = LI.getLoopFor(ExitBB))
  290   assert(OldParentL == LI.getLoopFor(&Preheader) &&
  418     if (Loop *ExitL = LI.getLoopFor(LoopExitBB))
  615     Loop *ExitL = LI.getLoopFor(DefaultExitBB);
  632     Loop *ExitL = LI.getLoopFor(CaseI->getCaseSuccessor());
 1149       if (LI.getLoopFor(BB) == &OrigL)
 1221       if (Loop *ExitL = LI.getLoopFor(ExitBB)) {
 1309       if (LI.getLoopFor(BB) == &OrigL) {
 1424     assert(LI.getLoopFor(BB) == OuterL &&
 1610     if (Loop *InnerL = LI.getLoopFor(BB))
 1686     if (Loop *ExitL = LI.getLoopFor(ExitBB)) {
 1766     Loop &ExitL = *LI.getLoopFor(ExitBB);
 1790                   ExitL.contains(LI.getLoopFor(PredBB))) &&
 1811       if (Loop *BBL = LI.getLoopFor(BB))
 1825     if (Loop *BBL = LI.getLoopFor(BB))
 1852     if (auto *NewParentL = LI.getLoopFor(HoistedL->getLoopPreheader()))
 1961   assert(LI.getLoopFor(ParentBB) == &L && "Branch in an inner loop!");
 1975     Loop *NewOuterExitL = LI.getLoopFor(ExitBB);
 2543     if (LI.getLoopFor(BB) != &L)
lib/Transforms/Scalar/Sink.cpp
  125     Loop *succ = LI.getLoopFor(SuccToSinkTo);
  126     Loop *cur = LI.getLoopFor(Inst->getParent());
lib/Transforms/Scalar/StructurizeCFG.cpp
  316     return LI->getLoopFor(SubRegion->getExit());
  319   return LI->getLoopFor(RN->getEntry());
lib/Transforms/Utils/BasicBlockUtils.cpp
  415     if (Loop *L = LI->getLoopFor(Old))
  462   Loop *L = LI->getLoopFor(OldBB);
  478       if (Loop *PL = LI->getLoopFor(Pred))
  503       if (Loop *PredLoop = LI->getLoopFor(Pred)) {
  624     BI->setDebugLoc(LI->getLoopFor(BB)->getStartLoc());
  853     if (Loop *L = LI->getLoopFor(Head)) {
lib/Transforms/Utils/BreakCriticalEdges.cpp
  247     if (Loop *TIL = LI->getLoopFor(TIBB)) {
  250       if (Loop *DestLoop = LI->getLoopFor(DestBB)) {
  298           if (LI->getLoopFor(P) != TIL) {
lib/Transforms/Utils/CloneFunction.cpp
  798     Loop *CurLoop = LI->getLoopFor(BB);
lib/Transforms/Utils/LCSSA.cpp
   94     Loop *L = LI.getLoopFor(InstBB);
  177       if (auto *OtherLoop = LI.getLoopFor(ExitBB))
  238       if (auto *OtherLoop = LI.getLoopFor(InsertedPN->getParent()))
  351     if (LI->getLoopFor(BB) != &L)
lib/Transforms/Utils/LoopRotationUtils.cpp
  468       Loop *PredLoop = LI->getLoopFor(ExitPred);
lib/Transforms/Utils/LoopUnroll.cpp
  110     if (LI->getLoopFor(BB) == L)
  115           Loop *DefLoop = LI->getLoopFor(Def->getParent());
  135   const Loop *OldLoop = LI->getLoopFor(OriginalBB);
  611       assert((*BB != Header || LI->getLoopFor(*BB) == L) &&
  933         Loop *LatchLoop = LI->getLoopFor(Latches.back());
lib/Transforms/Utils/LoopUnrollRuntime.cpp
  136   Loop *PrologLoop = LI->getLoopFor(PrologLatch);
  326     if (CreateRemainderLoop || LI->getLoopFor(*BB) != L || ParentLoop)
  853         if (!L->contains(LI->getLoopFor(DomChildBB)))
lib/Transforms/Utils/SimplifyIndVar.cpp
  188   const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent());
  258   const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent());
  298   const Loop *L = LI->getLoopFor(SDiv->getParent());
  370   const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent());
  936   SimplifyIndvar SIV(LI->getLoopFor(CurrIV->getParent()), SE, DT, LI, Rewriter,
lib/Transforms/Vectorize/LoopVectorize.cpp
 1741   auto *LoopVectorLatch = LI->getLoopFor(LoopVectorBody)->getLoopLatch();
 3446                  getOrCreateVectorTripCount(LI->getLoopFor(LoopVectorBody)),
 3559   if (LI->getLoopFor(LoopVectorBody)->isLoopInvariant(PreviousLastPart) ||
 3592   VecPhi->addIncoming(Incoming, LI->getLoopFor(LoopVectorBody)->getLoopLatch());
 3711       ->addIncoming(Val, LI->getLoopFor(LoopVectorBody)->getLoopLatch());
 3748         LI->getLoopFor(LoopVectorBody)->getLoopLatch()->getTerminator());
 3867   auto *VectorLoop = LI->getLoopFor(PredBB);
 4352                   LI->getLoopFor(LoopVectorBody)->getLoopLatch());
lib/Transforms/Vectorize/SLPVectorizer.cpp
 4400     Loop *L = LI->getLoopFor(I->getParent());
 6701   Loop *BBL = LI->getLoopFor(ParentBB);
lib/Transforms/Vectorize/VPlan.cpp
  187     Loop *L = State->LI->getLoopFor(State->CFG.LastBB);
  394   Loop *L = State->LI->getLoopFor(VectorHeaderBB);
lib/Transforms/Vectorize/VPlan.h
 1521     const VPLoop *FromLoop = VPLI->getLoopFor(FromBlock);
 1522     const VPLoop *ToLoop = VPLI->getLoopFor(ToBlock);
 1533     if (const VPLoop *ParentVPL = VPLInfo->getLoopFor(Block))
tools/polly/lib/Analysis/ScopBuilder.cpp
  768     int LatchLoopDepth = scop->getRelativeLoopDepth(LI.getLoopFor(LatchBB));
  829   auto *L = IsOnlyNonAffineRegion ? nullptr : LI.getLoopFor(EntryBB);
 1086   auto *Scope = LI.getLoopFor(PHI->getParent());
 1535     auto *L = LI.getLoopFor(CI->getParent());
 1605       SE.getSCEVAtScope(Address, LI.getLoopFor(Inst->getParent()));
 1685       SE.getSCEVAtScope(Address, LI.getLoopFor(Inst->getParent()));
 1730   auto *L = LI.getLoopFor(Inst->getParent());
 1822     Loop *L = LI.getLoopFor(Inst->getParent());
 1850       SE.getSCEVAtScope(Address, LI.getLoopFor(Inst->getParent()));
 1963   Loop *SurroundingLoop = LI.getLoopFor(BB);
 2094   Loop *L = LI.getLoopFor(BB);
 2635   Loop *L = LI.getLoopFor(BB);
tools/polly/lib/Analysis/ScopDetection.cpp
  442     Loop *L = LI.getLoopFor(BB);
  535   Loop *L = LI.getLoopFor(&BB);
  601   Loop *L = LI.getLoopFor(&BB);
  713         auto *ArgSCEV = SE.getSCEVAtScope(Arg, LI.getLoopFor(CI.getParent()));
  746   Loop *L = LI.getLoopFor(II.getParent());
  979     auto *Scope = LI.getLoopFor(Insn->getParent());
 1102   auto *Scope = LI.getLoopFor(Inst->getParent());
 1113           std::make_pair(BP, LI.getLoopFor(Inst->getParent())));
 1183   Loop *L = LI.getLoopFor(Inst->getParent());
 1365   auto L = LI.getLoopFor(R->getEntry());
 1446     if (R.contains(LI.getLoopFor(BB)))
 1526     Loop *L = LI.getLoopFor(BB);
 1573     if (Context.CurRegion.contains(LI.getLoopFor(BB)))
 1584     auto *L = LI.getLoopFor(BB);
tools/polly/lib/CodeGen/BlockGenerators.cpp
  308   return LI.getLoopFor(StmtBB);
  716                                      LI.getLoopFor(Inst->getParent())));
  739                                        LI.getLoopFor(Inst->getParent())));
  758   Loop *L = LI.getLoopFor(Stmt.getBasicBlock());
  994       if (Loop *L = LI.getLoopFor(EUser->getParent()))
 1581     Loop *L = LI.getLoopFor(BB);
 1667   Loop *L = LI.getLoopFor(Stmt->getRegion()->getExit());
tools/polly/lib/CodeGen/IslExprBuilder.cpp
  609   LI.changeLoopFor(CondBB, LI.getLoopFor(InsertBB));
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
  217       auto *Scope = References.LI.getLoopFor(BB);
  801   Loop *L = LI.getLoopFor(CondBB);
 1287   if (Loop *L = LI.getLoopFor(CondBB))
 1540   Loop *L = LI.getLoopFor(S.getEntry());
tools/polly/lib/CodeGen/LoopGenerators.cpp
  103   Loop *OuterLoop = LI.getLoopFor(BeforeBB);
tools/polly/lib/CodeGen/Utils.cpp
  151   if (Loop *L = LI.getLoopFor(SplitBlock)) {
tools/polly/lib/Support/SCEVAffinator.cpp
   87 Loop *SCEVAffinator::getScope() { return BB ? LI.getLoopFor(BB) : nullptr; }
tools/polly/lib/Support/ScopHelper.cpp
  470   Loop *L = LI.getLoopFor(S.getEntry());
  506     Loop *L = LI.getLoopFor(BB);
  527       L = LI.getLoopFor(BB->getPrevNode());
  532   Loop *L = LI.getLoopFor(NonAffineSubRegion->getEntry());
  552   Loop *L = LI.getLoopFor(LInst->getParent());
  720   Loop *L = LI.getLoopFor(BB);
tools/polly/lib/Support/VirtualInstruction.cpp
   22   Loop *UserScope = LI->getLoopFor(UserBB);
  358                 S, Stmt, LI->getLoopFor(Incoming.first), Incoming.second, true);
tools/polly/lib/Transform/DeLICM.cpp
  714                             LI->getLoopFor(DefInst->getParent()));
  816                               LI->getLoopFor(Incoming[0].first));
tools/polly/lib/Transform/ForwardOpTree.cpp
  769       DefLoop = LI->getLoopFor(Inst->getParent());
tools/polly/lib/Transform/ZoneAlgo.cpp
  402         Load, Stmt, LI->getLoopFor(Load->getParent()), Stmt->isBlockStmt());
  424   auto L = MA->isOriginalArrayKind() ? LI->getLoopFor(AccInst->getParent())
unittests/Analysis/IVDescriptorsTest.cpp
   80         Loop *L = LI.getLoopFor(Header);
unittests/Analysis/LoopInfoTest.cpp
   84     Loop *L = LI.getLoopFor(Header);
  134     Loop *L = LI.getLoopFor(Header);
  193   Loop &L_0 = *LI.getLoopFor(&*I++);
  195   Loop &L_0_0 = *LI.getLoopFor(&*I++);
  197   Loop &L_0_1 = *LI.getLoopFor(&*I++);
  199   Loop &L_0_2 = *LI.getLoopFor(&*I++);
  201   Loop &L_1 = *LI.getLoopFor(&*I++);
  203   Loop &L_1_0 = *LI.getLoopFor(&*I++);
  205   Loop &L_1_1 = *LI.getLoopFor(&*I++);
  207   Loop &L_1_2 = *LI.getLoopFor(&*I++);
  269         Loop *L = LI.getLoopFor(Header);
  327         Loop *L = LI.getLoopFor(Header);
  385         Loop *L = LI.getLoopFor(Header);
  443         Loop *L = LI.getLoopFor(Header);
  501         Loop *L = LI.getLoopFor(Header);
  560         Loop *L = LI.getLoopFor(Header);
  618         Loop *L = LI.getLoopFor(Header);
  673         Loop *L = LI.getLoopFor(Header);
  731         Loop *L = LI.getLoopFor(Header);
  790         Loop *L = LI.getLoopFor(Header);
  849         Loop *L = LI.getLoopFor(Header);
  909         Loop *L = LI.getLoopFor(Header);
  969         Loop *L = LI.getLoopFor(Header);
 1021         Loop *L = LI.getLoopFor(Header);
 1078         Loop *L = LI.getLoopFor(Header);
 1148         Loop *L = LI.getLoopFor(Header);
 1173         L = LI.getLoopFor(Header);
 1239         Loop *L = LI.getLoopFor(Header);
 1303     Loop *L = LI.getLoopFor(Header);
 1349         Loop *L = LI.getLoopFor(Header);
 1393     Loop *L = LI.getLoopFor(Header);
 1436     Loop *L = LI.getLoopFor(Header);
unittests/Analysis/ScalarEvolutionTest.cpp
  788                        LI->getLoopFor(L), SCEV::FlagNUW);
  860   auto *Loop = LI->getLoopFor(L);
  960   auto *Loop = LI->getLoopFor(L);
 1479       auto *Loop = LI.getLoopFor(I.getParent());
 1524       auto *Loop = LI.getLoopFor(LoopHeaderBB);
 1605       auto *Loop = LI.getLoopFor(LoopHeaderBB);
 1778       auto *Loop = LI.getLoopFor(I.getParent());
 1821       auto *Loop = LI.getLoopFor(LoopHeaderBB);
 1875       auto *Loop = LI.getLoopFor(LoopHeaderBB);
unittests/Analysis/UnrollAnalyzerTest.cpp
   33     Loop *L = LI->getLoopFor(Header);
unittests/Transforms/Utils/CloningTest.cpp
  425         Loop *L = LI.getLoopFor(Header);
unittests/Transforms/Vectorize/VPlanLoopInfoTest.cpp
   66   EXPECT_EQ(nullptr, VPLI.getLoopFor(PH));
   68   EXPECT_EQ(VPLp, VPLI.getLoopFor(H));
   70   EXPECT_EQ(VPLp, VPLI.getLoopFor(IfThen));
   72   EXPECT_EQ(VPLp, VPLI.getLoopFor(IfElse));
   74   EXPECT_EQ(VPLp, VPLI.getLoopFor(Latch));
   76   EXPECT_EQ(nullptr, VPLI.getLoopFor(Exit));
unittests/Transforms/Vectorize/VPlanSlpTest.cpp
   98   auto VPIAI = getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan);
  174   auto VPIAI = getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan);
  232   auto VPIAI = getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan);
  291   auto VPIAI = getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan);
  430       getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan));
  502       getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan));
  572   auto VPIAI = getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan);
  650       getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan));
  700   auto VPIAI = getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan);
  763   auto VPIAI = getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan);
  823   auto VPIAI = getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan);
  882   auto VPIAI = getInterleavedAccessInfo(*F, LI->getLoopFor(LoopHeader), *Plan);
unittests/Transforms/Vectorize/VPlanTestBase.h
   52     VPlanHCFGBuilder HCFGBuilder(LI->getLoopFor(LoopHeader), LI.get(), *Plan);
   62     VPlanHCFGBuilder HCFGBuilder(LI->getLoopFor(LoopHeader), LI.get(), *Plan);