Lines Matching refs:srcTy
8257 bool Sema::isValidSveBitcast(QualType srcTy, QualType destTy) {
8258 assert(srcTy->isVectorType() || destTy->isVectorType());
8268 return ValidScalableConversion(srcTy, destTy) ||
8269 ValidScalableConversion(destTy, srcTy);
8278 bool Sema::isValidRVVBitcast(QualType srcTy, QualType destTy) {
8279 assert(srcTy->isVectorType() || destTy->isVectorType());
8289 return ValidScalableConversion(srcTy, destTy) ||
8290 ValidScalableConversion(destTy, srcTy);
8295 bool Sema::areMatrixTypesOfTheSameDimension(QualType srcTy, QualType destTy) {
8296 if (!destTy->isMatrixType() || !srcTy->isMatrixType())
8299 const ConstantMatrixType *matSrcType = srcTy->getAs<ConstantMatrixType>();
8356 bool Sema::areLaxCompatibleVectorTypes(QualType srcTy, QualType destTy) {
8357 assert(destTy->isVectorType() || srcTy->isVectorType());
8364 if (srcTy->isScalarType() && destTy->isExtVectorType()) return false;
8365 if (destTy->isScalarType() && srcTy->isExtVectorType()) return false;
8367 return areVectorTypesSameSize(srcTy, destTy);
8372 bool Sema::isLaxVectorConversion(QualType srcTy, QualType destTy) {
8373 assert(destTy->isVectorType() || srcTy->isVectorType());
8380 if (!srcTy->isIntegralOrEnumerationType()) {
8381 auto *Vec = srcTy->getAs<VectorType>();
8397 return areLaxCompatibleVectorTypes(srcTy, destTy);