Lines Matching defs:destTy
7444 bool Sema::isValidSveBitcast(QualType srcTy, QualType destTy) {
7445 assert(srcTy->isVectorType() || destTy->isVectorType());
7455 return ValidScalableConversion(srcTy, destTy) ||
7456 ValidScalableConversion(destTy, srcTy);
7459 bool Sema::areMatrixTypesOfTheSameDimension(QualType srcTy, QualType destTy) {
7460 if (!destTy->isMatrixType() || !srcTy->isMatrixType())
7464 const ConstantMatrixType *matDestType = destTy->getAs<ConstantMatrixType>();
7512 bool Sema::areLaxCompatibleVectorTypes(QualType srcTy, QualType destTy) {
7513 assert(destTy->isVectorType() || srcTy->isVectorType());
7520 if (srcTy->isScalarType() && destTy->isExtVectorType()) return false;
7521 if (destTy->isScalarType() && srcTy->isExtVectorType()) return false;
7523 return areVectorTypesSameSize(srcTy, destTy);
7526 bool Sema::isLaxVectorConversion(QualType srcTy, QualType destTy) {
7527 assert(destTy->isVectorType() || srcTy->isVectorType());
7539 if (!destTy->isIntegralOrEnumerationType()) {
7540 auto *Vec = destTy->getAs<VectorType>();
7551 return areLaxCompatibleVectorTypes(srcTy, destTy);