Lines Matching refs:VectorTy
7575 bool Sema::CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, in CheckVectorCast() argument
7577 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast()
7580 if (!areLaxCompatibleVectorTypes(Ty, VectorTy)) in CheckVectorCast()
7585 << VectorTy << Ty << R; in CheckVectorCast()
7589 << VectorTy << Ty << R; in CheckVectorCast()
7595 ExprResult Sema::prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr) { in prepareVectorSplat() argument
7596 QualType DestElemTy = VectorTy->castAs<VectorType>()->getElementType(); in prepareVectorSplat()
7605 if (VectorTy->isExtVectorType() && SplattedExpr->getType()->isBooleanType()) { in prepareVectorSplat()
8205 QualType VectorTy = S.Context.getExtVectorType(ResTy, NumElements); in OpenCLConvertScalarsToVectors() local
8222 LHS = S.ImpCastExprToType(LHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
8223 RHS = S.ImpCastExprToType(RHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
8225 return VectorTy; in OpenCLConvertScalarsToVectors()
9973 QualType VectorTy = Vector->get()->getType().getUnqualifiedType(); in tryGCCVectorConvertAndSplat() local
9976 if (const auto *VT = VectorTy->getAs<VectorType>()) { in tryGCCVectorConvertAndSplat()
9980 } else if (VectorTy->isSveVLSBuiltinType()) { in tryGCCVectorConvertAndSplat()
9982 VectorTy->castAs<BuiltinType>()->getSveEltType(S.getASTContext()); in tryGCCVectorConvertAndSplat()
10058 *Scalar = S.ImpCastExprToType(Scalar->get(), VectorTy, CK_VectorSplat); in tryGCCVectorConvertAndSplat()