reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaExpr.cpp
 8952   if (VectorEltTy->isIntegralType(S.Context) &&
 8953       ScalarTy->isIntegralType(S.Context) &&
 8954       S.Context.getIntegerTypeOrder(VectorEltTy, ScalarTy)) {
 8956     if (canConvertIntToOtherIntTy(S, Scalar, VectorEltTy))
 8966       bool CstScalar = Scalar->get()->EvaluateAsFloat(Result, S.Context);
 8967       int Order = S.Context.getFloatingTypeOrder(VectorEltTy, ScalarTy);
 8975         Result.convert(S.Context.getFloatTypeSemantics(VectorEltTy),
 8982     } else if (ScalarTy->isIntegralType(S.Context)) {
 8983       if (canConvertIntTyToFloatTy(S, Scalar, VectorEltTy))
 8994       *Scalar = S.ImpCastExprToType(Scalar->get(), VectorEltTy, ScalarCast);
 8995     *Scalar = S.ImpCastExprToType(Scalar->get(), VectorTy, CK_VectorSplat);