/external/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 558 LoopT *getLoopFor(const BlockT *BB) const { return BBMap.lookup(BB); } in getLoopFor() function 563 return getLoopFor(BB); 570 const LoopT *L = getLoopFor(BB); in getLoopDepth() 576 const LoopT *L = getLoopFor(BB); in isLoopHeader() 693 Loop *ToLoop = getLoopFor(I->getParent()); in replacementPreservesLCSSAForm() 698 return ToLoop->contains(getLoopFor(From->getParent())); in replacementPreservesLCSSAForm() 719 auto *OldLoop = getLoopFor(OldBB); in movementPreservesLCSSAForm() 720 auto *NewLoop = getLoopFor(NewBB); in movementPreservesLCSSAForm() 743 if (UBB != NewBB && getLoopFor(UBB) != NewLoop) in movementPreservesLCSSAForm() 765 if (DefBlock != NewBB && getLoopFor(DefBlock) != NewLoop) in movementPreservesLCSSAForm()
|
D | LoopInfoImpl.h | 360 LoopT *Subloop = LI->getLoopFor(PredBB); in discoverAndMapSubloop() 396 if (LI->getLoopFor(*PI) != Subloop) in discoverAndMapSubloop() 434 LoopT *Subloop = LI->getLoopFor(Block); in insertIntoLoop()
|
D | LoopIterator.h | 154 if (!DFS.L->contains(LI->getLoopFor(BB))) in visitPreorder()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineLoopInfo.h | 95 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { in getLoopFor() function 96 return LI.getLoopFor(BB); in getLoopFor() 102 return LI.getLoopFor(BB);
|
D | MachineTraceMetrics.h | 322 const MachineLoop *getLoopFor(const MachineBasicBlock*) const;
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyCFGStackify.cpp | 125 MachineLoop *Loop = MLI.getLoopFor(MBB); in POStackEntry() 227 MachineLoop *Loop = MLI.getLoopFor(&MBB); in SortBlocks() 241 assert(OnStack.count(MLI.getLoopFor(&MBB)) && in SortBlocks() 310 for (MachineLoop *Loop = MLI.getLoopFor(LayoutPred); in PlaceBlockMarker() 317 MachineLoop *HeaderLoop = MLI.getLoopFor(Header); in PlaceBlockMarker() 347 MachineLoop *Loop = MLI.getLoopFor(&MBB); in PlaceLoopMarker()
|
/external/llvm/lib/CodeGen/ |
D | ShrinkWrap.cpp | 339 MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints() 351 (MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints() 366 MLI->getLoopFor(Restore)->getExitingBlocks(ExitBlocks); in updateSaveRestorePoints()
|
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() 342 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTraceSucc() 350 if (isExitingLoop(CurLoop, getLoopFor(Succ))) in pickTraceSucc() 436 if (const MachineLoop *FromLoop = LB.Loops->getLoopFor(From)) { in insertEdge() 441 if (isExitingLoop(FromLoop, LB.Loops->getLoopFor(To))) in insertEdge() 572 const MachineLoop *Loop = getLoopFor(MBB); in verify() 580 const MachineLoop *Loop = getLoopFor(MBB); in verify() 581 const MachineLoop *SuccLoop = getLoopFor(TBI.Succ); in verify() [all …]
|
/external/llvm/lib/Transforms/Utils/ |
D | BreakCriticalEdges.cpp | 261 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitCriticalEdge() 264 if (Loop *DestLoop = LI->getLoopFor(DestBB)) { in SplitCriticalEdge() 312 if (LI->getLoopFor(P) != TIL) { in SplitCriticalEdge()
|
D | LoopUnroll.cpp | 113 if (Loop *L = LI->getLoopFor(BB)) { in FoldBlockIntoPredecessor() 323 assert(LI->getLoopFor(*BB) == L && "Header should not be in a sub-loop"); in UnrollLoop() 327 const Loop *OldLoop = LI->getLoopFor(*BB); in UnrollLoop() 546 Loop *LatchLoop = LI->getLoopFor(Latches.back()); in UnrollLoop()
|
D | LCSSA.cpp | 149 if (auto *OtherLoop = LI->getLoopFor(ExitBB)) in processInstruction() 185 Loop *OtherLoop = LI->getLoopFor(PHIBB); in processInstruction()
|
D | BasicBlockUtils.cpp | 294 if (Loop *L = LI->getLoopFor(Old)) in SplitBlock() 328 Loop *L = LI->getLoopFor(OldBB); in UpdateAnalysisInformation() 341 if (Loop *PL = LI->getLoopFor(Pred)) in UpdateAnalysisInformation() 368 if (Loop *PredLoop = LI->getLoopFor(Pred)) { in UpdateAnalysisInformation()
|
D | SimplifyIndVar.cpp | 168 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); in eliminateIVComparison() 248 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent()); in eliminateIVRemainder() 600 SimplifyIndvar SIV(LI->getLoopFor(CurrIV->getParent()), SE, DT, LI, Dead); in simplifyUsersOfIV()
|
/external/llvm/lib/Analysis/ |
D | LoopInfo.cpp | 488 Loop *L = LI->getLoopFor(*POI); in updateBlockParents() 516 Loop *L = LI->getLoopFor(*POI); in updateBlockParents() 535 Loop *OuterParent = LI->getLoopFor(*BI); in removeBlocksFromAncestors() 599 Loop *L = LI->getLoopFor(*I); in getNearestLoop() 651 if (getLoopFor(*I) != Unloop) in updateUnloop()
|
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 | 718 const Loop *SrcLoop = LI->getLoopFor(SrcBlock); in establishNestingLevels() 719 const Loop *DstLoop = LI->getLoopFor(DstBlock); in establishNestingLevels() 3251 Loop *SrcLoop = LI->getLoopFor(Src->getParent()); in tryDelinearize() 3252 Loop *DstLoop = LI->getLoopFor(Dst->getParent()); in tryDelinearize() 3411 UsefulGEP = isLoopInvariant(SrcPtrSCEV, LI->getLoopFor(Src->getParent())) && in depends() 3412 isLoopInvariant(DstPtrSCEV, LI->getLoopFor(Dst->getParent())) && in depends() 3453 classifyPair(Pair[P].Src, LI->getLoopFor(Src->getParent()), in depends() 3454 Pair[P].Dst, LI->getLoopFor(Dst->getParent()), in depends() 3531 LI->getLoopFor(Src->getParent()), in depends() 3534 LI->getLoopFor(Dst->getParent()), in depends() [all …]
|
D | Delinearization.cpp | 96 for (Loop *L = LI->getLoopFor(BB); L != nullptr; L = L->getParentLoop()) { in print()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopInstSimplify.cpp | 160 const Loop *SuccLoop = LI->getLoopFor(SuccBB); in runOnLoop() 170 if (LI->getLoopFor(ExitBB) == L && Visited.insert(ExitBB).second) in runOnLoop()
|
D | Sink.cpp | 219 Loop *succ = LI->getLoopFor(SuccToSinkTo); in IsAcceptableTarget() 220 Loop *cur = LI->getLoopFor(Inst->getParent()); in IsAcceptableTarget()
|
D | IndVarSimplify.cpp | 245 auto *L = LI->getLoopFor(DefI->getParent()); in getInsertPointForUses() 246 assert(!L || L->contains(LI->getLoopFor(InsertPt->getParent()))); in getInsertPointForUses() 249 if (LI->getLoopFor(DTN->getBlock()) == L) in getInsertPointForUses() 576 (!L->getParentLoop() || L->getParentLoop() == LI->getLoopFor(ExitBB)); in rewriteLoopExitValues() 604 if (LI->getLoopFor(PN->getIncomingBlock(i)) != L) in rewriteLoopExitValues() 880 L(LI->getLoopFor(OrigPhi->getParent())), in WidenIV() 932 for (const Loop *L = LI->getLoopFor(Use->getParent()); in createExtendInst() 1236 if (LI->getLoopFor(UsePhi->getParent()) != L) { in widenIVUse()
|
D | LICM.cpp | 231 if (LI->getLoopFor(BB) == L) // Ignore blocks in subloops. in runOnLoop() 586 if (Loop *OLoop = LI->getLoopFor(OInst->getParent())) in CloneInstructionInExitBlock() 754 if (Loop *L = LI.getLoopFor(I->getParent())) in maybeInsertLCSSAPHI() 1048 return LI->getLoopFor(BB) != CurLoop; in inSubLoop()
|
D | StructurizeCFG.cpp | 299 Loop *Loop = LI->getLoopFor(BB); in orderNodes() 325 if (LI->getLoopFor(LoopBB) == CurrentLoop) { in orderNodes() 332 CurrentLoop = LI->getLoopFor(BB); in orderNodes()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIAnnotateControlFlow.cpp | 283 llvm::Loop *L = LI->getLoopFor(BB); in handleLoop() 301 llvm::Loop *L = LI->getLoopFor(BB); in closeControlFlow()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonEarlyIfConv.cpp | 210 MachineLoop *L = MLI->getLoopFor(SB); in isPreheader() 247 if (MLI->getLoopFor(T1B) != L || MLI->getLoopFor(T2B) != L) in matchFlowPattern() 577 if (MLI->getLoopFor(B) != L) in visitBlock()
|