Lines Matching refs:VectorTy
5848 bool Sema::CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, in CheckVectorCast() argument
5850 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast()
5853 if (!areLaxCompatibleVectorTypes(Ty, VectorTy)) in CheckVectorCast()
5858 << VectorTy << Ty << R; in CheckVectorCast()
5862 << VectorTy << Ty << R; in CheckVectorCast()
5868 ExprResult Sema::prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr) { in prepareVectorSplat() argument
5869 QualType DestElemTy = VectorTy->castAs<VectorType>()->getElementType(); in prepareVectorSplat()
5878 if (VectorTy->isExtVectorType() && SplattedExpr->getType()->isBooleanType()) { in prepareVectorSplat()
6494 QualType VectorTy = S.Context.getExtVectorType(ResTy, NumElements); in OpenCLConvertScalarsToVectors() local
6511 LHS = S.ImpCastExprToType(LHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
6512 RHS = S.ImpCastExprToType(RHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
6514 return VectorTy; in OpenCLConvertScalarsToVectors()