Home
last modified time | relevance | path

Searched defs:shapedType (Results 1 – 17 of 17) sorted by relevance

/llvm-project-15.0.7/mlir/lib/CAPI/IR/
H A DBuiltinAttributes.cpp334 MlirAttribute mlirDenseElementsAttrGet(MlirType shapedType, in mlirDenseElementsAttrGet()
356 MlirAttribute mlirDenseElementsAttrSplatGet(MlirType shapedType, in mlirDenseElementsAttrSplatGet()
407 MlirAttribute mlirDenseElementsAttrBoolGet(MlirType shapedType, in mlirDenseElementsAttrBoolGet()
417 static MlirAttribute getDenseAttribute(MlirType shapedType, in getDenseAttribute()
425 MlirAttribute mlirDenseElementsAttrUInt8Get(MlirType shapedType, in mlirDenseElementsAttrUInt8Get()
430 MlirAttribute mlirDenseElementsAttrInt8Get(MlirType shapedType, in mlirDenseElementsAttrInt8Get()
440 MlirAttribute mlirDenseElementsAttrInt16Get(MlirType shapedType, in mlirDenseElementsAttrInt16Get()
450 MlirAttribute mlirDenseElementsAttrInt32Get(MlirType shapedType, in mlirDenseElementsAttrInt32Get()
460 MlirAttribute mlirDenseElementsAttrInt64Get(MlirType shapedType, in mlirDenseElementsAttrInt64Get()
465 MlirAttribute mlirDenseElementsAttrFloatGet(MlirType shapedType, in mlirDenseElementsAttrFloatGet()
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Tosa/Utils/
H A DShapeUtils.h47 if (auto shapedType = type.dyn_cast<ShapedType>()) { in getKnowledgeFromType() local
/llvm-project-15.0.7/mlir/lib/Bindings/Python/
H A DIRAttributes.cpp487 auto shapedType = mlirRankedTensorTypeGet( in getFromBuffer() local
506 static PyDenseElementsAttribute getSplat(const PyType &shapedType, in getSplat()
549 MlirType shapedType = mlirAttributeGetType(*this); in accessBuffer() local
652 py::buffer_info bufferInfo(MlirType shapedType, in bufferInfo()
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/
H A DArithmeticOps.cpp881 if (auto shapedType = resType.dyn_cast<ShapedType>()) in fold() local
910 if (auto shapedType = resType.dyn_cast<ShapedType>()) in fold() local
964 if (auto shapedType = resType.dyn_cast<ShapedType>()) in fold() local
1060 if (auto shapedType = resType.dyn_cast<ShapedType>()) in fold() local
1086 if (auto shapedType = resType.dyn_cast<ShapedType>()) in fold() local
1111 if (auto shapedType = resType.dyn_cast<ShapedType>()) in fold() local
1137 if (auto shapedType = resType.dyn_cast<ShapedType>()) in fold() local
1305 ShapedType shapedType = type.dyn_cast_or_null<ShapedType>(); in getBoolAttribute() local
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorDropLeadUnitDim.cpp200 auto shapedType = read.getSource().getType().cast<ShapedType>(); in matchAndRewrite() local
248 auto shapedType = write.getSource().getType().dyn_cast<ShapedType>(); in matchAndRewrite() local
/llvm-project-15.0.7/mlir/include/mlir/Interfaces/
H A DInferTypeOpInterface.h110 ShapedTypeComponents(ShapedType shapedType) : attr(nullptr) { in ShapedTypeComponents()
/llvm-project-15.0.7/mlir/lib/IR/
H A DTypeUtilities.cpp144 shapedTypes, [](auto shapedType) { return shapedType.hasRank(); })); in verifyCompatibleShapes()
H A DBuiltinAttributes.cpp934 auto shapedType = denseArrayAttrEltTypeBuilder<T>::getShapedType( in get() local
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DVectorization.cpp1285 static void bindShapeDims(ShapedType shapedType) {} in bindShapeDims()
1288 static void bindShapeDims(ShapedType shapedType, IntTy &val, IntTy2 &...vals) { in bindShapeDims()
1295 static void bindShapeDims(ShapedType shapedType, IntTy &...vals) { in bindShapeDims()
/llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/IR/
H A DBufferizationOps.cpp135 auto shapedType = shapedValue.getType().cast<ShapedType>(); in populateDynamicDimSizes() local
/llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToSPIRV/
H A DArithmeticToSPIRV.cpp389 if (auto shapedType = srcType.dyn_cast<ShapedType>()) { in matchAndRewrite() local
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Utils/
H A DUtils.cpp207 auto shapedType = val.getType().cast<ShapedType>(); in getDynOperands() local
803 auto shapedType = valueToTile.getType().dyn_cast<ShapedType>(); in makeTiledShape() local
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp122 AffineMap mlir::vector::getTransferMinorIdentityMap(ShapedType shapedType, in getTransferMinorIdentityMap()
2851 verifyTransferOp(VectorTransferOpInterface op, ShapedType shapedType, in verifyTransferOp()
2988 auto shapedType = types[0].dyn_cast<ShapedType>(); in parse() local
3027 ShapedType shapedType = getShapedType(); in verify() local
3447 ShapedType shapedType = types[1].dyn_cast<ShapedType>(); in parse() local
3486 ShapedType shapedType = getShapedType(); in verify() local
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/
H A DSerializer.cpp707 auto shapedType = valueAttr.getType().dyn_cast<ShapedType>(); in prepareDenseElementsConstant() local
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/IR/
H A DTensorOps.cpp743 auto shapedType = type.dyn_cast<ShapedType>(); in fold() local
1385 ShapedType shapedType) { in foldIdentityOffsetSizeAndStrideOpInterface()
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/IR/
H A DMemRefOps.cpp1455 auto shapedType = type.dyn_cast<ShapedType>(); in fold() local
/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/
H A DSPIRVOps.cpp1836 auto shapedType = valueType.dyn_cast<ShapedType>(); in verifyConstantType() local