Lines Matching refs:VectorTy
8079 bool Sema::CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, in CheckVectorCast() argument
8081 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast()
8084 if (!areLaxCompatibleVectorTypes(Ty, VectorTy)) in CheckVectorCast()
8089 << VectorTy << Ty << R; in CheckVectorCast()
8093 << VectorTy << Ty << R; in CheckVectorCast()
8099 ExprResult Sema::prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr) { in prepareVectorSplat() argument
8100 QualType DestElemTy = VectorTy->castAs<VectorType>()->getElementType(); in prepareVectorSplat()
8109 if (VectorTy->isExtVectorType() && SplattedExpr->getType()->isBooleanType()) { in prepareVectorSplat()
8714 QualType VectorTy = S.Context.getExtVectorType(ResTy, NumElements); in OpenCLConvertScalarsToVectors() local
8731 LHS = S.ImpCastExprToType(LHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
8732 RHS = S.ImpCastExprToType(RHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
8734 return VectorTy; in OpenCLConvertScalarsToVectors()
10565 QualType VectorTy = Vector->get()->getType().getUnqualifiedType(); in tryGCCVectorConvertAndSplat() local
10568 if (const auto *VT = VectorTy->getAs<VectorType>()) { in tryGCCVectorConvertAndSplat()
10572 } else if (VectorTy->isVLSTBuiltinType()) { in tryGCCVectorConvertAndSplat()
10574 VectorTy->castAs<BuiltinType>()->getSveEltType(S.getASTContext()); in tryGCCVectorConvertAndSplat()
10651 *Scalar = S.ImpCastExprToType(Scalar->get(), VectorTy, CK_VectorSplat); in tryGCCVectorConvertAndSplat()