Lines Matching defs:constants
36 ArrayRef<Value> constants,
41 indices.back() = constants[i];
49 indices[dim] = constants[i];
51 constants, elementIt, indices);
362 // Create constants for the range of possible indices [0, max{shape_i}).
364 SmallVector<Value, 2> constants;
365 constants.reserve(maxDim);
367 constants.push_back(rewriter.create<arith::ConstantIndexOp>(loc, i));
371 SmallVector<Value, 2> indices(tensorType.getRank(), constants[0]);
373 shape, constants, elementIt, indices);