Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DLoopInfo.h71 std::vector<LoopT *> SubLoops; variable
84 for (size_t i = 0, e = SubLoops.size(); i != e; ++i) in ~LoopBase()
85 delete SubLoops[i]; in ~LoopBase() local
125 const std::vector<LoopT *> &getSubLoops() const { return SubLoops; } in getSubLoops()
127 iterator begin() const { return SubLoops.begin(); } in begin()
128 iterator end() const { return SubLoops.end(); } in end()
129 bool empty() const { return SubLoops.empty(); } in empty()
357 std::find(SubLoops.begin(), SubLoops.end(), OldChild); in replaceChildLoopWith()
358 assert(I != SubLoops.end() && "OldChild not in loop!"); in replaceChildLoopWith()
370 SubLoops.push_back(NewChild); in addChildLoop()
[all …]
/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-7.0/llvm/include/llvm/Analysis/
DLoopInfo.h72 std::vector<LoopT *> SubLoops; variable
133 return SubLoops; in getSubLoops()
137 return SubLoops; in getSubLoopsVector()
335 SubLoops.push_back(NewChild); in addChildLoop()
342 assert(I != SubLoops.end() && "Cannot remove end iterator!"); in removeChildLoop()
345 SubLoops.erase(SubLoops.begin() + (I - begin())); in removeChildLoop()
435 for (auto *SubLoop : SubLoops) in ~LoopBase()
441 SubLoops.clear(); in ~LoopBase()
DLoopInfoImpl.h286 typename std::vector<LoopT *>::iterator I = find(SubLoops, OldChild); in replaceChildLoopWith()
287 assert(I != SubLoops.end() && "OldChild not in loop!"); in replaceChildLoopWith()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DLoopSimplify.cpp601 const std::vector<Loop*> &SubLoops = L->getSubLoops(); in SeparateNestedLoop() local
602 for (size_t I = 0; I != SubLoops.size(); ) in SeparateNestedLoop()
603 if (BlocksInL.count(SubLoops[I]->getHeader())) in SeparateNestedLoop()
606 NewOuter->addChildLoop(L->removeChildLoop(SubLoops.begin() + I)); in SeparateNestedLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopSimplify.cpp291 const std::vector<Loop*> &SubLoops = L->getSubLoops(); in separateNestedLoop() local
292 for (size_t I = 0; I != SubLoops.size(); ) in separateNestedLoop()
293 if (BlocksInL.count(SubLoops[I]->getHeader())) in separateNestedLoop()
296 NewOuter->addChildLoop(L->removeChildLoop(SubLoops.begin() + I)); in separateNestedLoop()
/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-7.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp1716 auto &SubLoops = L.getSubLoopsVector(); in rebuildLoopAfterUnswitch() local
1719 ? SubLoops.begin() in rebuildLoopAfterUnswitch()
1721 SubLoops.begin(), SubLoops.end(), [&](Loop *SubL) { in rebuildLoopAfterUnswitch()
1724 for (auto *HoistedL : make_range(SubLoopsSplitI, SubLoops.end())) { in rebuildLoopAfterUnswitch()
1741 SubLoops.erase(SubLoopsSplitI, SubLoops.end()); in rebuildLoopAfterUnswitch()
1745 assert(SubLoops.empty() && in rebuildLoopAfterUnswitch()