Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Analysis/
DLoopInfo.h529 LoopT *getLoopFor(const BlockT *BB) const { in getLoopFor() function
536 return getLoopFor(BB);
543 const LoopT *L = getLoopFor(BB); in getLoopDepth()
549 const LoopT *L = getLoopFor(BB); in isLoopHeader()
658 inline Loop *getLoopFor(const BasicBlock *BB) const { in getLoopFor() function
659 return LI.getLoopFor(BB); in getLoopFor()
665 return LI.getLoopFor(BB);
742 Loop *ToLoop = getLoopFor(I->getParent()); in replacementPreservesLCSSAForm()
747 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()
462 LoopT *Subloop = LI->getLoopFor(Block); in insertIntoLoop()
DLoopIterator.h154 if (!DFS.L->contains(LI->getLoopFor(BB))) in visitPreorder()
/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.h315 const MachineLoop *getLoopFor(const MachineBasicBlock*) const;
/external/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp279 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitCriticalEdge()
282 if (Loop *DestLoop = LI->getLoopFor(DestBB)) { in SplitCriticalEdge()
329 if (LI->getLoopFor(P) != TIL) { in SplitCriticalEdge()
DSimplifyIndVar.cpp172 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); in eliminateIVComparison()
206 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent()); in eliminateIVRemainder()
455 SimplifyIndvar SIV(LI->getLoopFor(CurrIV->getParent()), SE, LPM, Dead); in simplifyUsersOfIV()
DBasicBlockUtils.cpp282 if (Loop *L = LI->getLoopFor(Old)) in SplitBlock()
313 Loop *L = LI ? LI->getLoopFor(OldBB) : nullptr; in UpdateAnalysisInformation()
328 if (Loop *PL = LI->getLoopFor(Pred)) in UpdateAnalysisInformation()
358 if (Loop *PredLoop = LI->getLoopFor(Pred)) { in UpdateAnalysisInformation()
DLoopUnroll.cpp107 if (Loop *L = LI->getLoopFor(BB)) in FoldBlockIntoPredecessor()
501 Loop *LatchLoop = LI->getLoopFor(Latches.back()); in UnrollLoop()
/external/llvm/lib/Analysis/
DLoopInfo.cpp462 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
490 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
509 Loop *OuterParent = LI->getLoopFor(*BI); in removeBlocksFromAncestors()
573 Loop *L = LI->getLoopFor(*I); in getNearestLoop()
635 if (getLoopFor(*I) != Unloop) in updateUnloop()
DIVUsers.cpp58 SE->getSCEVAtScope(AR, LI->getLoopFor(I->getParent())) != AR); in isInteresting()
92 Loop *DomLoop = LI->getLoopFor(DomBB); in isSimplifiedLoopNest()
174 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.cpp721 const Loop *SrcLoop = LI->getLoopFor(SrcBlock); in establishNestingLevels()
722 const Loop *DstLoop = LI->getLoopFor(DstBlock); in establishNestingLevels()
3334 isLoopInvariant(SrcPtrSCEV, LI->getLoopFor(Src->getParent())) && in depends()
3335 isLoopInvariant(DstPtrSCEV, LI->getLoopFor(Dst->getParent())); in depends()
3373 classifyPair(Pair[P].Src, LI->getLoopFor(Src->getParent()), in depends()
3374 Pair[P].Dst, LI->getLoopFor(Dst->getParent()), in depends()
3451 LI->getLoopFor(Src->getParent()), in depends()
3454 LI->getLoopFor(Dst->getParent()), in depends()
3585 classifyPair(Pair[SJ].Src, LI->getLoopFor(Src->getParent()), in depends()
3586 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/Transforms/Scalar/
DLoopInstSimplify.cpp154 const Loop *SuccLoop = LI->getLoopFor(SuccBB); in runOnLoop()
164 if (LI->getLoopFor(ExitBB) == L && Visited.insert(ExitBB)) in runOnLoop()
DSink.cpp209 Loop *succ = LI->getLoopFor(SuccToSinkTo); in IsAcceptableTarget()
210 Loop *cur = LI->getLoopFor(Inst->getParent()); in IsAcceptableTarget()
DLICM.cpp154 return LI->getLoopFor(BB) != CurLoop; in inSubLoop()
269 if (LI->getLoopFor(BB) == L) // Ignore blocks in subloops. in runOnLoop()
559 if (Loop *OLoop = LI->getLoopFor(OInst->getParent())) in CloneInstructionInExitBlock()
697 if (Loop *L = LI.getLoopFor(I->getParent())) in maybeInsertLCSSAPHI()
DIndVarSimplify.cpp514 (!L->getParentLoop() || L->getParentLoop() == LI->getLoopFor(ExitBB)); in RewriteLoopExitValues()
542 if (LI->getLoopFor(PN->getIncomingBlock(i)) != L) in RewriteLoopExitValues()
738 L(LI->getLoopFor(OrigPhi->getParent())), in WidenIV()
782 for (const Loop *L = LI->getLoopFor(Use->getParent()); in getExtend()
917 if (LI->getLoopFor(UsePhi->getParent()) != L) { in WidenIVUse()
/external/llvm/lib/CodeGen/
DMachineTraceMetrics.cpp159 MachineTraceMetrics::Ensemble::getLoopFor(const MachineBasicBlock *MBB) const { in getLoopFor() function in MachineTraceMetrics::Ensemble
160 return MTM.Loops->getLoopFor(MBB); in getLoopFor()
320 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTracePred()
348 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTraceSucc()
358 if (isExitingLoop(CurLoop, getLoopFor(Succ))) in pickTraceSucc()
444 if (const MachineLoop *FromLoop = LB.Loops->getLoopFor(From)) { in insertEdge()
449 if (isExitingLoop(FromLoop, LB.Loops->getLoopFor(To))) in insertEdge()
586 const MachineLoop *Loop = getLoopFor(MBB); in verify()
594 const MachineLoop *Loop = getLoopFor(MBB); in verify()
595 const MachineLoop *SuccLoop = getLoopFor(TBI.Succ); in verify()
[all …]
DCalcSpillWeights.cpp129 loop = Loops.getLoopFor(mbb); in calculateSpillWeightAndHint()
DMachineSink.cpp343 if (LI->getLoopFor(FromBB) == LI->getLoopFor(ToBB) && in SplitCriticalEdge()
DPHIElimination.cpp551 const MachineLoop *CurLoop = MLI ? MLI->getLoopFor(&MBB) : nullptr; in SplitPHIEdges()
568 const MachineLoop *PreLoop = MLI ? MLI->getLoopFor(PreMBB) : nullptr; in SplitPHIEdges()
/external/llvm/lib/Target/R600/
DAMDILCFGStructurizer.cpp369 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in hasBackEdge()
388 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in isActiveLoophead()
1157 handleLoopcontBlock(MBB, MLI->getLoopFor(MBB), in loopcontPatternMatch()
1178 MachineLoop *LoopRep = MLI->getLoopFor(Src1MBB); in isSameloopDetachedContbreak()
1179 if (LoopRep&& LoopRep == MLI->getLoopFor(Src2MBB)) { in isSameloopDetachedContbreak()
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DAMDILCFGStructurizer.cpp880 LoopT *loopRep = loopInfo->getLoopFor(curBlk); in loopendPatternMatch()
925 LoopT *loopRep = loopInfo->getLoopFor(curBlk); in loopPatternMatch()
1111 LoopT *exitingLoop = loopInfo->getLoopFor(exitingBlk); in loopbreakPatternMatch()
1132 handleLoopcontBlock(curBlk, loopInfo->getLoopFor(curBlk), in loopcontPatternMatch()
1159 LoopT *loopRep = loopInfo->getLoopFor(src1Blk); in isSameloopDetachedContbreak()
1160 if (loopRep != NULL && loopRep == loopInfo->getLoopFor(src2Blk)) { in isSameloopDetachedContbreak()
2333 LoopT *loopRep = loopInfo->getLoopFor(curBlk); in isActiveLoophead()
2538 LoopT *loopRep = loopInfo->getLoopFor(curBlk); in hasBackEdge()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILCFGStructurizer.cpp880 LoopT *loopRep = loopInfo->getLoopFor(curBlk); in loopendPatternMatch()
925 LoopT *loopRep = loopInfo->getLoopFor(curBlk); in loopPatternMatch()
1111 LoopT *exitingLoop = loopInfo->getLoopFor(exitingBlk); in loopbreakPatternMatch()
1132 handleLoopcontBlock(curBlk, loopInfo->getLoopFor(curBlk), in loopcontPatternMatch()
1159 LoopT *loopRep = loopInfo->getLoopFor(src1Blk); in isSameloopDetachedContbreak()
1160 if (loopRep != NULL && loopRep == loopInfo->getLoopFor(src2Blk)) { in isSameloopDetachedContbreak()
2333 LoopT *loopRep = loopInfo->getLoopFor(curBlk); in isActiveLoophead()
2538 LoopT *loopRep = loopInfo->getLoopFor(curBlk); in hasBackEdge()

12