Lines Matching refs:DenseElementsAttr
451 DenseElementsAttr getAttr(llvm::SMLoc loc, ShapedType type);
465 DenseElementsAttr getStringAttr(llvm::SMLoc loc, ShapedType type, Type eltTy);
468 DenseElementsAttr getHexAttr(llvm::SMLoc loc, ShapedType type);
517 DenseElementsAttr TensorLiteralParser::getAttr(llvm::SMLoc loc, in getAttr()
551 return DenseElementsAttr::get(type, complexData); in getAttr()
553 return DenseElementsAttr::get(type, intValues); in getAttr()
565 return DenseElementsAttr::get(type, complexData); in getAttr()
567 return DenseElementsAttr::get(type, floatValues); in getAttr()
667 DenseElementsAttr TensorLiteralParser::getStringAttr(llvm::SMLoc loc, in getStringAttr()
689 DenseElementsAttr TensorLiteralParser::getHexAttr(llvm::SMLoc loc, in getHexAttr()
705 if (!DenseElementsAttr::isValidRawBuffer(type, rawData, detectedSplat)) { in getHexAttr()
721 return DenseElementsAttr::getFromRawBuffer(type, convRawData, in getHexAttr()
725 return DenseElementsAttr::getFromRawBuffer(type, rawData, detectedSplat); in getHexAttr()
929 type, DenseElementsAttr::get(indicesType, ArrayRef<Attribute>()), in parseSparseElementsAttr()
930 DenseElementsAttr::get(valuesType, ArrayRef<Attribute>())); in parseSparseElementsAttr()