/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | LoopSimplifyCFG.cpp | 102 Loop *BBL = LI.getLoopFor(BB); in getInnermostLoopFor() 245 bool TakeFoldCandidate = TheOnlySucc && LI.getLoopFor(BB) == &L; in analyze() 279 return !TheOnlySucc || TheOnlySucc == To || LI.getLoopFor(From) != &L; in analyze() 389 if (Loop *OuterLoop = LI.getLoopFor(Preheader)) { in handleDeadExits() 452 assert(LI.getLoopFor(BB) != &L && "Attempt to remove current loop!"); in deleteDeadLoopBlocks() 453 Loop *DL = LI.getLoopFor(BB); in deleteDeadLoopBlocks() 485 assert(LI.getLoopFor(BB) == &L && "Should be a loop block!"); in foldTerminators() 665 if (!Pred || !Pred->getSingleSuccessor() || LI.getLoopFor(Pred) != &L) in mergeBlocksIntoPredecessors()
|
H A D | SimpleLoopUnswitch.cpp | 291 if (Loop *ExitL = LI.getLoopFor(ExitBB)) in hoistLoopToNewParent() 305 assert(OldParentL == LI.getLoopFor(&Preheader) && in hoistLoopToNewParent() 351 Loop *TopMost = LI.getLoopFor(ExitBB); in getTopMostExitingLoop() 662 Loop *ExitL = LI.getLoopFor(DefaultExitBB); in unswitchTrivialSwitch() 679 Loop *ExitL = LI.getLoopFor(CaseI->getCaseSuccessor()); in unswitchTrivialSwitch() 1207 if (LI.getLoopFor(BB) == &OrigL) in cloneLoopNest() 1279 if (Loop *ExitL = LI.getLoopFor(ExitBB)) { in buildClonedLoops() 1367 if (LI.getLoopFor(BB) == &OrigL) { in buildClonedLoops() 1482 assert(LI.getLoopFor(BB) == OuterL && in buildClonedLoops() 1673 if (Loop *InnerL = LI.getLoopFor(BB)) in recomputeLoopBlockSet() [all …]
|
H A D | Sink.cpp | 96 Loop *succ = LI.getLoopFor(SuccToSinkTo); in IsAcceptableTarget() 97 Loop *cur = LI.getLoopFor(Inst->getParent()); in IsAcceptableTarget()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
H A D | LoopInfo.h | 964 LoopT *getLoopFor(const BlockT *BB) const { return BBMap.lookup(BB); } in getLoopFor() function 967 const LoopT *operator[](const BlockT *BB) const { return getLoopFor(BB); } 972 const LoopT *L = getLoopFor(BB); in getLoopDepth() 978 const LoopT *L = getLoopFor(BB); in isLoopHeader() 1124 Loop *ToLoop = getLoopFor(I->getParent()); in replacementPreservesLCSSAForm() 1130 return ToLoop->contains(getLoopFor(From->getParent())); in replacementPreservesLCSSAForm() 1150 auto *OldLoop = getLoopFor(OldBB); in movementPreservesLCSSAForm() 1151 auto *NewLoop = getLoopFor(NewBB); in movementPreservesLCSSAForm() 1174 if (UBB != NewBB && getLoopFor(UBB) != NewLoop) in movementPreservesLCSSAForm() 1196 if (DefBlock != NewBB && getLoopFor(DefBlock) != NewLoop) in movementPreservesLCSSAForm()
|
H A D | CFG.h | 153 for (const auto *Lp = LI.getLoopFor(Src); Lp; Lp = Lp->getParentLoop()) { in containsIrreducibleCFG()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
H A D | MachineLoopInfo.h | 124 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { in getLoopFor() function 125 return LI.getLoopFor(BB); in getLoopFor() 130 return LI.getLoopFor(BB);
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | ShrinkWrap.cpp | 400 MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints() 411 if (Restore && (MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints() 422 MLI->getLoopFor(Restore)->getExitingBlocks(ExitBlocks); in updateSaveRestorePoints()
|
H A D | MachineTraceMetrics.cpp | 169 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 …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
H A D | SyncDependenceAnalysis.cpp | 148 auto *NestedLoop = LI.getLoopFor(NextBB); in computeStackPO() 335 const auto *DivBlockLoop = LI.getLoopFor(&DivTermBlock); in computeJoinPoints() 356 const auto *BlockLoop = LI.getLoopFor(SuccBlock); in computeJoinPoints() 377 auto *BlockLoop = LI.getLoopFor(Block); in computeJoinPoints()
|
H A D | DivergenceAnalysis.cpp | 118 for (const auto *Loop = LI.getLoopFor(Inst->getParent()); in isTemporalDivergent() 252 const Loop *ExitLevelLoop = LI.getLoopFor(&DivExit); in propagateLoopExitDivergence() 298 const auto *BranchLoop = LI.getLoopFor(Term.getParent()); in analyzeControlDivergence()
|
H A D | LoopInfo.cpp | 474 return isBlockInLCSSAForm(*LI.getLoopFor(BB), *BB, DT); in isRecursivelyLCSSAForm() 723 Loop *L = LI->getLoopFor(POI); in updateBlockParents() 751 Loop *L = LI->getLoopFor(*POI); in updateBlockParents() 768 Loop *OuterParent = LI->getLoopFor(BB); in removeBlocksFromAncestors() 830 Loop *L = LI->getLoopFor(*I); in getNearestLoop() 888 if (getLoopFor(BB) != Unloop) in erase() 945 const Loop *L = getLoopFor(I->getParent()); in wouldBeOutOfLoopUseRequiringLCSSA()
|
H A D | MustExecute.cpp | 420 Loop *L = LI.getLoopFor(I.getParent()); in MustExecuteAnnotatedWriter() 433 Loop *L = LI.getLoopFor(I.getParent()); in MustExecuteAnnotatedWriter() 511 const Loop *L = LI ? LI->getLoopFor(InitBB) : nullptr; in findForwardJoinPoint() 616 const Loop *L = LI->getLoopFor(ToBB); in findForwardJoinPoint() 653 const Loop *L = LI ? LI->getLoopFor(InitBB) : nullptr; in findBackwardJoinPoint()
|
H A D | IVUsers.cpp | 69 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()
|
H A D | CFG.cpp | 129 const Loop *L = LI->getLoopFor(BB); in getOutermostLoop() 253 if (LI && LI->getLoopFor(BB) != nullptr) in isPotentiallyReachable()
|
H A D | DependenceAnalysis.cpp | 750 const Loop *SrcLoop = LI->getLoopFor(SrcBlock); in establishNestingLevels() 751 const Loop *DstLoop = LI->getLoopFor(DstBlock); in establishNestingLevels() 3258 Loop *SrcLoop = LI->getLoopFor(Src->getParent()); in tryDelinearize() 3259 Loop *DstLoop = LI->getLoopFor(Dst->getParent()); in tryDelinearize() 3572 classifyPair(Pair[P].Src, LI->getLoopFor(Src->getParent()), in depends() 3573 Pair[P].Dst, LI->getLoopFor(Dst->getParent()), in depends() 3650 LI->getLoopFor(Src->getParent()), in depends() 3653 LI->getLoopFor(Dst->getParent()), in depends() 3786 classifyPair(Pair[SJ].Src, LI->getLoopFor(Src->getParent()), in depends() 3787 Pair[SJ].Dst, LI->getLoopFor(Dst->getParent()), in depends() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblySortRegion.cpp | 18 const auto *ML = MLI.getLoopFor(MBB); in getRegionFor() 47 return getBottom(MLI.getLoopFor(R->getHeader())); in getBottom()
|
H A D | WebAssemblyCFGSort.cpp | 199 if (MachineLoop *L = MLI.getLoopFor(&MBB)) in sortBlocks() 246 if (MachineLoop *SuccL = MLI.getLoopFor(Succ)) in sortBlocks()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | LCSSA.cpp | 101 Loop *L = LI.getLoopFor(InstBB); in formLCSSAForInstructions() 198 if (auto *OtherLoop = LI.getLoopFor(ExitBB)) in formLCSSAForInstructions() 255 if (auto *OtherLoop = LI.getLoopFor(InsertedPN->getParent())) in formLCSSAForInstructions() 367 if (LI->getLoopFor(BB) != &L) in formLCSSA()
|
H A D | BreakCriticalEdges.cpp | 137 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitKnownCriticalEdge() 151 if (LI->getLoopFor(P) != TIL) { in SplitKnownCriticalEdge() 264 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitKnownCriticalEdge() 267 if (Loop *DestLoop = LI->getLoopFor(DestBB)) { in SplitKnownCriticalEdge()
|
H A D | BasicBlockUtils.cpp | 582 if (Loop *BBLoop = LI->getLoopFor(BB)) { in ehAwareSplitEdge() 596 if (LI->getLoopFor(P) != BBLoop) { in ehAwareSplitEdge() 665 if (Loop *BBLoop = LI->getLoopFor(BB)) { in ehAwareSplitEdge() 668 if (Loop *SuccLoop = LI->getLoopFor(Succ)) { in ehAwareSplitEdge() 780 if (Loop *L = LI->getLoopFor(Old)) in SplitBlockImpl() 845 if (Loop *L = LI->getLoopFor(Old)) in splitBlockBefore() 922 Loop *L = LI->getLoopFor(OldBB); in UpdateAnalysisInformation() 938 if (Loop *PL = LI->getLoopFor(Pred)) in UpdateAnalysisInformation() 963 if (Loop *PredLoop = LI->getLoopFor(Pred)) { in UpdateAnalysisInformation() 1091 L = LI->getLoopFor(BB); in SplitBlockPredecessorsImpl() [all …]
|
H A D | LoopUnroll.cpp | 116 if (LI->getLoopFor(BB) == L) in needToInsertPhisForLCSSA() 121 Loop *DefLoop = LI->getLoopFor(Def->getParent()); in needToInsertPhisForLCSSA() 141 const Loop *OldLoop = LI->getLoopFor(OriginalBB); in addClonedBlockToLoopInfo() 608 assert((*BB != Header || LI->getLoopFor(*BB) == L) && in UnrollLoop() 928 Loop *LatchLoop = LI->getLoopFor(Latches.back()); in UnrollLoop()
|
H A D | SimplifyIndVar.cpp | 208 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); in makeIVComparisonInvariant() 278 const Loop *ICmpLoop = LI->getLoopFor(ICmp->getParent()); in eliminateIVComparison() 318 const Loop *L = LI->getLoopFor(SDiv->getParent()); in eliminateSDiv() 390 const Loop *ICmpLoop = LI->getLoopFor(Rem->getParent()); in simplifyIVRemainder() 965 SimplifyIndvar SIV(LI->getLoopFor(CurrIV->getParent()), SE, DT, LI, TTI, in simplifyUsersOfIV() 1163 auto *L = LI->getLoopFor(DefI->getParent()); in getInsertPointForUses() 1164 assert(!L || L->contains(LI->getLoopFor(InsertPt->getParent()))); in getInsertPointForUses() 1167 if (LI->getLoopFor(DTN->getBlock()) == L) in getInsertPointForUses() 1177 L(LI->getLoopFor(OrigPhi->getParent())), SE(SEv), DT(DTree), in WidenIV() 1189 for (const Loop *L = LI->getLoopFor(Use->getParent()); in createExtendInst() [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/ |
H A D | SystemZMachineScheduler.cpp | 89 LLVM_DEBUG(const MachineLoop *Loop = MLI->getLoopFor(MBB); in enterMBB() 96 getSingleSchedPred(MBB, MLI->getLoopFor(MBB)); in enterMBB()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/ |
H A D | HexagonEarlyIfConv.cpp | 234 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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | SIAnnotateControlFlow.cpp | 256 llvm::Loop *L = LI->getLoopFor(BB); in handleLoop() 286 llvm::Loop *L = LI->getLoopFor(BB); in closeControlFlow()
|