Home
last modified time | relevance | path

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

12

/external/llvm/include/llvm/CodeGen/
DMachineLoopInfo.h87 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { in getLoopFor() function
88 return LI.getLoopFor(BB); in getLoopFor()
94 return LI.getLoopFor(BB);
/external/llvm/include/llvm/Analysis/
DLoopInfo.h660 LoopT *getLoopFor(const BlockT *BB) const { in getLoopFor() function
667 return getLoopFor(BB);
674 const LoopT *L = getLoopFor(BB); in getLoopDepth()
680 const LoopT *L = getLoopFor(BB); in isLoopHeader()
792 const_cast<LoopT *>(getLoopFor(X))) in ConsiderForLoop()
956 inline Loop *getLoopFor(const BasicBlock *BB) const { in getLoopFor() function
957 return LI.getLoopFor(BB); in getLoopFor()
963 return LI.getLoopFor(BB);
1040 Loop *ToLoop = getLoopFor(I->getParent()); in replacementPreservesLCSSAForm()
1045 return ToLoop->contains(getLoopFor(From->getParent())); in replacementPreservesLCSSAForm()
DLoopIterator.h145 if (!DFS.L->contains(LI->getLoopFor(BB))) in visitPreorder()
166 return !DFS.L->contains(LI->getLoopFor(BB)) || DFS.PostNumbers.count(BB); in count()
/external/llvm/lib/Analysis/
DLoopInfo.cpp356 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
384 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
403 Loop *OuterParent = LI->getLoopFor(*BI); in removeBlocksFromAncestors()
468 Loop *L = LI->getLoopFor(*I); in getNearestLoop()
530 if (getLoopFor(*I) != Unloop) in updateUnloop()
DIVUsers.cpp57 SE->getSCEVAtScope(AR, LI->getLoopFor(I->getParent())) != AR); in isInteresting()
91 Loop *DomLoop = LI->getLoopFor(DomBB); in isSimplifiedLoopNest()
168 if (LI->getLoopFor(User->getParent()) != L) { in AddUsersImpl()
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()
1498 for (Loop *L = SE.LI->getLoopFor(Builder.GetInsertBlock()); ; in expand()
DProfileEstimatorPass.cpp126 Loop* BBLoop = LI->getLoopFor(BB); in recurseBasicBlock()
DBranchProbabilityInfo.cpp220 Loop *L = LI->getLoopFor(BB); in calcLoopBranchHeuristics()
DRegionInfo.cpp132 Loop *L = LI->getLoopFor(BB); in outermostLoopInRegion()
/external/llvm/lib/Transforms/Scalar/
DLoopInstSimplify.cpp139 const Loop *SuccLoop = LI->getLoopFor(SuccBB); in runOnLoop()
149 if (LI->getLoopFor(ExitBB) == L && Visited.insert(ExitBB)) in runOnLoop()
DLoopUnswitch.cpp668 if (LI->getLoopFor(*I) == L) in CloneLoop()
846 if (Loop *ExitBBLoop = LI->getLoopFor(ExitBlocks[i])) in UnswitchNontrivialCondition()
969 if (Loop *L = LI->getLoopFor(BB)) in RemoveBlockIfDead()
1011 if (Loop *BBLoop = LI->getLoopFor(BB)) { in RemoveBlockIfDead()
DLICM.cpp141 return LI->getLoopFor(BB) != CurLoop; in inSubLoop()
237 if (LI->getLoopFor(BB) == L) // Ignore blocks in subloops. in runOnLoop()
DIndVarSimplify.cpp523 if (LI->getLoopFor(PN->getIncomingBlock(i)) != L) in RewriteLoopExitValues()
689 L(LI->getLoopFor(OrigPhi->getParent())), in WidenIV()
733 for (const Loop *L = LI->getLoopFor(Use->getParent()); in getExtend()
858 LI->getLoopFor(DU.NarrowUse->getParent()) != L) in WidenIVUse()
DLoopIdiomRecognize.cpp214 if (LI.getLoopFor(*BI) != CurLoop) in runOnLoop()
/external/llvm/lib/Transforms/Utils/
DSimplifyIndVar.cpp166 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); in eliminateIVComparison()
200 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent()); in eliminateIVRemainder()
379 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.cpp305 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitCriticalEdge()
308 if (Loop *DestLoop = LI->getLoopFor(DestBB)) { in SplitCriticalEdge()
DLoopUnroll.cpp99 if (Loop *L = LI->getLoopFor(BB)) in FoldBlockIntoPredecessor()
/external/llvm/lib/CodeGen/
DPHIElimination.cpp429 !(MLI->getLoopFor(PreMBB) == MLI->getLoopFor(&MBB) && in SplitPHIEdges()
DCalcSpillWeights.cpp121 loop = Loops.getLoopFor(mbb); in CalculateWeightAndHint()
DMachineSink.cpp326 if (LI->getLoopFor(FromBB) == LI->getLoopFor(ToBB) && in SplitCriticalEdge()
DMachineBasicBlock.cpp723 if (MachineLoop *TIL = MLI->getLoopFor(this)) { in SplitCriticalEdge()
726 if (MachineLoop *DestLoop = MLI->getLoopFor(Succ)) { in SplitCriticalEdge()
DMachineLICM.cpp511 const MachineLoop *ML = MLI->getLoopFor(BB); in HoistRegionPostRA()
705 const MachineLoop *ML = MLI->getLoopFor(BB); in HoistOutOfLoop()
DSplitKit.cpp679 const MachineLoop *DefLoop = Loops.getLoopFor(DefMBB); in findShallowDominator()
687 const MachineLoop *Loop = Loops.getLoopFor(MBB); in findShallowDominator()
DScheduleDAGInstrs.cpp131 if (MachineLoop *ML = MLI.getLoopFor(BB)) in startBlock()

12