Home
last modified time | relevance | path

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

12

/freebsd-9-stable/contrib/llvm/include/llvm/Analysis/
DLoopInfo.h489 LoopT *getLoopFor(const BlockT *BB) const { in getLoopFor() function
496 return getLoopFor(BB);
503 const LoopT *L = getLoopFor(BB); in getLoopDepth()
509 const LoopT *L = getLoopFor(BB); in isLoopHeader()
618 inline Loop *getLoopFor(const BasicBlock *BB) const { in getLoopFor() function
619 return LI.getLoopFor(BB); in getLoopFor()
625 return LI.getLoopFor(BB);
702 Loop *ToLoop = getLoopFor(I->getParent()); in replacementPreservesLCSSAForm()
707 return ToLoop->contains(getLoopFor(From->getParent())); in replacementPreservesLCSSAForm()
DLoopInfoImpl.h359 LoopT *Subloop = LI->getLoopFor(PredBB); in discoverAndMapSubloop()
395 if (LI->getLoopFor(*PI) != Subloop) in discoverAndMapSubloop()
461 LoopT *Subloop = LI->getLoopFor(Block); in insertIntoLoop()
DLoopIterator.h154 if (!DFS.L->contains(LI->getLoopFor(BB))) in visitPreorder()
/freebsd-9-stable/contrib/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.h315 const MachineLoop *getLoopFor(const MachineBasicBlock*) const;
/freebsd-9-stable/contrib/llvm/lib/Analysis/
DLoopInfo.cpp464 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
492 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
511 Loop *OuterParent = LI->getLoopFor(*BI); in removeBlocksFromAncestors()
575 Loop *L = LI->getLoopFor(*I); in getNearestLoop()
637 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()
DCFG.cpp120 const Loop *L = LI->getLoopFor(BB); in getOutermostLoop()
211 if (LI && LI->getLoopFor(BB) != 0) in isPotentiallyReachable()
DDependenceAnalysis.cpp721 const Loop *SrcLoop = LI->getLoopFor(SrcBlock); in establishNestingLevels()
722 const Loop *DstLoop = LI->getLoopFor(DstBlock); in establishNestingLevels()
3310 isLoopInvariant(SrcPtrSCEV, LI->getLoopFor(Src->getParent())) && in depends()
3311 isLoopInvariant(DstPtrSCEV, LI->getLoopFor(Dst->getParent())); in depends()
3349 classifyPair(Pair[P].Src, LI->getLoopFor(Src->getParent()), in depends()
3350 Pair[P].Dst, LI->getLoopFor(Dst->getParent()), in depends()
3427 LI->getLoopFor(Src->getParent()), in depends()
3430 LI->getLoopFor(Dst->getParent()), in depends()
3561 classifyPair(Pair[SJ].Src, LI->getLoopFor(Src->getParent()), in depends()
3562 Pair[SJ].Dst, LI->getLoopFor(Dst->getParent()), in depends()
[all …]
DDelinearization.cpp95 for (Loop *L = LI->getLoopFor(BB); L != NULL; L = L->getParentLoop()) { in print()
DScalarEvolutionExpander.cpp184 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in InsertBinop()
555 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in expandAddToGEP()
575 while (const Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock())) { in expandAddToGEP()
641 return Pair.first->second = SE.LI->getLoopFor(I->getParent()); in getRelevantLoop()
1489 for (Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock()); ; in expand()
/freebsd-9-stable/contrib/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()
587 const MachineLoop *Loop = getLoopFor(MBB); in verify()
595 const MachineLoop *Loop = getLoopFor(MBB); in verify()
596 const MachineLoop *SuccLoop = getLoopFor(TBI.Succ); in verify()
[all …]
DMachineSink.cpp351 if (LI->getLoopFor(FromBB) == LI->getLoopFor(ToBB) && in SplitCriticalEdge()
DCalcSpillWeights.cpp127 loop = Loops.getLoopFor(mbb); in calculateSpillWeightAndHint()
DPHIElimination.cpp550 const MachineLoop *CurLoop = MLI ? MLI->getLoopFor(&MBB) : 0; in SplitPHIEdges()
567 const MachineLoop *PreLoop = MLI ? MLI->getLoopFor(PreMBB) : 0; in SplitPHIEdges()
DMachineBlockPlacement.cpp683 if (MachineLoop *ExitLoop = MLI->getLoopFor(*SI)) { in findBestLoopExit()
1065 MachineLoop *L = MLI->getLoopFor(*BI); in buildCFGChains()
/freebsd-9-stable/contrib/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()
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()
731 L(LI->getLoopFor(OrigPhi->getParent())), in WidenIV()
775 for (const Loop *L = LI->getLoopFor(Use->getParent()); in getExtend()
900 LI->getLoopFor(DU.NarrowUse->getParent()) != L) in WidenIVUse()
/freebsd-9-stable/contrib/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()
DBreakCriticalEdges.cpp276 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitCriticalEdge()
279 if (Loop *DestLoop = LI->getLoopFor(DestBB)) { in SplitCriticalEdge()
DBasicBlockUtils.cpp280 if (Loop *L = LI->getLoopFor(Old)) in SplitBlock()
309 Loop *L = LI ? LI->getLoopFor(OldBB) : 0; in UpdateAnalysisInformation()
324 if (Loop *PL = LI->getLoopFor(Pred)) in UpdateAnalysisInformation()
354 if (Loop *PredLoop = LI->getLoopFor(Pred)) { in UpdateAnalysisInformation()
DLoopUnroll.cpp101 if (Loop *L = LI->getLoopFor(BB)) in FoldBlockIntoPredecessor()
/freebsd-9-stable/contrib/llvm/lib/Target/R600/
DAMDILCFGStructurizer.cpp365 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in hasBackEdge()
384 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in isActiveLoophead()
1158 handleLoopcontBlock(MBB, MLI->getLoopFor(MBB), in loopcontPatternMatch()
1179 MachineLoop *LoopRep = MLI->getLoopFor(Src1MBB); in isSameloopDetachedContbreak()
1180 if (LoopRep&& LoopRep == MLI->getLoopFor(Src2MBB)) { in isSameloopDetachedContbreak()

12