/external/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 536 LoopT *getLoopFor(const BlockT *BB) const { return BBMap.lookup(BB); } in getLoopFor() function 540 return getLoopFor(BB); 546 const LoopT *L = getLoopFor(BB); in getLoopDepth() 552 const LoopT *L = getLoopFor(BB); in isLoopHeader() 667 Loop *ToLoop = getLoopFor(I->getParent()); in replacementPreservesLCSSAForm() 672 return ToLoop->contains(getLoopFor(From->getParent())); in replacementPreservesLCSSAForm() 692 auto *OldLoop = getLoopFor(OldBB); in movementPreservesLCSSAForm() 693 auto *NewLoop = getLoopFor(NewBB); in movementPreservesLCSSAForm() 716 if (UBB != NewBB && getLoopFor(UBB) != NewLoop) in movementPreservesLCSSAForm() 738 if (DefBlock != NewBB && getLoopFor(DefBlock) != NewLoop) in movementPreservesLCSSAForm()
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyCFGStackify.cpp | 142 if (MachineLoop *L = MLI.getLoopFor(&MBB)) in SortBlocks() 165 const MachineLoop *L = MLI.getLoopFor(MBB); in SortBlocks() 184 if (MachineLoop *SuccL = MLI.getLoopFor(Succ)) in SortBlocks() 256 MachineLoop *Loop = MLI.getLoopFor(&MBB); in SortBlocks() 270 assert(OnStack.count(MLI.getLoopFor(&MBB)) && in SortBlocks() 354 for (MachineLoop *Loop = MLI.getLoopFor(LayoutPred); in PlaceBlockMarker() 361 MachineLoop *HeaderLoop = MLI.getLoopFor(Header); in PlaceBlockMarker() 402 MachineLoop *Loop = MLI.getLoopFor(&MBB); in PlaceLoopMarker()
|
/external/llvm/lib/CodeGen/ |
D | ShrinkWrap.cpp | 342 MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints() 354 (MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints() 365 MLI->getLoopFor(Restore)->getExitingBlocks(ExitBlocks); in updateSaveRestorePoints() 394 for (const MachineLoop *Loop = MLI.getLoopFor(SrcBB); Loop; in isProperBackedge()
|
D | MachineTraceMetrics.cpp | 157 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() 352 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() 576 const MachineLoop *Loop = getLoopFor(MBB); in verify() 584 const MachineLoop *Loop = getLoopFor(MBB); in verify() 585 const MachineLoop *SuccLoop = getLoopFor(TBI.Succ); in verify() [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineLoopInfo.h | 87 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/CodeGen/ |
D | MachineLoopInfo.h | 92 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { in getLoopFor() function 93 return LI.getLoopFor(BB); in getLoopFor() 98 return LI.getLoopFor(BB);
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | LoopInfo.h | 673 LoopT *getLoopFor(const BlockT *BB) const { in getLoopFor() function 682 return getLoopFor(BB); 689 const LoopT *L = getLoopFor(BB); in getLoopDepth() 695 const LoopT *L = getLoopFor(BB); in isLoopHeader() 810 const_cast<LoopT *>(getLoopFor(X))) in ConsiderForLoop() 976 inline Loop *getLoopFor(const BasicBlock *BB) const { in getLoopFor() function 977 return LI.getLoopFor(BB); in getLoopFor() 983 return LI.getLoopFor(BB); 1060 Loop *ToLoop = getLoopFor(I->getParent()); in replacementPreservesLCSSAForm() 1065 return ToLoop->contains(getLoopFor(From->getParent())); in replacementPreservesLCSSAForm()
|
D | LoopIterator.h | 145 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/Transforms/Utils/ |
D | LoopUnroll.cpp | 129 if (Loop *L = LI->getLoopFor(BB)) { in foldBlockIntoPredecessor() 157 if (LI->getLoopFor(BB) == L) in needToInsertPhisForLCSSA() 162 Loop *DefLoop = LI->getLoopFor(Def->getParent()); in needToInsertPhisForLCSSA() 397 assert(LI->getLoopFor(*BB) == L && "Header should not be in a sub-loop"); in UnrollLoop() 401 const Loop *OldLoop = LI->getLoopFor(*BB); in UnrollLoop() 671 Loop *LatchLoop = LI->getLoopFor(Latches.back()); in UnrollLoop()
|
D | BreakCriticalEdges.cpp | 244 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitCriticalEdge() 247 if (Loop *DestLoop = LI->getLoopFor(DestBB)) { in SplitCriticalEdge() 295 if (LI->getLoopFor(P) != TIL) { in SplitCriticalEdge()
|
D | BasicBlockUtils.cpp | 261 if (Loop *L = LI->getLoopFor(Old)) in SplitBlock() 290 Loop *L = LI->getLoopFor(OldBB); in UpdateAnalysisInformation() 300 if (Loop *PL = LI->getLoopFor(Pred)) in UpdateAnalysisInformation() 325 if (Loop *PredLoop = LI->getLoopFor(Pred)) { in UpdateAnalysisInformation() 649 Loop *L = LI->getLoopFor(Head); in SplitBlockAndInsertIfThen()
|
D | LCSSA.cpp | 148 if (auto *OtherLoop = LI->getLoopFor(ExitBB)) in processInstruction() 184 Loop *OtherLoop = LI->getLoopFor(PHIBB); in processInstruction()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | LoopInfo.cpp | 437 Loop *L = LI->getLoopFor(*POI); in updateBlockParents() 465 Loop *L = LI->getLoopFor(*POI); in updateBlockParents() 483 Loop *NewParent = LI->getLoopFor(*BI); in removeBlocksFromAncestors() 551 Loop *L = LI->getLoopFor(*I); in getNearestLoop() 613 if (getLoopFor(*I) != Unloop) in updateUnloop()
|
D | IVUsers.cpp | 57 SE->getSCEVAtScope(AR, LI->getLoopFor(I->getParent())) != AR); in isInteresting() 125 if (LI->getLoopFor(User->getParent()) != L) { in AddUsersIfInteresting()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopInstSimplify.cpp | 135 const Loop *SuccLoop = LI->getLoopFor(SuccBB); in runOnLoop() 145 if (LI->getLoopFor(ExitBB) == L && Visited.insert(ExitBB)) in runOnLoop()
|
/external/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 439 Loop *L = LI->getLoopFor(POI); in updateBlockParents() 467 Loop *L = LI->getLoopFor(*POI); in updateBlockParents() 485 Loop *OuterParent = LI->getLoopFor(*BI); in removeBlocksFromAncestors() 548 Loop *L = LI->getLoopFor(*I); in getNearestLoop() 602 if (getLoopFor(*I) != Unloop) in markAsRemoved()
|
D | IVUsers.cpp | 62 SE->getSCEVAtScope(AR, LI->getLoopFor(I->getParent())) != AR); in isInteresting() 96 Loop *DomLoop = LI->getLoopFor(DomBB); in isSimplifiedLoopNest() 185 if (LI->getLoopFor(User->getParent()) != L) { in AddUsersImpl()
|
D | CFG.cpp | 114 const Loop *L = LI->getLoopFor(BB); in getOutermostLoop() 203 if (LI && LI->getLoopFor(BB) != nullptr) in isPotentiallyReachable()
|
D | DependenceAnalysis.cpp | 713 const Loop *SrcLoop = LI->getLoopFor(SrcBlock); in establishNestingLevels() 714 const Loop *DstLoop = LI->getLoopFor(DstBlock); in establishNestingLevels() 3182 Loop *SrcLoop = LI->getLoopFor(Src->getParent()); in tryDelinearize() 3183 Loop *DstLoop = LI->getLoopFor(Dst->getParent()); in tryDelinearize() 3342 UsefulGEP = isLoopInvariant(SrcPtrSCEV, LI->getLoopFor(Src->getParent())) && in depends() 3343 isLoopInvariant(DstPtrSCEV, LI->getLoopFor(Dst->getParent())) && in depends() 3384 classifyPair(Pair[P].Src, LI->getLoopFor(Src->getParent()), in depends() 3385 Pair[P].Dst, LI->getLoopFor(Dst->getParent()), in depends() 3462 LI->getLoopFor(Src->getParent()), in depends() 3465 LI->getLoopFor(Dst->getParent()), in depends() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopInstSimplify.cpp | 153 const Loop *SuccLoop = LI->getLoopFor(SuccBB); in runOnLoop() 163 if (LI->getLoopFor(ExitBB) == L && Visited.insert(ExitBB).second) in runOnLoop()
|
D | Sink.cpp | 126 Loop *succ = LI.getLoopFor(SuccToSinkTo); in IsAcceptableTarget() 127 Loop *cur = LI.getLoopFor(Inst->getParent()); in IsAcceptableTarget()
|
D | LoopSimplifyCFG.cpp | 53 if (!Pred || !Pred->getSingleSuccessor() || LI.getLoopFor(Pred) != &L) in simplifyLoopCFG()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 168 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); in eliminateIVComparison() 202 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent()); in eliminateIVRemainder() 384 SimplifyIndvar SIV(LI->getLoopFor(CurrIV->getParent()), SE, LPM, Dead); in simplifyUsersOfIV()
|
D | BasicBlockUtils.cpp | 297 if (Loop *L = LI->getLoopFor(Old)) in SplitBlock() 326 Loop *L = LI ? LI->getLoopFor(OldBB) : 0; in UpdateAnalysisInformation() 341 if (Loop *PL = LI->getLoopFor(Pred)) in UpdateAnalysisInformation() 371 if (Loop *PredLoop = LI->getLoopFor(Pred)) { in UpdateAnalysisInformation()
|
D | BreakCriticalEdges.cpp | 305 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitCriticalEdge() 308 if (Loop *DestLoop = LI->getLoopFor(DestBB)) { in SplitCriticalEdge()
|