Lines Matching defs:srcTy
7532 bool Sema::isValidSveBitcast(QualType srcTy, QualType destTy) {
7533 assert(srcTy->isVectorType() || destTy->isVectorType());
7543 return ValidScalableConversion(srcTy, destTy) ||
7544 ValidScalableConversion(destTy, srcTy);
7547 bool Sema::areMatrixTypesOfTheSameDimension(QualType srcTy, QualType destTy) {
7548 if (!destTy->isMatrixType() || !srcTy->isMatrixType())
7551 const ConstantMatrixType *matSrcType = srcTy->getAs<ConstantMatrixType>();
7600 bool Sema::areLaxCompatibleVectorTypes(QualType srcTy, QualType destTy) {
7601 assert(destTy->isVectorType() || srcTy->isVectorType());
7608 if (srcTy->isScalarType() && destTy->isExtVectorType()) return false;
7609 if (destTy->isScalarType() && srcTy->isExtVectorType()) return false;
7611 return areVectorTypesSameSize(srcTy, destTy);
7614 bool Sema::isLaxVectorConversion(QualType srcTy, QualType destTy) {
7615 assert(destTy->isVectorType() || srcTy->isVectorType());
7622 if (!srcTy->isIntegralOrEnumerationType()) {
7623 auto *Vec = srcTy->getAs<VectorType>();
7639 return areLaxCompatibleVectorTypes(srcTy, destTy);