DenseIntElementsAttr getI64VectorAttr(ArrayRef<int64_t> values);
DenseIntElementsAttr getIndexVectorAttr(ArrayRef<int64_t> values);
- /// Vector-typed DenseArrayAttr getters.
- DenseI8ArrayAttr getDenseI8ArrayAttr(ArrayRef<int8_t> values);
- DenseI16ArrayAttr getDenseI16ArrayAttr(ArrayRef<int16_t> values);
- DenseI32ArrayAttr getDenseI32ArrayAttr(ArrayRef<int32_t> values);
- DenseI64ArrayAttr getDenseI64ArrayAttr(ArrayRef<int64_t> values);
- DenseF32ArrayAttr getDenseF32ArrayAttr(ArrayRef<float> values);
- DenseF64ArrayAttr getDenseF64ArrayAttr(ArrayRef<double> values);
-
/// Tensor-typed DenseIntElementsAttr getters. `values` can be empty.
/// These are generally preferable for representing general lists of integers
/// as attributes.
DenseIntElementsAttr getI64TensorAttr(ArrayRef<int64_t> values);
DenseIntElementsAttr getIndexTensorAttr(ArrayRef<int64_t> values);
+ /// Tensor-typed DenseArrayAttr getters.
+ DenseI8ArrayAttr getDenseI8ArrayAttr(ArrayRef<int8_t> values);
+ DenseI16ArrayAttr getDenseI16ArrayAttr(ArrayRef<int16_t> values);
+ DenseI32ArrayAttr getDenseI32ArrayAttr(ArrayRef<int32_t> values);
+ DenseI64ArrayAttr getDenseI64ArrayAttr(ArrayRef<int64_t> values);
+ DenseF32ArrayAttr getDenseF32ArrayAttr(ArrayRef<float> values);
+ DenseF64ArrayAttr getDenseF64ArrayAttr(ArrayRef<double> values);
+
ArrayAttr getAffineMapArrayAttr(ArrayRef<AffineMap> values);
ArrayAttr getBoolArrayAttr(ArrayRef<bool> values);
ArrayAttr getI32ArrayAttr(ArrayRef<int32_t> values);