Lines Matching defs:constants
453 ArrayRef<Value> constants,
458 indices.back() = constants[i];
465 indices[dim] = constants[i];
466 createStores(rewriter, loc, dim + 1, buffer, shape, constants, elementIt,
513 // Create constants for the range of possible indices [0, max{shape_i}).
515 SmallVector<Value, 2> constants;
516 constants.reserve(maxDim);
518 constants.push_back(rewriter.create<arith::ConstantIndexOp>(loc, i));
522 SmallVector<Value, 2> indices(tensorType.getRank(), constants[0]);
523 createStores(rewriter, loc, /*dim=*/0, buffer, shape, constants, elementIt,