Home
last modified time | relevance | path

Searched refs:srcTy (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/flang/include/flang/Optimizer/Builder/
H A DFactory.h45 auto srcTy = in genCharacterCopy() local
49 if (!srcLen && !dstLen && srcTy.getFKind() == dstTy.getFKind() && in genCharacterCopy()
50 srcTy.getLen() == dstTy.getLen()) { in genCharacterCopy()
70 if (!srcLen && !dstLen && srcTy.getLen() >= dstTy.getLen()) { in genCharacterCopy()
76 auto csrcTy = toArrayTy(srcTy); in genCharacterCopy()
86 srcTy.getFKind() == dstTy.getFKind() in genCharacterCopy()
114 srcTy.getLen()) in genCharacterCopy()
120 auto csrcTy = toArrayTy(srcTy); in genCharacterCopy()
130 srcTy.getFKind() == dstTy.getFKind() in genCharacterCopy()
/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalg.cpp451 Type srcTy = elementTy; in createLinalgBodyCalculationForElementwiseOp() local
456 if (srcTy == dstTy) in createLinalgBodyCalculationForElementwiseOp()
467 if (srcTy.isInteger(1) && arith::UIToFPOp::areCastCompatible(srcTy, dstTy)) in createLinalgBodyCalculationForElementwiseOp()
489 if (arith::SIToFPOp::areCastCompatible(srcTy, dstTy)) in createLinalgBodyCalculationForElementwiseOp()
494 if (srcTy.isa<FloatType>() && dstTy.isInteger(1)) { in createLinalgBodyCalculationForElementwiseOp()
496 loc, rewriter.getFloatAttr(srcTy, 0.0)); in createLinalgBodyCalculationForElementwiseOp()
501 if (arith::FPToSIOp::areCastCompatible(srcTy, dstTy)) { in createLinalgBodyCalculationForElementwiseOp()
532 if (srcTy.isa<IntegerType>() && dstTy.isInteger(1)) { in createLinalgBodyCalculationForElementwiseOp()
534 loc, 0, srcTy.getIntOrFloatBitWidth()); in createLinalgBodyCalculationForElementwiseOp()
548 srcTy.getIntOrFloatBitWidth()); in createLinalgBodyCalculationForElementwiseOp()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DMemorySanitizer.cpp2200 Type *srcTy = V->getType(); in CreateShadowCast() local
2201 size_t srcSizeInBits = VectorOrPrimitiveTypeSizeInBits(srcTy); in CreateShadowCast()
2206 if (dstTy->isIntegerTy() && srcTy->isIntegerTy()) in CreateShadowCast()
2208 if (dstTy->isVectorTy() && srcTy->isVectorTy() && in CreateShadowCast()
2210 cast<FixedVectorType>(srcTy)->getNumElements()) in CreateShadowCast()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp7689 bool Sema::isValidSveBitcast(QualType srcTy, QualType destTy) { in isValidSveBitcast() argument
7690 assert(srcTy->isVectorType() || destTy->isVectorType()); in isValidSveBitcast()
7701 return ValidScalableConversion(srcTy, destTy) || in isValidSveBitcast()
7702 ValidScalableConversion(destTy, srcTy); in isValidSveBitcast()
7708 if (!destTy->isMatrixType() || !srcTy->isMatrixType()) in areMatrixTypesOfTheSameDimension()
7775 assert(destTy->isVectorType() || srcTy->isVectorType()); in areLaxCompatibleVectorTypes()
7785 return areVectorTypesSameSize(srcTy, destTy); in areLaxCompatibleVectorTypes()
7791 assert(destTy->isVectorType() || srcTy->isVectorType()); in isLaxVectorConversion()
7798 if (!srcTy->isIntegralOrEnumerationType()) { in isLaxVectorConversion()
7799 auto *Vec = srcTy->getAs<VectorType>(); in isLaxVectorConversion()
[all …]
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h12261 bool areMatrixTypesOfTheSameDimension(QualType srcTy, QualType destTy);