Lines Matching defs:VectorTy
7663 bool Sema::CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty,
7665 assert(VectorTy->isVectorType() && "Not a vector type!");
7668 if (!areLaxCompatibleVectorTypes(Ty, VectorTy))
7673 << VectorTy << Ty << R;
7677 << VectorTy << Ty << R;
7683 ExprResult Sema::prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr) {
7684 QualType DestElemTy = VectorTy->castAs<VectorType>()->getElementType();
7693 if (VectorTy->isExtVectorType() && SplattedExpr->getType()->isBooleanType()) {
8293 QualType VectorTy = S.Context.getExtVectorType(ResTy, NumElements);
8298 // Since VectorTy is created internally, it does not pretty print
8310 LHS = S.ImpCastExprToType(LHS.get(), VectorTy, CK_VectorSplat);
8311 RHS = S.ImpCastExprToType(RHS.get(), VectorTy, CK_VectorSplat);
8313 return VectorTy;
10073 QualType VectorTy = Vector->get()->getType().getUnqualifiedType();
10076 if (const auto *VT = VectorTy->getAs<VectorType>()) {
10080 } else if (VectorTy->isSveVLSBuiltinType()) {
10082 VectorTy->castAs<BuiltinType>()->getSveEltType(S.getASTContext());
10158 *Scalar = S.ImpCastExprToType(Scalar->get(), VectorTy, CK_VectorSplat);