Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/Analysis/
DLoopNestAnalysis.cpp170 auto &SubLoops = L->getSubLoops(); in getPerfectLoops() local
171 if (SubLoops.size() == 1 && arePerfectlyNested(*L, *SubLoops.front(), SE)) { in getPerfectLoops()
172 PerfectNest.push_back(SubLoops.front()); in getPerfectLoops()
187 const auto *SubLoops = &CurrentLoop->getSubLoops(); in getMaxPerfectDepth() local
190 while (SubLoops->size() == 1) { in getMaxPerfectDepth()
191 const Loop *InnerLoop = SubLoops->front(); in getMaxPerfectDepth()
202 SubLoops = &CurrentLoop->getSubLoops(); in getMaxPerfectDepth()
/external/llvm/include/llvm/Analysis/
DLoopInfo.h71 std::vector<LoopT *> SubLoops; variable
88 for (size_t i = 0, e = SubLoops.size(); i != e; ++i) in ~LoopBase()
89 delete SubLoops[i]; in ~LoopBase() local
127 const std::vector<LoopT *> &getSubLoops() const { return SubLoops; } in getSubLoops()
128 std::vector<LoopT *> &getSubLoopsVector() { return SubLoops; } in getSubLoopsVector()
132 iterator begin() const { return SubLoops.begin(); } in begin()
133 iterator end() const { return SubLoops.end(); } in end()
134 reverse_iterator rbegin() const { return SubLoops.rbegin(); } in rbegin()
135 reverse_iterator rend() const { return SubLoops.rend(); } in rend()
136 bool empty() const { return SubLoops.empty(); } in empty()
[all …]
DLoopInfoImpl.h215 std::find(SubLoops.begin(), SubLoops.end(), OldChild); in replaceChildLoopWith()
216 assert(I != SubLoops.end() && "OldChild not in loop!"); in replaceChildLoopWith()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DLoopInfo.h77 std::vector<LoopT *> SubLoops; variable
138 return SubLoops; in getSubLoops()
142 return SubLoops; in getSubLoopsVector()
379 SubLoops.push_back(NewChild); in addChildLoop()
386 assert(I != SubLoops.end() && "Cannot remove end iterator!"); in removeChildLoop()
389 SubLoops.erase(SubLoops.begin() + (I - begin())); in removeChildLoop()
485 for (auto *SubLoop : SubLoops) in ~LoopBase()
491 SubLoops.clear(); in ~LoopBase()
DLoopInfoImpl.h270 typename std::vector<LoopT *>::iterator I = find(SubLoops, OldChild); in replaceChildLoopWith()
271 assert(I != SubLoops.end() && "OldChild not in loop!"); in replaceChildLoopWith()
/external/llvm-project/llvm/include/llvm/Analysis/
DLoopInfo.h76 std::vector<LoopT *> SubLoops; variable
145 return SubLoops; in getSubLoops()
149 return SubLoops; in getSubLoopsVector()
399 SubLoops.push_back(NewChild); in addChildLoop()
406 assert(I != SubLoops.end() && "Cannot remove end iterator!"); in removeChildLoop()
409 SubLoops.erase(SubLoops.begin() + (I - begin())); in removeChildLoop()
505 for (auto *SubLoop : SubLoops) in ~LoopBase()
511 SubLoops.clear(); in ~LoopBase()
DLoopInfoImpl.h276 typename std::vector<LoopT *>::iterator I = find(SubLoops, OldChild); in replaceChildLoopWith()
277 assert(I != SubLoops.end() && "OldChild not in loop!"); in replaceChildLoopWith()
/external/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp323 const std::vector<Loop*> &SubLoops = L->getSubLoops(); in separateNestedLoop() local
324 for (size_t I = 0; I != SubLoops.size(); ) in separateNestedLoop()
325 if (BlocksInL.count(SubLoops[I]->getHeader())) in separateNestedLoop()
328 NewOuter->addChildLoop(L->removeChildLoop(SubLoops.begin() + I)); in separateNestedLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp299 const std::vector<Loop*> &SubLoops = L->getSubLoops(); in separateNestedLoop() local
300 for (size_t I = 0; I != SubLoops.size(); ) in separateNestedLoop()
301 if (BlocksInL.count(SubLoops[I]->getHeader())) in separateNestedLoop()
304 NewOuter->addChildLoop(L->removeChildLoop(SubLoops.begin() + I)); in separateNestedLoop()
/external/llvm-project/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp318 const std::vector<Loop*> &SubLoops = L->getSubLoops(); in separateNestedLoop() local
319 for (size_t I = 0; I != SubLoops.size(); ) in separateNestedLoop()
320 if (BlocksInL.count(SubLoops[I]->getHeader())) in separateNestedLoop()
323 NewOuter->addChildLoop(L->removeChildLoop(SubLoops.begin() + I)); in separateNestedLoop()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp1849 auto &SubLoops = L.getSubLoopsVector(); in rebuildLoopAfterUnswitch() local
1852 ? SubLoops.begin() in rebuildLoopAfterUnswitch()
1854 SubLoops.begin(), SubLoops.end(), [&](Loop *SubL) { in rebuildLoopAfterUnswitch()
1857 for (auto *HoistedL : make_range(SubLoopsSplitI, SubLoops.end())) { in rebuildLoopAfterUnswitch()
1874 SubLoops.erase(SubLoopsSplitI, SubLoops.end()); in rebuildLoopAfterUnswitch()
1878 assert(SubLoops.empty() && in rebuildLoopAfterUnswitch()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp1891 auto &SubLoops = L.getSubLoopsVector(); in rebuildLoopAfterUnswitch() local
1894 ? SubLoops.begin() in rebuildLoopAfterUnswitch()
1896 SubLoops.begin(), SubLoops.end(), [&](Loop *SubL) { in rebuildLoopAfterUnswitch()
1899 for (auto *HoistedL : make_range(SubLoopsSplitI, SubLoops.end())) { in rebuildLoopAfterUnswitch()
1916 SubLoops.erase(SubLoopsSplitI, SubLoops.end()); in rebuildLoopAfterUnswitch()
1920 assert(SubLoops.empty() && in rebuildLoopAfterUnswitch()
/external/llvm-project/polly/lib/Analysis/
DScopDetection.cpp1379 auto SubLoops = in countBeneficialLoops() local
1382 for (auto &SubLoop : SubLoops) in countBeneficialLoops()