Lines Matching refs:isSplat
694 return StringAttr::get(owner.isSplat() ? vals.front() : vals[index], eltTy); in operator *()
705 attr.getRawData().data(), attr.isSplat(), dataIndex) {} in BoolElementIterator()
717 attr.getRawData().data(), attr.isSplat(), dataIndex), in IntElementIterator()
734 attr.getRawData().data(), attr.isSplat(), dataIndex) { in ComplexIntElementIterator()
977 bool DenseElementsAttr::isSplat() const { in isSplat() function in DenseElementsAttr
978 return static_cast<DenseElementsAttributeStorage *>(impl)->isSplat; in isSplat()
1074 return DenseIntOrFPElementsAttr::getRaw(newType, getRawData(), isSplat()); in reshape()
1120 bool isSplat) { in getRaw() argument
1124 return DenseIntOrFPElementsAttr::getRaw(type, data, isSplat); in getRaw()
1133 bool isSplat) { in getRaw() argument
1136 return DenseIntOrFPElementsAttr::getRaw(type, data, isSplat); in getRaw()
1141 bool isSplat) { in getRaw() argument
1145 return Base::get(type.getContext(), type, data, isSplat); in getRaw()
1260 size_t numRawElements = attr.isSplat() ? 1 : newArrayType.getNumElements(); in mappingHelper()
1271 if (attr.isSplat()) { in mappingHelper()
1289 return getRaw(newArrayType, elementData, isSplat()); in mapValues()
1308 return getRaw(newArrayType, elementData, isSplat()); in mapValues()
1385 if (sparseIndices.isSplat()) { in getValue()
1393 assert(getValues().isSplat() && "expected splat values"); in getValue()
1449 if (sparseIndices.isSplat()) { in getFlattenedSparseIndices()