Home
last modified time | relevance | path

Searched defs:LoopDepthTree (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopFuse.cpp438 struct LoopDepthTree { struct
439 using LoopsOnLevelTy = SmallVector<LoopVector, 4>;
440 using iterator = LoopsOnLevelTy::iterator;
441 using const_iterator = LoopsOnLevelTy::const_iterator;
443 LoopDepthTree(LoopInfo &LI) : Depth(1) { in LoopDepthTree() function
450 bool isRemovedLoop(const Loop *L) const { return RemovedLoops.count(L); } in isRemovedLoop()
454 void removeLoop(const Loop *L) { RemovedLoops.insert(L); } in removeLoop()
457 void descend() { in descend()
470 bool empty() const { return size() == 0; } in empty()
471 size_t size() const { return LoopsOnLevel.size() - RemovedLoops.size(); } in size()
[all …]
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Scalar/
DLoopFuse.cpp503 struct LoopDepthTree { struct
504 using LoopsOnLevelTy = SmallVector<LoopVector, 4>;
505 using iterator = LoopsOnLevelTy::iterator;
506 using const_iterator = LoopsOnLevelTy::const_iterator;
508 LoopDepthTree(LoopInfo &LI) : Depth(1) { in LoopDepthTree() function
515 bool isRemovedLoop(const Loop *L) const { return RemovedLoops.count(L); } in isRemovedLoop()
519 void removeLoop(const Loop *L) { RemovedLoops.insert(L); } in removeLoop()
522 void descend() { in descend()
535 bool empty() const { return size() == 0; } in empty()
536 size_t size() const { return LoopsOnLevel.size() - RemovedLoops.size(); } in size()
[all …]