Lines Matching refs:VectorTy
7839 bool Sema::CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, in CheckVectorCast() argument
7841 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast()
7844 if (!areLaxCompatibleVectorTypes(Ty, VectorTy)) in CheckVectorCast()
7849 << VectorTy << Ty << R; in CheckVectorCast()
7853 << VectorTy << Ty << R; in CheckVectorCast()
7859 ExprResult Sema::prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr) { in prepareVectorSplat() argument
7860 QualType DestElemTy = VectorTy->castAs<VectorType>()->getElementType(); in prepareVectorSplat()
7869 if (VectorTy->isExtVectorType() && SplattedExpr->getType()->isBooleanType()) { in prepareVectorSplat()
8489 QualType VectorTy = S.Context.getExtVectorType(ResTy, NumElements); in OpenCLConvertScalarsToVectors() local
8506 LHS = S.ImpCastExprToType(LHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
8507 RHS = S.ImpCastExprToType(RHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
8509 return VectorTy; in OpenCLConvertScalarsToVectors()
10304 QualType VectorTy = Vector->get()->getType().getUnqualifiedType(); in tryGCCVectorConvertAndSplat() local
10307 if (const auto *VT = VectorTy->getAs<VectorType>()) { in tryGCCVectorConvertAndSplat()
10311 } else if (VectorTy->isVLSTBuiltinType()) { in tryGCCVectorConvertAndSplat()
10313 VectorTy->castAs<BuiltinType>()->getSveEltType(S.getASTContext()); in tryGCCVectorConvertAndSplat()
10390 *Scalar = S.ImpCastExprToType(Scalar->get(), VectorTy, CK_VectorSplat); in tryGCCVectorConvertAndSplat()