Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/Analysis/
DLoopInfo.h458 LoopT *getLoopFor(const BlockT *BB) const { in getLoopFor() function
465 return getLoopFor(BB);
472 const LoopT *L = getLoopFor(BB); in getLoopDepth()
478 const LoopT *L = getLoopFor(BB); in isLoopHeader()
587 inline Loop *getLoopFor(const BasicBlock *BB) const { in getLoopFor() function
588 return LI.getLoopFor(BB); in getLoopFor()
594 return LI.getLoopFor(BB);
671 Loop *ToLoop = getLoopFor(I->getParent()); in replacementPreservesLCSSAForm()
676 return ToLoop->contains(getLoopFor(From->getParent())); in replacementPreservesLCSSAForm()
DLoopInfoImpl.h379 LoopT *Subloop = LI->getLoopFor(PredBB); in discoverAndMapSubloop()
415 if (LI->getLoopFor(*PI) != Subloop) in discoverAndMapSubloop()
481 LoopT *Subloop = LI->getLoopFor(Block); in insertIntoLoop()
DLoopIterator.h154 if (!DFS.L->contains(LI->getLoopFor(BB))) in visitPreorder()
/external/llvm/include/llvm/CodeGen/
DMachineLoopInfo.h99 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { in getLoopFor() function
100 return LI.getLoopFor(BB); in getLoopFor()
106 return LI.getLoopFor(BB);
DMachineTraceMetrics.h303 const MachineLoop *getLoopFor(const MachineBasicBlock*) const;
/external/llvm/lib/CodeGen/
DMachineTraceMetrics.cpp117 MachineTraceMetrics::Ensemble::getLoopFor(const MachineBasicBlock *MBB) const { in getLoopFor() function in MachineTraceMetrics::Ensemble
118 return MTM.Loops->getLoopFor(MBB); in getLoopFor()
227 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTracePred()
255 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTraceSucc()
265 if (isExitingLoop(CurLoop, getLoopFor(Succ))) in pickTraceSucc()
351 if (const MachineLoop *FromLoop = LB.Loops->getLoopFor(From)) { in insertEdge()
356 if (isExitingLoop(FromLoop, LB.Loops->getLoopFor(To))) in insertEdge()
494 const MachineLoop *Loop = getLoopFor(MBB); in verify()
502 const MachineLoop *Loop = getLoopFor(MBB); in verify()
503 const MachineLoop *SuccLoop = getLoopFor(TBI.Succ); in verify()
[all …]
DCalcSpillWeights.cpp142 loop = Loops.getLoopFor(mbb); in CalculateWeightAndHint()
DMachineSink.cpp334 if (LI->getLoopFor(FromBB) == LI->getLoopFor(ToBB) && in SplitCriticalEdge()
DPHIElimination.cpp546 const MachineLoop *CurLoop = MLI ? MLI->getLoopFor(&MBB) : 0; in SplitPHIEdges()
563 const MachineLoop *PreLoop = MLI ? MLI->getLoopFor(PreMBB) : 0; in SplitPHIEdges()
DMachineBlockPlacement.cpp677 if (MachineLoop *ExitLoop = MLI->getLoopFor(*SI)) { in findBestLoopExit()
1035 MachineLoop *L = MLI->getLoopFor(*BI); in buildCFGChains()
/external/llvm/lib/Analysis/
DLoopInfo.cpp425 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
453 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
472 Loop *OuterParent = LI->getLoopFor(*BI); in removeBlocksFromAncestors()
536 Loop *L = LI->getLoopFor(*I); in getNearestLoop()
598 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()
175 if (LI->getLoopFor(User->getParent()) != L) { in AddUsersImpl()
DDependenceAnalysis.cpp716 const Loop *SrcLoop = LI->getLoopFor(SrcBlock); in establishNestingLevels()
717 const Loop *DstLoop = LI->getLoopFor(DstBlock); in establishNestingLevels()
3251 isLoopInvariant(SrcPtrSCEV, LI->getLoopFor(Src->getParent())) && in depends()
3252 isLoopInvariant(DstPtrSCEV, LI->getLoopFor(Dst->getParent())); in depends()
3284 classifyPair(Pair[P].Src, LI->getLoopFor(Src->getParent()), in depends()
3285 Pair[P].Dst, LI->getLoopFor(Dst->getParent()), in depends()
3362 LI->getLoopFor(Src->getParent()), in depends()
3365 LI->getLoopFor(Dst->getParent()), in depends()
3496 classifyPair(Pair[SJ].Src, LI->getLoopFor(Src->getParent()), in depends()
3497 Pair[SJ].Dst, LI->getLoopFor(Dst->getParent()), in depends()
[all …]
DScalarEvolutionExpander.cpp183 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in InsertBinop()
556 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in expandAddToGEP()
581 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in expandAddToGEP()
648 return Pair.first->second = SE.LI->getLoopFor(I->getParent()); in getRelevantLoop()
1499 for (Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock()); ; in expand()
DProfileEstimatorPass.cpp126 Loop* BBLoop = LI->getLoopFor(BB); in recurseBasicBlock()
/external/llvm/lib/Transforms/Scalar/
DLoopInstSimplify.cpp140 const Loop *SuccLoop = LI->getLoopFor(SuccBB); in runOnLoop()
150 if (LI->getLoopFor(ExitBB) == L && Visited.insert(ExitBB)) in runOnLoop()
DSink.cpp206 Loop *succ = LI->getLoopFor(SuccToSinkTo); in IsAcceptableTarget()
207 Loop *cur = LI->getLoopFor(Inst->getParent()); in IsAcceptableTarget()
DLoopUnswitch.cpp670 if (LI->getLoopFor(*I) == L) in CloneLoop()
848 if (Loop *ExitBBLoop = LI->getLoopFor(ExitBlocks[i])) in UnswitchNontrivialCondition()
967 if (Loop *L = LI->getLoopFor(BB)) in RemoveBlockIfDead()
1009 if (Loop *BBLoop = LI->getLoopFor(BB)) { in RemoveBlockIfDead()
DLICM.cpp147 return LI->getLoopFor(BB) != CurLoop; in inSubLoop()
245 if (LI->getLoopFor(BB) == L) // Ignore blocks in subloops. in runOnLoop()
DIndVarSimplify.cpp523 if (LI->getLoopFor(PN->getIncomingBlock(i)) != L) in RewriteLoopExitValues()
691 L(LI->getLoopFor(OrigPhi->getParent())), in WidenIV()
735 for (const Loop *L = LI->getLoopFor(Use->getParent()); in getExtend()
860 LI->getLoopFor(DU.NarrowUse->getParent()) != L) in WidenIVUse()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp164 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); in eliminateIVComparison()
198 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent()); in eliminateIVRemainder()
377 SimplifyIndvar SIV(LI->getLoopFor(CurrIV->getParent()), SE, LPM, Dead); in simplifyUsersOfIV()
DBasicBlockUtils.cpp296 if (Loop *L = LI->getLoopFor(Old)) in SplitBlock()
325 Loop *L = LI ? LI->getLoopFor(OldBB) : 0; in UpdateAnalysisInformation()
340 if (Loop *PL = LI->getLoopFor(Pred)) in UpdateAnalysisInformation()
370 if (Loop *PredLoop = LI->getLoopFor(Pred)) { in UpdateAnalysisInformation()
DBreakCriticalEdges.cpp311 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitCriticalEdge()
314 if (Loop *DestLoop = LI->getLoopFor(DestBB)) { in SplitCriticalEdge()
DLoopUnroll.cpp100 if (Loop *L = LI->getLoopFor(BB)) in FoldBlockIntoPredecessor()
/external/llvm/lib/Target/R600/
DAMDILCFGStructurizer.cpp741 LoopT *loopRep = loopInfo->getLoopFor(curBlk); in loopendPatternMatch()
786 LoopT *loopRep = loopInfo->getLoopFor(curBlk); in loopPatternMatch()
965 LoopT *exitingLoop = loopInfo->getLoopFor(exitingBlk); in loopbreakPatternMatch()
986 handleLoopcontBlock(curBlk, loopInfo->getLoopFor(curBlk), in loopcontPatternMatch()
1013 LoopT *loopRep = loopInfo->getLoopFor(src1Blk); in isSameloopDetachedContbreak()
1014 if (loopRep != NULL && loopRep == loopInfo->getLoopFor(src2Blk)) { in isSameloopDetachedContbreak()
2149 LoopT *loopRep = loopInfo->getLoopFor(curBlk); in isActiveLoophead()
2353 LoopT *loopRep = loopInfo->getLoopFor(curBlk); in hasBackEdge()

12