Searched defs:LoopDepthTree (Results 1 – 1 of 1) sorted by relevance
500 struct LoopDepthTree { struct501 using LoopsOnLevelTy = SmallVector<LoopVector, 4>;502 using iterator = LoopsOnLevelTy::iterator;503 using const_iterator = LoopsOnLevelTy::const_iterator;505 LoopDepthTree(LoopInfo &LI) : Depth(1) { in LoopDepthTree() argument512 bool isRemovedLoop(const Loop *L) const { return RemovedLoops.count(L); } in isRemovedLoop()516 void removeLoop(const Loop *L) { RemovedLoops.insert(L); } in removeLoop()519 void descend() { in descend()532 bool empty() const { return size() == 0; } in empty()533 size_t size() const { return LoopsOnLevel.size() - RemovedLoops.size(); } in size()[all …]