/external/llvm-project/llvm/lib/Analysis/ |
D | LoopNestAnalysis.cpp | 170 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/ |
D | LoopInfo.h | 71 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 …]
|
D | LoopInfoImpl.h | 215 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/ |
D | LoopInfo.h | 77 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()
|
D | LoopInfoImpl.h | 270 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/ |
D | LoopInfo.h | 76 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()
|
D | LoopInfoImpl.h | 276 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/ |
D | LoopSimplify.cpp | 323 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/ |
D | LoopSimplify.cpp | 299 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/ |
D | LoopSimplify.cpp | 318 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/ |
D | SimpleLoopUnswitch.cpp | 1849 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/ |
D | SimpleLoopUnswitch.cpp | 1891 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/ |
D | ScopDetection.cpp | 1379 auto SubLoops = in countBeneficialLoops() local 1382 for (auto &SubLoop : SubLoops) in countBeneficialLoops()
|