Home
last modified time | relevance | path

Searched refs:getLoopFor (Results 1 – 25 of 45) sorted by relevance

12

/external/llvm/include/llvm/CodeGen/
DMachineLoopInfo.h100 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { in getLoopFor() function
101 return LI.getLoopFor(BB); in getLoopFor()
107 return LI.getLoopFor(BB);
DMachineTraceMetrics.h322 const MachineLoop *getLoopFor(const MachineBasicBlock*) const;
/external/llvm/include/llvm/Analysis/
DLoopInfo.h546 LoopT *getLoopFor(const BlockT *BB) const { in getLoopFor() function
553 return getLoopFor(BB);
560 const LoopT *L = getLoopFor(BB); in getLoopDepth()
566 const LoopT *L = getLoopFor(BB); in isLoopHeader()
683 Loop *ToLoop = getLoopFor(I->getParent()); in replacementPreservesLCSSAForm()
688 return ToLoop->contains(getLoopFor(From->getParent())); in replacementPreservesLCSSAForm()
DLoopInfoImpl.h360 LoopT *Subloop = LI->getLoopFor(PredBB); in discoverAndMapSubloop()
396 if (LI->getLoopFor(*PI) != Subloop) in discoverAndMapSubloop()
434 LoopT *Subloop = LI->getLoopFor(Block); in insertIntoLoop()
DLoopIterator.h154 if (!DFS.L->contains(LI->getLoopFor(BB))) in visitPreorder()
/external/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp263 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitCriticalEdge()
266 if (Loop *DestLoop = LI->getLoopFor(DestBB)) { in SplitCriticalEdge()
314 if (LI->getLoopFor(P) != TIL) { in SplitCriticalEdge()
DLoopUnroll.cpp114 if (Loop *L = LI->getLoopFor(BB)) { in FoldBlockIntoPredecessor()
322 assert(LI->getLoopFor(*BB) == L && "Header should not be in a sub-loop"); in UnrollLoop()
326 const Loop *OldLoop = LI->getLoopFor(*BB); in UnrollLoop()
549 Loop *LatchLoop = LI->getLoopFor(Latches.back()); in UnrollLoop()
DSimplifyIndVar.cpp166 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); in eliminateIVComparison()
200 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent()); in eliminateIVRemainder()
521 SimplifyIndvar SIV(LI->getLoopFor(CurrIV->getParent()), SE, LI, Dead); in simplifyUsersOfIV()
DLCSSA.cpp144 if (auto *OtherLoop = LI->getLoopFor(ExitBB)) in processInstruction()
180 Loop *OtherLoop = LI->getLoopFor(PHIBB); in processInstruction()
DBasicBlockUtils.cpp290 if (Loop *L = LI->getLoopFor(Old)) in SplitBlock()
324 Loop *L = LI->getLoopFor(OldBB); in UpdateAnalysisInformation()
337 if (Loop *PL = LI->getLoopFor(Pred)) in UpdateAnalysisInformation()
364 if (Loop *PredLoop = LI->getLoopFor(Pred)) { in UpdateAnalysisInformation()
/external/llvm/lib/Analysis/
DLoopInfo.cpp461 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
489 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
508 Loop *OuterParent = LI->getLoopFor(*BI); in removeBlocksFromAncestors()
572 Loop *L = LI->getLoopFor(*I); in getNearestLoop()
626 if (getLoopFor(*I) != Unloop) in updateUnloop()
DIVUsers.cpp59 SE->getSCEVAtScope(AR, LI->getLoopFor(I->getParent())) != AR); in isInteresting()
93 Loop *DomLoop = LI->getLoopFor(DomBB); in isSimplifiedLoopNest()
177 if (LI->getLoopFor(User->getParent()) != L) { in AddUsersImpl()
DCFG.cpp113 const Loop *L = LI->getLoopFor(BB); in getOutermostLoop()
203 if (LI && LI->getLoopFor(BB) != nullptr) in isPotentiallyReachable()
DDependenceAnalysis.cpp718 const Loop *SrcLoop = LI->getLoopFor(SrcBlock); in establishNestingLevels()
719 const Loop *DstLoop = LI->getLoopFor(DstBlock); in establishNestingLevels()
3349 UsefulGEP = isLoopInvariant(SrcPtrSCEV, LI->getLoopFor(Src->getParent())) && in depends()
3350 isLoopInvariant(DstPtrSCEV, LI->getLoopFor(Dst->getParent())) && in depends()
3390 classifyPair(Pair[P].Src, LI->getLoopFor(Src->getParent()), in depends()
3391 Pair[P].Dst, LI->getLoopFor(Dst->getParent()), in depends()
3468 LI->getLoopFor(Src->getParent()), in depends()
3471 LI->getLoopFor(Dst->getParent()), in depends()
3601 classifyPair(Pair[SJ].Src, LI->getLoopFor(Src->getParent()), in depends()
3602 Pair[SJ].Dst, LI->getLoopFor(Dst->getParent()), in depends()
[all …]
DDelinearization.cpp96 for (Loop *L = LI->getLoopFor(BB); L != nullptr; L = L->getParentLoop()) { in print()
/external/llvm/lib/CodeGen/
DMachineTraceMetrics.cpp157 MachineTraceMetrics::Ensemble::getLoopFor(const MachineBasicBlock *MBB) const { in getLoopFor() function in MachineTraceMetrics::Ensemble
158 return MTM.Loops->getLoopFor(MBB); in getLoopFor()
316 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTracePred()
344 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTraceSucc()
354 if (isExitingLoop(CurLoop, getLoopFor(Succ))) in pickTraceSucc()
440 if (const MachineLoop *FromLoop = LB.Loops->getLoopFor(From)) { in insertEdge()
445 if (isExitingLoop(FromLoop, LB.Loops->getLoopFor(To))) in insertEdge()
578 const MachineLoop *Loop = getLoopFor(MBB); in verify()
586 const MachineLoop *Loop = getLoopFor(MBB); in verify()
587 const MachineLoop *SuccLoop = getLoopFor(TBI.Succ); in verify()
[all …]
DCalcSpillWeights.cpp131 loop = Loops.getLoopFor(mbb); in calculateSpillWeightAndHint()
DMachineSink.cpp394 if (LI->getLoopFor(FromBB) == LI->getLoopFor(ToBB) && in PostponeSplitCriticalEdge()
DPHIElimination.cpp554 const MachineLoop *CurLoop = MLI ? MLI->getLoopFor(&MBB) : nullptr; in SplitPHIEdges()
571 const MachineLoop *PreLoop = MLI ? MLI->getLoopFor(PreMBB) : nullptr; in SplitPHIEdges()
/external/llvm/lib/Transforms/Scalar/
DLoopInstSimplify.cpp160 const Loop *SuccLoop = LI->getLoopFor(SuccBB); in runOnLoop()
170 if (LI->getLoopFor(ExitBB) == L && Visited.insert(ExitBB).second) in runOnLoop()
DSink.cpp206 Loop *succ = LI->getLoopFor(SuccToSinkTo); in IsAcceptableTarget()
207 Loop *cur = LI->getLoopFor(Inst->getParent()); in IsAcceptableTarget()
DLICM.cpp216 if (LI->getLoopFor(BB) == L) // Ignore blocks in subloops. in runOnLoop()
553 if (Loop *OLoop = LI->getLoopFor(OInst->getParent())) in CloneInstructionInExitBlock()
702 if (Loop *L = LI.getLoopFor(I->getParent())) in maybeInsertLCSSAPHI()
994 return LI->getLoopFor(BB) != CurLoop; in inSubLoop()
DSampleProfile.cpp310 bool IsInSameLoop = LI->getLoopFor(BB1) == LI->getLoopFor(BB2); in findEquivalencesFor()
DStructurizeCFG.cpp299 Loop *Loop = LI->getLoopFor(BB); in orderNodes()
325 if (LI->getLoopFor(LoopBB) == CurrentLoop) { in orderNodes()
332 CurrentLoop = LI->getLoopFor(BB); in orderNodes()
/external/llvm/lib/Target/R600/
DSIAnnotateControlFlow.cpp275 llvm::Loop *L = LI->getLoopFor(BB); in handleLoop()
293 llvm::Loop *L = LI->getLoopFor(BB); in closeControlFlow()

12