Lines Matching refs:VectorTy
7513 bool Sema::CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, in CheckVectorCast() argument
7515 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast()
7518 if (!areLaxCompatibleVectorTypes(Ty, VectorTy)) in CheckVectorCast()
7523 << VectorTy << Ty << R; in CheckVectorCast()
7527 << VectorTy << Ty << R; in CheckVectorCast()
7533 ExprResult Sema::prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr) { in prepareVectorSplat() argument
7534 QualType DestElemTy = VectorTy->castAs<VectorType>()->getElementType(); in prepareVectorSplat()
7543 if (VectorTy->isExtVectorType() && SplattedExpr->getType()->isBooleanType()) { in prepareVectorSplat()
8161 QualType VectorTy = S.Context.getExtVectorType(ResTy, NumElements); in OpenCLConvertScalarsToVectors() local
8178 LHS = S.ImpCastExprToType(LHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
8179 RHS = S.ImpCastExprToType(RHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
8181 return VectorTy; in OpenCLConvertScalarsToVectors()
9946 QualType VectorTy = Vector->get()->getType().getUnqualifiedType(); in tryGCCVectorConvertAndSplat() local
9947 const VectorType *VT = VectorTy->getAs<VectorType>(); in tryGCCVectorConvertAndSplat()
10026 *Scalar = S.ImpCastExprToType(Scalar->get(), VectorTy, CK_VectorSplat); in tryGCCVectorConvertAndSplat()