Home
last modified time | relevance | path

Searched refs:SubLoops (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DLoopNestAnalysis.cpp249 auto &SubLoops = L->getSubLoops(); in getPerfectLoops() local
250 if (SubLoops.size() == 1 && arePerfectlyNested(*L, *SubLoops.front(), SE)) { in getPerfectLoops()
251 PerfectNest.push_back(SubLoops.front()); in getPerfectLoops()
266 const auto *SubLoops = &CurrentLoop->getSubLoops(); in getMaxPerfectDepth() local
269 while (SubLoops->size() == 1) { in getMaxPerfectDepth()
270 const Loop *InnerLoop = SubLoops->front(); in getMaxPerfectDepth()
281 SubLoops = &CurrentLoop->getSubLoops(); in getMaxPerfectDepth()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DLoopInfo.h76 std::vector<LoopT *> SubLoops; variable
161 return SubLoops; in getSubLoops()
165 return SubLoops; in getSubLoopsVector()
415 SubLoops.push_back(NewChild); in addChildLoop()
422 assert(I != SubLoops.end() && "Cannot remove end iterator!"); in removeChildLoop()
425 SubLoops.erase(SubLoops.begin() + (I - begin())); in removeChildLoop()
522 for (auto *SubLoop : SubLoops) in ~LoopBase()
528 SubLoops.clear(); in ~LoopBase()
H A DLoopInfoImpl.h276 typename std::vector<LoopT *>::iterator I = find(SubLoops, OldChild); in replaceChildLoopWith()
277 assert(I != SubLoops.end() && "OldChild not in loop!"); in replaceChildLoopWith()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopSimplify.cpp308 const std::vector<Loop*> &SubLoops = L->getSubLoops(); in separateNestedLoop() local
309 for (size_t I = 0; I != SubLoops.size(); ) in separateNestedLoop()
310 if (BlocksInL.count(SubLoops[I]->getHeader())) in separateNestedLoop()
313 NewOuter->addChildLoop(L->removeChildLoop(SubLoops.begin() + I)); in separateNestedLoop()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp1977 auto &SubLoops = L.getSubLoopsVector(); in rebuildLoopAfterUnswitch() local
1980 ? SubLoops.begin() in rebuildLoopAfterUnswitch()
1982 SubLoops.begin(), SubLoops.end(), [&](Loop *SubL) { in rebuildLoopAfterUnswitch()
1985 for (auto *HoistedL : make_range(SubLoopsSplitI, SubLoops.end())) { in rebuildLoopAfterUnswitch()
2002 SubLoops.erase(SubLoopsSplitI, SubLoops.end()); in rebuildLoopAfterUnswitch()
2006 assert(SubLoops.empty() && in rebuildLoopAfterUnswitch()
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopDetection.cpp1395 auto SubLoops = in countBeneficialLoops() local
1398 for (auto &SubLoop : SubLoops) in countBeneficialLoops()