Lines Matching defs:LoopStack
1180 LoopStackTy LoopStack({LoopStackElementTy(L, {}, 0)});
1181 buildSchedule(scop->getRegion().getNode(), LoopStack);
1182 assert(LoopStack.size() == 1 && LoopStack.back().L == L);
1183 scop->setScheduleTree(LoopStack[0].Schedule);
1188 /// to the schedule of the loop that is currently at the top of the LoopStack.
1201 /// encountered, the corresponding loop is added to the @p LoopStack. Starting
1207 /// sub-regions or blocks that are outside the last loop on the @p LoopStack.
1210 void ScopBuilder::buildSchedule(Region *R, LoopStackTy &LoopStack) {
1241 Loop *LastLoop = LoopStack.back().L;
1248 LoopStack.push_back({L, {}, 0});
1250 buildSchedule(RN, LoopStack);
1254 void ScopBuilder::buildSchedule(RegionNode *RN, LoopStackTy &LoopStack) {
1258 buildSchedule(LocalRegion, LoopStack);
1263 assert(LoopStack.rbegin() != LoopStack.rend());
1264 auto LoopData = LoopStack.rbegin();
1278 // - dropping the loop schedule from the LoopStack.
1282 size_t Dimension = LoopStack.size();
1288 assert(std::next(LoopData) != LoopStack.rend());
1319 // Now pop all loops processed up there from the LoopStack
1320 LoopStack.erase(LoopStack.begin() + Dimension, LoopStack.end());