Lines Matching refs:VectorTy
6254 bool Sema::CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, in CheckVectorCast() argument
6256 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast()
6259 if (!areLaxCompatibleVectorTypes(Ty, VectorTy)) in CheckVectorCast()
6264 << VectorTy << Ty << R; in CheckVectorCast()
6268 << VectorTy << Ty << R; in CheckVectorCast()
6274 ExprResult Sema::prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr) { in prepareVectorSplat() argument
6275 QualType DestElemTy = VectorTy->castAs<VectorType>()->getElementType(); in prepareVectorSplat()
6284 if (VectorTy->isExtVectorType() && SplattedExpr->getType()->isBooleanType()) { in prepareVectorSplat()
6902 QualType VectorTy = S.Context.getExtVectorType(ResTy, NumElements); in OpenCLConvertScalarsToVectors() local
6919 LHS = S.ImpCastExprToType(LHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
6920 RHS = S.ImpCastExprToType(RHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
6922 return VectorTy; in OpenCLConvertScalarsToVectors()
8597 QualType VectorTy = Vector->get()->getType().getUnqualifiedType(); in tryGCCVectorConvertAndSplat() local
8598 const VectorType *VT = VectorTy->getAs<VectorType>(); in tryGCCVectorConvertAndSplat()
8664 *Scalar = S.ImpCastExprToType(Scalar->get(), VectorTy, CK_VectorSplat); in tryGCCVectorConvertAndSplat()