Lines Matching defs:isMin
2036 // 2. Compute an upper bound of `op` (in case of `isMin`) or a lower bound (in
2037 // case of `!isMin`) and bind it to `opBound`. SSA values that are used in
2040 // * If `isMin`: r_i >= opBound
2047 // (Showing only the case where `isMin`.)
2068 bool isMin = isa<AffineMinOp>(op);
2069 assert((isMin || isa<AffineMaxOp>(op)) && "expect AffineMin/MaxOp");
2073 isMin ? cast<AffineMinOp>(op).getMap() : cast<AffineMaxOp>(op).getMap();
2083 // isMin: op <= expr_i, !isMin: op >= expr_i
2084 auto boundType = isMin ? BoundType::UB : BoundType::LB;
2086 AffineMap mapLbUb = isMin ? addConstToResults(map, 1) : map;
2095 AffineMap sliceBound = isMin ? opUb[0] : opLb[0];
2101 AffineMap boundMap = isMin ? addConstToResults(sliceBound, -1) : sliceBound;
2114 // In the case of `isMin` (`!isMin` is inversed):
2135 // If `isMin`: Add inequality: r_i < opBound
2137 // If `!isMin`: Add inequality: r_i > opBound
2140 ineq[dimOpBound] = isMin ? 1 : -1;
2141 ineq[i] = isMin ? -1 : 1;