Lines Matching refs:VectorTy
8421 bool Sema::CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, in CheckVectorCast() argument
8423 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast()
8426 if (!areLaxCompatibleVectorTypes(Ty, VectorTy)) in CheckVectorCast()
8431 << VectorTy << Ty << R; in CheckVectorCast()
8435 << VectorTy << Ty << R; in CheckVectorCast()
8441 ExprResult Sema::prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr) { in prepareVectorSplat() argument
8442 QualType DestElemTy = VectorTy->castAs<VectorType>()->getElementType(); in prepareVectorSplat()
8451 if (VectorTy->isExtVectorType() && SplattedExpr->getType()->isBooleanType()) { in prepareVectorSplat()
9056 QualType VectorTy = S.Context.getExtVectorType(ResTy, NumElements); in OpenCLConvertScalarsToVectors() local
9073 LHS = S.ImpCastExprToType(LHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
9074 RHS = S.ImpCastExprToType(RHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
9076 return VectorTy; in OpenCLConvertScalarsToVectors()
10971 QualType VectorTy = Vector->get()->getType().getUnqualifiedType(); in tryGCCVectorConvertAndSplat() local
10974 if (const auto *VT = VectorTy->getAs<VectorType>()) { in tryGCCVectorConvertAndSplat()
10978 } else if (VectorTy->isSveVLSBuiltinType()) { in tryGCCVectorConvertAndSplat()
10980 VectorTy->castAs<BuiltinType>()->getSveEltType(S.getASTContext()); in tryGCCVectorConvertAndSplat()
11056 *Scalar = S.ImpCastExprToType(Scalar->get(), VectorTy, CK_VectorSplat); in tryGCCVectorConvertAndSplat()