Home
last modified time | relevance | path

Searched refs:dstElemType (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/SPIRV/Transforms/
H A DUnifyAliasedResourcePass.cpp341 if (srcElemType == dstElemType || in matchAndRewrite()
342 areSameBitwidthScalarType(srcElemType, dstElemType)) { in matchAndRewrite()
359 int dstNumBits = *dstElemType.getSizeInBytes(); in matchAndRewrite()
382 int dstNumBits = *dstElemType.getSizeInBytes(); in matchAndRewrite()
410 auto dstElemType = in matchAndRewrite() local
417 if (srcElemType == dstElemType) { in matchAndRewrite()
435 int dstNumBits = dstElemType.getIntOrFloatBitWidth(); in matchAndRewrite()
466 auto vectorType = VectorType::get({ratio}, dstElemType); in matchAndRewrite()
483 auto dstElemType = in matchAndRewrite() local
487 if (!areSameBitwidthScalarType(srcElemType, dstElemType)) in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/lib/Conversion/ArithmeticToSPIRV/
H A DArithmeticToSPIRV.cpp332 Type dstElemType; in matchAndRewrite() local
336 dstElemType = arrayType.getElementType(); in matchAndRewrite()
338 dstElemType = dstType.cast<VectorType>().getElementType(); in matchAndRewrite()
342 if (srcElemType != dstElemType) { in matchAndRewrite()
347 convertFloatAttr(srcAttr, dstElemType.cast<FloatType>(), rewriter); in matchAndRewrite()
357 srcAttr, dstElemType.cast<IntegerType>(), rewriter); in matchAndRewrite()
369 dstAttrType = RankedTensorType::get(dstAttrType.getShape(), dstElemType); in matchAndRewrite()
371 dstAttrType = VectorType::get(dstAttrType.getShape(), dstElemType); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp4476 Type dstElemType = getResultVectorType().getElementType(); in fold() local
4483 if (srcElemType.isF16() && dstElemType.isF32()) { in fold()