Home
last modified time | relevance | path

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

1234567

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DLoopInfoTest.cpp66 Loop *L = LI.getLoopFor(Header); in TEST()
120 Loop &L_0 = *LI.getLoopFor(&*I++); in TEST()
122 Loop &L_0_0 = *LI.getLoopFor(&*I++); in TEST()
124 Loop &L_0_1 = *LI.getLoopFor(&*I++); in TEST()
126 Loop &L_0_2 = *LI.getLoopFor(&*I++); in TEST()
128 Loop &L_1 = *LI.getLoopFor(&*I++); in TEST()
130 Loop &L_1_0 = *LI.getLoopFor(&*I++); in TEST()
132 Loop &L_1_1 = *LI.getLoopFor(&*I++); in TEST()
134 Loop &L_1_2 = *LI.getLoopFor(&*I++); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Vectorize/
DVPlanLoopInfoTest.cpp67 EXPECT_EQ(nullptr, VPLI.getLoopFor(PH)); in TEST_F()
69 EXPECT_EQ(VPLp, VPLI.getLoopFor(H)); in TEST_F()
71 EXPECT_EQ(VPLp, VPLI.getLoopFor(IfThen)); in TEST_F()
73 EXPECT_EQ(VPLp, VPLI.getLoopFor(IfElse)); in TEST_F()
75 EXPECT_EQ(VPLp, VPLI.getLoopFor(Latch)); in TEST_F()
77 EXPECT_EQ(nullptr, VPLI.getLoopFor(Exit)); in TEST_F()
DVPlanTestBase.h53 VPlanHCFGBuilder HCFGBuilder(LI->getLoopFor(LoopHeader), LI.get(), *Plan); in buildHCFG()
63 VPlanHCFGBuilder HCFGBuilder(LI->getLoopFor(LoopHeader), LI.get(), *Plan); in buildPlainCFG()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyCFGSort.cpp125 if (MachineLoop *L = MLI.getLoopFor(&MBB)) in SortBlocks()
148 const MachineLoop *L = MLI.getLoopFor(MBB); in SortBlocks()
167 if (MachineLoop *SuccL = MLI.getLoopFor(Succ)) in SortBlocks()
239 MachineLoop *Loop = MLI.getLoopFor(&MBB); in SortBlocks()
253 assert(OnStack.count(MLI.getLoopFor(&MBB)) && in SortBlocks()
/external/llvm/include/llvm/Analysis/
DLoopInfo.h536 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/
DWebAssemblyCFGStackify.cpp142 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DLoopInfo.h684 LoopT *getLoopFor(const BlockT *BB) const { return BBMap.lookup(BB); } in getLoopFor() function
687 const LoopT *operator[](const BlockT *BB) const { return getLoopFor(BB); }
692 const LoopT *L = getLoopFor(BB); in getLoopDepth()
698 const LoopT *L = getLoopFor(BB); in isLoopHeader()
838 Loop *ToLoop = getLoopFor(I->getParent()); in replacementPreservesLCSSAForm()
844 return ToLoop->contains(getLoopFor(From->getParent())); in replacementPreservesLCSSAForm()
864 auto *OldLoop = getLoopFor(OldBB); in movementPreservesLCSSAForm()
865 auto *NewLoop = getLoopFor(NewBB); in movementPreservesLCSSAForm()
888 if (UBB != NewBB && getLoopFor(UBB) != NewLoop) in movementPreservesLCSSAForm()
910 if (DefBlock != NewBB && getLoopFor(DefBlock) != NewLoop) in movementPreservesLCSSAForm()
/external/llvm/lib/CodeGen/
DShrinkWrap.cpp342 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()
DMachineTraceMetrics.cpp157 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/
DMachineLoopInfo.h87 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { in getLoopFor() function
88 return LI.getLoopFor(BB); in getLoopFor()
94 return LI.getLoopFor(BB);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DMachineLoopInfo.h116 inline MachineLoop *getLoopFor(const MachineBasicBlock *BB) const { in getLoopFor() function
117 return LI.getLoopFor(BB); in getLoopFor()
122 return LI.getLoopFor(BB);
/external/llvm/include/llvm/CodeGen/
DMachineLoopInfo.h92 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-7.0/llvm/lib/CodeGen/
DShrinkWrap.cpp396 MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints()
408 (MLI->getLoopFor(Save) || MLI->getLoopFor(Restore))) { in updateSaveRestorePoints()
419 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()
330 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTracePred()
358 const MachineLoop *CurLoop = getLoopFor(MBB); in pickTraceSucc()
366 if (isExitingLoop(CurLoop, getLoopFor(Succ))) in pickTraceSucc()
461 if (const MachineLoop *FromLoop = LB.Loops->getLoopFor(*From)) { in insertEdge()
466 if (isExitingLoop(FromLoop, LB.Loops->getLoopFor(To))) in insertEdge()
598 const MachineLoop *Loop = getLoopFor(MBB); in verify()
606 const MachineLoop *Loop = getLoopFor(MBB); in verify()
607 const MachineLoop *SuccLoop = getLoopFor(TBI.Succ); in verify()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp258 if (Loop *ExitL = LI.getLoopFor(ExitBB)) in hoistLoopToNewParent()
272 assert(OldParentL == LI.getLoopFor(&Preheader) && in hoistLoopToNewParent()
397 if (Loop *ExitL = LI.getLoopFor(LoopExitBB)) in unswitchTrivialBranch()
553 Loop *ExitL = LI.getLoopFor(DefaultExitBB); in unswitchTrivialSwitch()
567 Loop *ExitL = LI.getLoopFor(CaseI->getCaseSuccessor()); in unswitchTrivialSwitch()
1050 if (LI.getLoopFor(BB) == &OrigL) in cloneLoopNest()
1122 if (Loop *ExitL = LI.getLoopFor(ExitBB)) { in buildClonedLoops()
1210 if (LI.getLoopFor(BB) == &OrigL) { in buildClonedLoops()
1326 assert(LI.getLoopFor(BB) == OuterL && in buildClonedLoops()
1493 if (Loop *InnerL = LI.getLoopFor(BB)) in recomputeLoopBlockSet()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DLoopInfo.h673 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()
DLoopIterator.h145 if (!DFS.L->contains(LI->getLoopFor(BB))) in visitPreorder()
166 return !DFS.L->contains(LI->getLoopFor(BB)) || DFS.PostNumbers.count(BB); in count()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DLoopInfo.cpp188 return isBlockInLCSSAForm(*LI.getLoopFor(BB), *BB, DT); in isRecursivelyLCSSAForm()
436 Loop *L = LI->getLoopFor(POI); in updateBlockParents()
464 Loop *L = LI->getLoopFor(*POI); in updateBlockParents()
482 Loop *OuterParent = LI->getLoopFor(*BI); in removeBlocksFromAncestors()
544 Loop *L = LI->getLoopFor(*I); in getNearestLoop()
605 if (getLoopFor(*I) != Unloop) in erase()
/external/llvm/lib/Transforms/Utils/
DLoopUnroll.cpp129 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()
DBreakCriticalEdges.cpp244 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/lib/Analysis/
DLoopInfo.cpp437 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()
/external/llvm/lib/Analysis/
DLoopInfo.cpp439 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()
DIVUsers.cpp62 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()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopInstSimplify.cpp135 const Loop *SuccLoop = LI->getLoopFor(SuccBB); in runOnLoop()
145 if (LI->getLoopFor(ExitBB) == L && Visited.insert(ExitBB)) in runOnLoop()
/external/llvm/lib/Transforms/Scalar/
DLoopInstSimplify.cpp153 const Loop *SuccLoop = LI->getLoopFor(SuccBB); in runOnLoop()
163 if (LI->getLoopFor(ExitBB) == L && Visited.insert(ExitBB).second) in runOnLoop()

1234567