| /llvm-project-15.0.7/mlir/lib/CAPI/IR/ |
| H A D | BuiltinAttributes.cpp | 334 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 D | ShapeUtils.h | 47 if (auto shapedType = type.dyn_cast<ShapedType>()) { in getKnowledgeFromType() local
|
| /llvm-project-15.0.7/mlir/lib/Bindings/Python/ |
| H A D | IRAttributes.cpp | 487 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 D | ArithmeticOps.cpp | 881 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 D | VectorDropLeadUnitDim.cpp | 200 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 D | InferTypeOpInterface.h | 110 ShapedTypeComponents(ShapedType shapedType) : attr(nullptr) { in ShapedTypeComponents()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | TypeUtilities.cpp | 144 shapedTypes, [](auto shapedType) { return shapedType.hasRank(); })); in verifyCompatibleShapes()
|
| H A D | BuiltinAttributes.cpp | 934 auto shapedType = denseArrayAttrEltTypeBuilder<T>::getShapedType( in get() local
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | Vectorization.cpp | 1285 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 D | BufferizationOps.cpp | 135 auto shapedType = shapedValue.getType().cast<ShapedType>(); in populateDynamicDimSizes() local
|
| /llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToSPIRV/ |
| H A D | ArithmeticToSPIRV.cpp | 389 if (auto shapedType = srcType.dyn_cast<ShapedType>()) { in matchAndRewrite() local
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Utils/ |
| H A D | Utils.cpp | 207 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 D | VectorOps.cpp | 122 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 D | Serializer.cpp | 707 auto shapedType = valueAttr.getType().dyn_cast<ShapedType>(); in prepareDenseElementsConstant() local
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Tensor/IR/ |
| H A D | TensorOps.cpp | 743 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 D | MemRefOps.cpp | 1455 auto shapedType = type.dyn_cast<ShapedType>(); in fold() local
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/IR/ |
| H A D | SPIRVOps.cpp | 1836 auto shapedType = valueType.dyn_cast<ShapedType>(); in verifyConstantType() local
|