Lines Matching refs:depthToLoops
2876 std::vector<SmallVector<AffineForOp, 2>> &depthToLoops) { in gatherLoopsInBlock() argument
2878 assert(currLoopDepth <= depthToLoops.size() && "Unexpected currLoopDepth"); in gatherLoopsInBlock()
2879 if (currLoopDepth == depthToLoops.size()) in gatherLoopsInBlock()
2880 depthToLoops.push_back(SmallVector<AffineForOp, 2>()); in gatherLoopsInBlock()
2884 depthToLoops[currLoopDepth].push_back(forOp); in gatherLoopsInBlock()
2885 gatherLoopsInBlock(forOp.getBody(), currLoopDepth + 1, depthToLoops); in gatherLoopsInBlock()
2892 std::vector<SmallVector<AffineForOp, 2>> &depthToLoops) { in gatherLoops() argument
2894 gatherLoopsInBlock(&block, /*currLoopDepth=*/0, depthToLoops); in gatherLoops()
2897 if (!depthToLoops.empty()) { in gatherLoops()
2898 assert(depthToLoops.back().empty() && "Last loop level is not empty?"); in gatherLoops()
2899 depthToLoops.pop_back(); in gatherLoops()