Home
last modified time | relevance | path

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

/llvm-project/mlir/lib/Dialect/SPIRV/Transforms/
H A DUnifyAliasedResourcePass.cpp359 spirv::SPIRVType srcElemType = analysis.getElementType(srcVarOp); in matchAndRewrite() local
362 if (srcElemType == dstElemType || in matchAndRewrite()
363 areSameBitwidthScalarType(srcElemType, dstElemType)) { in matchAndRewrite()
373 if (srcElemType.isIntOrFloat() && isa<VectorType>(dstElemType)) { in matchAndRewrite()
378 int srcNumBytes = *srcElemType.getSizeInBytes(); in matchAndRewrite()
400 if ((srcElemType.isIntOrFloat() && dstElemType.isIntOrFloat()) || in matchAndRewrite()
401 (isa<VectorType>(srcElemType) && isa<VectorType>(dstElemType))) { in matchAndRewrite()
405 int srcNumBytes = *srcElemType.getSizeInBytes(); in matchAndRewrite()
437 auto srcElemType = cast<spirv::SPIRVType>(srcPtrType.getPointeeType()); in matchAndRewrite() local
443 if (srcElemType == dstElemType) { in matchAndRewrite()
[all …]
/llvm-project/mlir/lib/Conversion/ArithToSPIRV/
H A DArithToSPIRV.cpp284 Type srcElemType = srcType.getElementType(); in matchAndRewrite() local
295 if (srcElemType != dstElemType) { in matchAndRewrite()
297 if (isa<FloatType>(srcElemType)) { in matchAndRewrite()
305 } else if (srcElemType.isInteger(1)) { in matchAndRewrite()
/llvm-project/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp5817 Type srcElemType = getSourceVectorType().getElementType(); in verify()
5825 if (srcElemType.isF16() && dstElemType.isF32()) { in verify()
5842 uint64_t srcBitWidth = srcElemType.getIntOrFloatBitWidth(); in verify()
5517 Type srcElemType = getSourceVectorType().getElementType(); fold() local