/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/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-10.0/llvm/include/llvm/CodeGen/ |
D | MachineLoopInfo.h | 118 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { in getLoopFor() function 119 return LI.getLoopFor(BB); in getLoopFor() 124 return LI.getLoopFor(BB);
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/CodeGen/ |
D | MachineLoopInfo.h | 126 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { in getLoopFor() function 127 return LI.getLoopFor(BB); in getLoopFor() 132 return LI.getLoopFor(BB);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopSimplifyCFG.cpp | 101 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()
|
D | SimpleLoopUnswitch.cpp | 278 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 939 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()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Scalar/ |
D | LoopSimplifyCFG.cpp | 96 Loop *BBL = LI.getLoopFor(BB); in getInnermostLoopFor() 239 bool TakeFoldCandidate = TheOnlySucc && LI.getLoopFor(BB) == &L; in analyze() 277 return !TheOnlySucc || TheOnlySucc == To || LI.getLoopFor(From) != &L; in analyze() 387 if (Loop *OuterLoop = LI.getLoopFor(Preheader)) { in handleDeadExits() 451 assert(LI.getLoopFor(BB) != &L && "Attempt to remove current loop!"); in deleteDeadLoopBlocks() 452 Loop *DL = LI.getLoopFor(BB); in deleteDeadLoopBlocks() 484 assert(LI.getLoopFor(BB) == &L && "Should be a loop block!"); in foldTerminators() 680 if (!Pred || !Pred->getSingleSuccessor() || LI.getLoopFor(Pred) != &L) in mergeBlocksIntoPredecessors()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblySortRegion.cpp | 18 const auto *ML = MLI.getLoopFor(MBB); in getRegionFor() 47 return getBottom(MLI.getLoopFor(R->getHeader())); in getBottom()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/CodeGen/ |
D | ShrinkWrap.cpp | 408 MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints() 419 if (Restore && (MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints() 430 MLI->getLoopFor(Restore)->getExitingBlocks(ExitBlocks); in updateSaveRestorePoints()
|
D | MachineTraceMetrics.cpp | 168 MachineTraceMetrics::Ensemble::getLoopFor(const MachineBasicBlock *MBB) const { in getLoopFor() function in MachineTraceMetrics::Ensemble 169 return MTM.Loops->getLoopFor(MBB); in getLoopFor() 328 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTracePred() 356 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTraceSucc() 364 if (isExitingLoop(CurLoop, getLoopFor(Succ))) in pickTraceSucc() 459 if (const MachineLoop *FromLoop = LB.Loops->getLoopFor(*From)) { in insertEdge() 464 if (isExitingLoop(FromLoop, LB.Loops->getLoopFor(To))) in insertEdge() 596 const MachineLoop *Loop = getLoopFor(MBB); in verify() 604 const MachineLoop *Loop = getLoopFor(MBB); in verify() 605 const MachineLoop *SuccLoop = getLoopFor(TBI.Succ); in verify() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | ShrinkWrap.cpp | 404 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()
|
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 …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/Analysis/ |
D | LoopInfo.h | 992 LoopT *getLoopFor(const BlockT *BB) const { return BBMap.lookup(BB); } in getLoopFor() function 995 const LoopT *operator[](const BlockT *BB) const { return getLoopFor(BB); } 1000 const LoopT *L = getLoopFor(BB); in getLoopDepth() 1006 const LoopT *L = getLoopFor(BB); in isLoopHeader() 1152 Loop *ToLoop = getLoopFor(I->getParent()); in replacementPreservesLCSSAForm() 1158 return ToLoop->contains(getLoopFor(From->getParent())); in replacementPreservesLCSSAForm() 1178 auto *OldLoop = getLoopFor(OldBB); in movementPreservesLCSSAForm() 1179 auto *NewLoop = getLoopFor(NewBB); in movementPreservesLCSSAForm() 1202 if (UBB != NewBB && getLoopFor(UBB) != NewLoop) in movementPreservesLCSSAForm() 1224 if (DefBlock != NewBB && getLoopFor(DefBlock) != NewLoop) in movementPreservesLCSSAForm()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Analysis/ |
D | SyncDependenceAnalysis.cpp | 165 auto *NestedLoop = LI.getLoopFor(NextBB); in computeStackPO() 353 const auto *DivBlockLoop = LI.getLoopFor(&DivTermBlock); in computeJoinPoints() 374 const auto *BlockLoop = LI.getLoopFor(SuccBlock); in computeJoinPoints() 395 auto *BlockLoop = LI.getLoopFor(Block); in computeJoinPoints()
|
/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()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Utils/ |
D | LCSSA.cpp | 100 Loop *L = LI.getLoopFor(InstBB); in formLCSSAForInstructions() 203 if (auto *OtherLoop = LI.getLoopFor(ExitBB)) in formLCSSAForInstructions() 260 if (auto *OtherLoop = LI.getLoopFor(InsertedPN->getParent())) in formLCSSAForInstructions() 374 if (LI->getLoopFor(BB) != &L) in formLCSSA()
|
D | BreakCriticalEdges.cpp | 134 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitKnownCriticalEdge() 148 if (LI->getLoopFor(P) != TIL) { in SplitKnownCriticalEdge() 258 if (Loop *TIL = LI->getLoopFor(TIBB)) { in SplitKnownCriticalEdge() 261 if (Loop *DestLoop = LI->getLoopFor(DestBB)) { in SplitKnownCriticalEdge()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | LCSSA.cpp | 97 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()
|
/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()
|
/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()
|