Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineLoopInfo.h118 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { in getLoopFor() function
119 return LI.getLoopFor(BB); in getLoopFor()
124 return LI.getLoopFor(BB);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopSimplifyCFG.cpp101 Loop *BBL = LI.getLoopFor(BB); in getInnermostLoopFor()
244 bool TakeFoldCandidate = TheOnlySucc && LI.getLoopFor(BB) == &L; in analyze()
278 return !TheOnlySucc || TheOnlySucc == To || LI.getLoopFor(From) != &L; in analyze()
383 if (Loop *OuterLoop = LI.getLoopFor(Preheader)) { in handleDeadExits()
446 assert(LI.getLoopFor(BB) != &L && "Attempt to remove current loop!"); in deleteDeadLoopBlocks()
447 Loop *DL = LI.getLoopFor(BB); in deleteDeadLoopBlocks()
479 assert(LI.getLoopFor(BB) == &L && "Should be a loop block!"); in foldTerminators()
659 if (!Pred || !Pred->getSingleSuccessor() || LI.getLoopFor(Pred) != &L) in mergeBlocksIntoPredecessors()
DSimpleLoopUnswitch.cpp278 if (Loop *ExitL = LI.getLoopFor(ExitBB)) in hoistLoopToNewParent()
292 assert(OldParentL == LI.getLoopFor(&Preheader) && in hoistLoopToNewParent()
338 Loop *TopMost = LI.getLoopFor(ExitBB); in getTopMostExitingLoop()
632 Loop *ExitL = LI.getLoopFor(DefaultExitBB); in unswitchTrivialSwitch()
649 Loop *ExitL = LI.getLoopFor(CaseI->getCaseSuccessor()); in unswitchTrivialSwitch()
1166 if (LI.getLoopFor(BB) == &OrigL) in cloneLoopNest()
1238 if (Loop *ExitL = LI.getLoopFor(ExitBB)) { in buildClonedLoops()
1326 if (LI.getLoopFor(BB) == &OrigL) { in buildClonedLoops()
1441 assert(LI.getLoopFor(BB) == OuterL && in buildClonedLoops()
1627 if (Loop *InnerL = LI.getLoopFor(BB)) in recomputeLoopBlockSet()
[all …]
DSink.cpp126 Loop *succ = LI.getLoopFor(SuccToSinkTo); in IsAcceptableTarget()
127 Loop *cur = LI.getLoopFor(Inst->getParent()); in IsAcceptableTarget()
DIndVarSimplify.cpp273 auto *L = LI->getLoopFor(DefI->getParent()); in getInsertPointForUses()
274 assert(!L || L->contains(LI->getLoopFor(InsertPt->getParent()))); in getInsertPointForUses()
277 if (LI->getLoopFor(DTN->getBlock()) == L) in getInsertPointForUses()
630 if (LI->getLoopFor(PN->getIncomingBlock(i)) != L) in rewriteLoopExitValues()
691 if (auto *EVL = LI->getLoopFor(ExitInsn->getParent())) in rewriteLoopExitValues()
1032 L(LI->getLoopFor(OrigPhi->getParent())), SE(SEv), DT(DTree), in WidenIV()
1076 for (const Loop *L = LI->getLoopFor(Use->getParent()); in createExtendInst()
1550 if (LI->getLoopFor(UsePhi->getParent()) != L) { in widenIVUse()
2693 if (LI->getLoopFor(ExitingBB) != L) in optimizeLoopExits()
2846 if (LI->getLoopFor(ExitingBB) != L) in predicateLoopExits()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DLoopInfo.h939 LoopT *getLoopFor(const BlockT *BB) const { return BBMap.lookup(BB); } in getLoopFor() function
942 const LoopT *operator[](const BlockT *BB) const { return getLoopFor(BB); }
947 const LoopT *L = getLoopFor(BB); in getLoopDepth()
953 const LoopT *L = getLoopFor(BB); in isLoopHeader()
1093 Loop *ToLoop = getLoopFor(I->getParent()); in replacementPreservesLCSSAForm()
1099 return ToLoop->contains(getLoopFor(From->getParent())); in replacementPreservesLCSSAForm()
1119 auto *OldLoop = getLoopFor(OldBB); in movementPreservesLCSSAForm()
1120 auto *NewLoop = getLoopFor(NewBB); in movementPreservesLCSSAForm()
1143 if (UBB != NewBB && getLoopFor(UBB) != NewLoop) in movementPreservesLCSSAForm()
1165 if (DefBlock != NewBB && getLoopFor(DefBlock) != NewLoop) in movementPreservesLCSSAForm()
DCFG.h150 for (const auto *Lp = LI.getLoopFor(Src); Lp; Lp = Lp->getParentLoop()) { in containsIrreducibleCFG()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DShrinkWrap.cpp404 MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints()
416 (MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints()
427 MLI->getLoopFor(Restore)->getExitingBlocks(ExitBlocks); in updateSaveRestorePoints()
DMachineTraceMetrics.cpp169 MachineTraceMetrics::Ensemble::getLoopFor(const MachineBasicBlock *MBB) const { in getLoopFor() function in MachineTraceMetrics::Ensemble
170 return MTM.Loops->getLoopFor(MBB); in getLoopFor()
329 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTracePred()
357 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTraceSucc()
365 if (isExitingLoop(CurLoop, getLoopFor(Succ))) in pickTraceSucc()
460 if (const MachineLoop *FromLoop = LB.Loops->getLoopFor(*From)) { in insertEdge()
465 if (isExitingLoop(FromLoop, LB.Loops->getLoopFor(To))) in insertEdge()
597 const MachineLoop *Loop = getLoopFor(MBB); in verify()
605 const MachineLoop *Loop = getLoopFor(MBB); in verify()
606 const MachineLoop *SuccLoop = getLoopFor(TBI.Succ); in verify()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLCSSA.cpp97 Loop *L = LI.getLoopFor(InstBB); in formLCSSAForInstructions()
185 if (auto *OtherLoop = LI.getLoopFor(ExitBB)) in formLCSSAForInstructions()
239 if (auto *OtherLoop = LI.getLoopFor(InsertedPN->getParent())) in formLCSSAForInstructions()
352 if (LI->getLoopFor(BB) != &L) in formLCSSA()
DBreakCriticalEdges.cpp248 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitCriticalEdge()
251 if (Loop *DestLoop = LI->getLoopFor(DestBB)) { in SplitCriticalEdge()
299 if (LI->getLoopFor(P) != TIL) { in SplitCriticalEdge()
DBasicBlockUtils.cpp530 if (Loop *L = LI->getLoopFor(Old)) in SplitBlock()
577 Loop *L = LI->getLoopFor(OldBB); in UpdateAnalysisInformation()
593 if (Loop *PL = LI->getLoopFor(Pred)) in UpdateAnalysisInformation()
618 if (Loop *PredLoop = LI->getLoopFor(Pred)) { in UpdateAnalysisInformation()
739 BI->setDebugLoc(LI->getLoopFor(BB)->getStartLoc()); in SplitBlockPredecessors()
968 if (Loop *L = LI->getLoopFor(Head)) { in SplitBlockAndInsertIfThen()
DLoopUnroll.cpp111 if (LI->getLoopFor(BB) == L) in needToInsertPhisForLCSSA()
116 Loop *DefLoop = LI->getLoopFor(Def->getParent()); in needToInsertPhisForLCSSA()
136 const Loop *OldLoop = LI->getLoopFor(OriginalBB); in addClonedBlockToLoopInfo()
612 assert((*BB != Header || LI->getLoopFor(*BB) == L) && in UnrollLoop()
934 Loop *LatchLoop = LI->getLoopFor(Latches.back()); in UnrollLoop()
DSimplifyIndVar.cpp188 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); in makeIVComparisonInvariant()
258 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); in eliminateIVComparison()
298 const Loop *L = LI->getLoopFor(SDiv->getParent()); in eliminateSDiv()
370 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent()); in simplifyIVRemainder()
936 SimplifyIndvar SIV(LI->getLoopFor(CurrIV->getParent()), SE, DT, LI, Rewriter, in simplifyUsersOfIV()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDivergenceAnalysis.cpp143 for (const auto *Loop = LI.getLoopFor(Inst->getParent()); in isTemporalDivergent()
190 auto *DivLoop = LI.getLoopFor(&LoopHeader); in taintLoopLiveOuts()
304 const auto *BranchLoop = LI.getLoopFor(Term.getParent()); in propagateBranchDivergence()
DIVUsers.cpp69 SE->getSCEVAtScope(AR, LI->getLoopFor(I->getParent())) != AR); in isInteresting()
102 Loop *DomLoop = LI->getLoopFor(DomBB); in isSimplifiedLoopNest()
235 if (LI->getLoopFor(User->getParent()) != L) { in AddUsersImpl()
DLoopInfo.cpp461 return isBlockInLCSSAForm(*LI.getLoopFor(BB), *BB, DT); in isRecursivelyLCSSAForm()
702 Loop *L = LI->getLoopFor(POI); in updateBlockParents()
730 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
748 Loop *OuterParent = LI->getLoopFor(*BI); in removeBlocksFromAncestors()
810 Loop *L = LI->getLoopFor(*I); in getNearestLoop()
871 if (getLoopFor(*I) != Unloop) in erase()
DMustExecute.cpp412 Loop *L = LI.getLoopFor(I.getParent()); in MustExecuteAnnotatedWriter()
425 Loop *L = LI.getLoopFor(I.getParent()); in MustExecuteAnnotatedWriter()
507 const Loop *L = LI ? LI->getLoopFor(InitBB) : nullptr; in findForwardJoinPoint()
612 const Loop *L = LI->getLoopFor(ToBB); in findForwardJoinPoint()
DSyncDependenceAnalysis.cpp272 auto *BlockLoop = LI.getLoopFor(Block); in computeJoinPoints()
373 TermBlock, successors(Term.getParent()), LI.getLoopFor(&TermBlock)); in join_blocks()
DCFG.cpp122 const Loop *L = LI->getLoopFor(BB); in getOutermostLoop()
237 if (LI && LI->getLoopFor(BB) != nullptr) in isPotentiallyReachable()
DDelinearization.cpp85 for (Loop *L = LI->getLoopFor(BB); L != nullptr; L = L->getParentLoop()) { in print()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyCFGSort.cpp92 const auto *ML = MLI.getLoopFor(MBB); in getRegionFor()
250 if (MachineLoop *L = MLI.getLoopFor(&MBB)) in sortBlocks()
296 if (MachineLoop *SuccL = MLI.getLoopFor(Succ)) in sortBlocks()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZMachineScheduler.cpp88 LLVM_DEBUG(const MachineLoop *Loop = MLI->getLoopFor(MBB); in enterMBB()
95 getSingleSchedPred(MBB, MLI->getLoopFor(MBB)); in enterMBB()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp234 MachineLoop *L = MLI->getLoopFor(SB); in isPreheader()
294 bool TOk = (TNP == 1 && TNS == 1 && MLI->getLoopFor(TB) == L); in matchFlowPattern()
295 bool FOk = (FNP == 1 && FNS == 1 && MLI->getLoopFor(FB) == L); in matchFlowPattern()
299 if (SkipExitBranches && MLI->getLoopFor(TB) != MLI->getLoopFor(FB)) in matchFlowPattern()
623 if (MLI->getLoopFor(B) != L) in visitBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIAnnotateControlFlow.cpp263 llvm::Loop *L = LI->getLoopFor(BB); in handleLoop()
293 llvm::Loop *L = LI->getLoopFor(BB); in closeControlFlow()

1234