Lines Matching defs:loopDepth
1028 /// represented as constraints symbolic/parametric in 'loopDepth' loops
1030 // For example, the memref region for this load operation at loopDepth = 1 will
1044 LogicalResult MemRefRegion::compute(Operation *op, unsigned loopDepth,
1057 << "\ndepth: " << loopDepth << "\n";);
1063 assert(loopDepth <= ivs.size() && "invalid 'loopDepth'");
1064 // The first 'loopDepth' IVs are symbols for this region.
1065 ivs.resize(loopDepth);
1067 cst = FlatAffineValueConstraints(rank, loopDepth, /*numLocals=*/0, ivs);
1152 // Eliminate any loop IVs other than the outermost 'loopDepth' IVs, on which
1156 assert(loopDepth <= enclosingIVs.size() && "invalid loop depth");
1157 enclosingIVs.resize(loopDepth);
1272 if (failed(region.compute(op, /*loopDepth=*/0, /*sliceState=*/nullptr,
1398 unsigned loopDepth = 0;
1403 return loopDepth;
1407 ++loopDepth;
1409 return loopDepth;
1413 /// 'loopDepth' between all dependent pairs of ops in 'opsA' and 'opsB', and
1418 ArrayRef<Operation *> opsB, unsigned loopDepth,
1432 // Check if 'loopDepth' exceeds nesting depth of src/dst ops.
1433 if ((!isBackwardSlice && loopDepth > getNestingDepth(i)) ||
1434 (isBackwardSlice && loopDepth > getNestingDepth(j))) {
1444 srcAccess, dstAccess, /*loopDepth=*/numCommonLoops + 1,
1458 loopDepth, isBackwardSlice,
1527 if (loopDepth > innermostCommonLoopDepth) {
1556 // Set loop nest insertion point to block start at 'loopDepth'.
1559 ? surroundingLoops[loopDepth - 1].getBody()->begin()
1560 : std::prev(surroundingLoops[loopDepth - 1].getBody()->end());
1650 // 'dependenceConstraints' at depth greater than 'loopDepth', and computes slice
1655 FlatAffineValueConstraints *dependenceConstraints, unsigned loopDepth,
1667 assert((!isBackwardSlice && loopDepth <= numSrcLoopIVs) ||
1668 (isBackwardSlice && loopDepth <= numDstLoopIVs));
1670 // Project out dimensions other than those up to 'loopDepth'.
1671 unsigned pos = isBackwardSlice ? numSrcLoopIVs + loopDepth : loopDepth;
1673 isBackwardSlice ? numDstLoopIVs - loopDepth : numSrcLoopIVs - loopDepth;
1677 unsigned offset = isBackwardSlice ? 0 : loopDepth;
1707 isBackwardSlice ? dstLoopIVs[loopDepth - 1].getBody()->begin()
1708 : std::prev(srcLoopIVs[loopDepth - 1].getBody()->end());
1722 return (isBackwardSlice ? loopDepth >= srcLoopIVs.size()
1723 : loopDepth >= dstLoopIVs.size());
1926 /*loopDepth=*/getNestingDepth(&*block.begin())))) {