| /freebsd/contrib/llvm-project/clang/lib/Headers/ |
| H A D | tgmath.h | 49 #define __tg_promote1(__x) (__typeof__(__tg_promote(__x))) argument 50 #define __tg_promote2(__x, __y) (__typeof__(__tg_promote(__x) + \ argument 52 #define __tg_promote3(__x, __y, __z) (__typeof__(__tg_promote(__x) + \ argument 60 __tg_acos(float __x) {return acosf(__x);} in __tg_acos() argument 64 __tg_acos(double __x) {return acos(__x);} in __tg_acos() argument 68 __tg_acos(long double __x) {return acosl(__x);} in __tg_acos() argument 72 __tg_acos(float _Complex __x) {return cacosf(__x);} in __tg_acos() argument 76 __tg_acos(double _Complex __x) {return cacos(__x);} in __tg_acos() argument 80 __tg_acos(long double _Complex __x) {return cacosl(__x);} in __tg_acos() argument 83 #define acos(__x) __tg_acos(__tg_promote1((__x))(__x)) argument [all …]
|
| H A D | __clang_hip_math.h | 161 float __cosf(float __x) { return __ocml_native_cos_f32(__x); } 164 float __exp10f(float __x) { 166 return __builtin_amdgcn_exp2f(__log2_10 * __x); 170 float __expf(float __x) { 172 return __builtin_amdgcn_exp2f(__log2_e * __x); 177 float __fadd_rd(float __x, float __y) { return __ocml_add_rtn_f32(__x, __y); } 179 float __fadd_rn(float __x, float __y) { return __ocml_add_rte_f32(__x, __y); } 181 float __fadd_ru(float __x, float __y) { return __ocml_add_rtp_f32(__x, __y); } 183 float __fadd_rz(float __x, float __y) { return __ocml_add_rtz_f32(__x, __y); } 186 float __fadd_rn(float __x, float __y) { return __x + __y; } [all …]
|
| H A D | __clang_cuda_cmath.h | 43 __DEVICE__ float abs(float __x) { return ::fabsf(__x); } in abs() argument 44 __DEVICE__ double abs(double __x) { return ::fabs(__x); } in abs() argument 45 __DEVICE__ float acos(float __x) { return ::acosf(__x); } in acos() argument 46 __DEVICE__ float asin(float __x) { return ::asinf(__x); } in asin() argument 47 __DEVICE__ float atan(float __x) { return ::atanf(__x); } in atan() argument 48 __DEVICE__ float atan2(float __x, float __y) { return ::atan2f(__x, __y); } in atan2() argument 49 __DEVICE__ float ceil(float __x) { return ::ceilf(__x); } in ceil() argument 50 __DEVICE__ float cos(float __x) { return ::cosf(__x); } in cos() argument 51 __DEVICE__ float cosh(float __x) { return ::coshf(__x); } in cosh() argument 52 __DEVICE__ float exp(float __x) { return ::expf(__x); } in exp() argument [all …]
|
| H A D | __clang_hip_cmath.h | 40 __DEVICE__ __CONSTEXPR__ float fabs(float __x) { return ::fabsf(__x); } in fabs() argument 41 __DEVICE__ __CONSTEXPR__ float sin(float __x) { return ::sinf(__x); } in sin() argument 42 __DEVICE__ __CONSTEXPR__ float cos(float __x) { return ::cosf(__x); } in cos() argument 44 __DEVICE__ __CONSTEXPR__ double abs(double __x) { return ::fabs(__x); } in abs() argument 45 __DEVICE__ __CONSTEXPR__ float abs(float __x) { return ::fabsf(__x); } in abs() argument 48 __DEVICE__ __CONSTEXPR__ float fma(float __x, float __y, float __z) { in fma() argument 49 return ::fmaf(__x, __y, __z); in fma() 54 __DEVICE__ __CONSTEXPR__ int fpclassify(float __x) { in fpclassify() argument 56 FP_ZERO, __x); in fpclassify() 58 __DEVICE__ __CONSTEXPR__ int fpclassify(double __x) { in fpclassify() argument [all …]
|
| H A D | gpuintrin.h | 42 __gpu_match_any_u32_impl(uint64_t __lane_mask, uint32_t __x); 46 __gpu_match_any_u64_impl(uint64_t __lane_mask, uint64_t __x); 50 __gpu_match_all_u32_impl(uint64_t __lane_mask, uint32_t __x); 54 __gpu_match_all_u64_impl(uint64_t __lane_mask, uint64_t __x); 144 __gpu_read_first_lane_u64(uint64_t __lane_mask, uint64_t __x) { in __gpu_read_first_lane_u64() argument 145 uint32_t __hi = (uint32_t)(__x >> 32ull); in __gpu_read_first_lane_u64() 146 uint32_t __lo = (uint32_t)(__x & 0xFFFFFFFFull); in __gpu_read_first_lane_u64() 154 __gpu_read_first_lane_f32(uint64_t __lane_mask, float __x) { in __gpu_read_first_lane_f32() argument 157 __builtin_bit_cast(uint32_t, __x))); in __gpu_read_first_lane_f32() 162 __gpu_read_first_lane_f64(uint64_t __lane_mask, double __x) { in __gpu_read_first_lane_f64() argument [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/ |
| H A D | complex_cmath.h | 102 _Tp __x = __rho * cos(__theta); 103 if (std::isnan(__x)) 104 __x = 0; 108 return std::complex<_Tp>(__x, __y); 113 template <class _Tp> std::complex<_Tp> log(const std::complex<_Tp> &__x) { in log() argument 114 return std::complex<_Tp>(log(abs(__x)), arg(__x)); in log() 119 template <class _Tp> std::complex<_Tp> log10(const std::complex<_Tp> &__x) { in log10() argument 120 return log(__x) / log(_Tp(10)); in log10() 126 __DEVICE__ std::complex<_Tp> sqrt(const std::complex<_Tp> &__x) { in sqrt() argument 127 if (std::isinf(__x.imag())) in sqrt() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__math/ |
| H A D | rounding_functions.h | 29 …ODISCARD inline _LIBCPP_HIDE_FROM_ABI float ceil(float __x) _NOEXCEPT { return __builtin_ceilf(__x… in ceil() argument 32 _LIBCPP_NODISCARD _LIBCPP_HIDE_FROM_ABI double ceil(double __x) _NOEXCEPT { in ceil() argument 33 return __builtin_ceil(__x); in ceil() 36 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI long double ceil(long double __x) _NOEXCEPT { in ceil() argument 37 return __builtin_ceill(__x); in ceil() 41 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI double ceil(_A1 __x) _NOEXCEPT { in ceil() argument 42 return __builtin_ceil((double)__x); in ceil() 47 …ISCARD inline _LIBCPP_HIDE_FROM_ABI float floor(float __x) _NOEXCEPT { return __builtin_floorf(__x… in floor() argument 50 _LIBCPP_NODISCARD _LIBCPP_HIDE_FROM_ABI double floor(double __x) _NOEXCEPT { in floor() argument 51 return __builtin_floor(__x); in floor() [all …]
|
| H A D | exponential_functions.h | 29 inline _LIBCPP_HIDE_FROM_ABI float exp(float __x) _NOEXCEPT { return __builtin_expf(__x); } in exp() argument 32 _LIBCPP_HIDE_FROM_ABI double exp(double __x) _NOEXCEPT { in exp() argument 33 return __builtin_exp(__x); in exp() 36 inline _LIBCPP_HIDE_FROM_ABI long double exp(long double __x) _NOEXCEPT { return __builtin_expl(__x… in exp() argument 39 inline _LIBCPP_HIDE_FROM_ABI double exp(_A1 __x) _NOEXCEPT { in exp() argument 40 return __builtin_exp((double)__x); in exp() 45 inline _LIBCPP_HIDE_FROM_ABI float frexp(float __x, int* __e) _NOEXCEPT { return __builtin_frexpf(_… in frexp() argument 48 _LIBCPP_HIDE_FROM_ABI double frexp(double __x, int* __e) _NOEXCEPT { in frexp() argument 49 return __builtin_frexp(__x, __e); in frexp() 52 inline _LIBCPP_HIDE_FROM_ABI long double frexp(long double __x, int* __e) _NOEXCEPT { in frexp() argument [all …]
|
| H A D | logarithms.h | 26 inline _LIBCPP_HIDE_FROM_ABI float log(float __x) _NOEXCEPT { return __builtin_logf(__x); } in log() argument 29 _LIBCPP_HIDE_FROM_ABI double log(double __x) _NOEXCEPT { in log() argument 30 return __builtin_log(__x); in log() 33 inline _LIBCPP_HIDE_FROM_ABI long double log(long double __x) _NOEXCEPT { return __builtin_logl(__x… in log() argument 36 inline _LIBCPP_HIDE_FROM_ABI double log(_A1 __x) _NOEXCEPT { in log() argument 37 return __builtin_log((double)__x); in log() 42 inline _LIBCPP_HIDE_FROM_ABI float log10(float __x) _NOEXCEPT { return __builtin_log10f(__x); } in log10() argument 45 _LIBCPP_HIDE_FROM_ABI double log10(double __x) _NOEXCEPT { in log10() argument 46 return __builtin_log10(__x); in log10() 49 …e _LIBCPP_HIDE_FROM_ABI long double log10(long double __x) _NOEXCEPT { return __builtin_log10l(__x… in log10() argument [all …]
|
| H A D | inverse_trigonometric_functions.h | 29 inline _LIBCPP_HIDE_FROM_ABI float acos(float __x) _NOEXCEPT { return __builtin_acosf(__x); } in acos() argument 32 _LIBCPP_HIDE_FROM_ABI double acos(double __x) _NOEXCEPT { in acos() argument 33 return __builtin_acos(__x); in acos() 36 …ine _LIBCPP_HIDE_FROM_ABI long double acos(long double __x) _NOEXCEPT { return __builtin_acosl(__x… in acos() argument 39 inline _LIBCPP_HIDE_FROM_ABI double acos(_A1 __x) _NOEXCEPT { in acos() argument 40 return __builtin_acos((double)__x); in acos() 45 inline _LIBCPP_HIDE_FROM_ABI float asin(float __x) _NOEXCEPT { return __builtin_asinf(__x); } in asin() argument 48 _LIBCPP_HIDE_FROM_ABI double asin(double __x) _NOEXCEPT { in asin() argument 49 return __builtin_asin(__x); in asin() 52 …ine _LIBCPP_HIDE_FROM_ABI long double asin(long double __x) _NOEXCEPT { return __builtin_asinl(__x… in asin() argument [all …]
|
| H A D | inverse_hyperbolic_functions.h | 26 inline _LIBCPP_HIDE_FROM_ABI float acosh(float __x) _NOEXCEPT { return __builtin_acoshf(__x); } in acosh() argument 29 _LIBCPP_HIDE_FROM_ABI double acosh(double __x) _NOEXCEPT { in acosh() argument 30 return __builtin_acosh(__x); in acosh() 33 …e _LIBCPP_HIDE_FROM_ABI long double acosh(long double __x) _NOEXCEPT { return __builtin_acoshl(__x… in acosh() argument 36 inline _LIBCPP_HIDE_FROM_ABI double acosh(_A1 __x) _NOEXCEPT { in acosh() argument 37 return __builtin_acosh((double)__x); in acosh() 42 inline _LIBCPP_HIDE_FROM_ABI float asinh(float __x) _NOEXCEPT { return __builtin_asinhf(__x); } in asinh() argument 45 _LIBCPP_HIDE_FROM_ABI double asinh(double __x) _NOEXCEPT { in asinh() argument 46 return __builtin_asinh(__x); in asinh() 49 …e _LIBCPP_HIDE_FROM_ABI long double asinh(long double __x) _NOEXCEPT { return __builtin_asinhl(__x… in asinh() argument [all …]
|
| H A D | trigonometric_functions.h | 26 inline _LIBCPP_HIDE_FROM_ABI float cos(float __x) _NOEXCEPT { return __builtin_cosf(__x); } in cos() argument 29 _LIBCPP_HIDE_FROM_ABI double cos(double __x) _NOEXCEPT { in cos() argument 30 return __builtin_cos(__x); in cos() 33 inline _LIBCPP_HIDE_FROM_ABI long double cos(long double __x) _NOEXCEPT { return __builtin_cosl(__x… in cos() argument 36 inline _LIBCPP_HIDE_FROM_ABI double cos(_A1 __x) _NOEXCEPT { in cos() argument 37 return __builtin_cos((double)__x); in cos() 42 inline _LIBCPP_HIDE_FROM_ABI float sin(float __x) _NOEXCEPT { return __builtin_sinf(__x); } in sin() argument 45 _LIBCPP_HIDE_FROM_ABI double sin(double __x) _NOEXCEPT { in sin() argument 46 return __builtin_sin(__x); in sin() 49 inline _LIBCPP_HIDE_FROM_ABI long double sin(long double __x) _NOEXCEPT { return __builtin_sinl(__x… in sin() argument [all …]
|
| H A D | hyperbolic_functions.h | 26 inline _LIBCPP_HIDE_FROM_ABI float cosh(float __x) _NOEXCEPT { return __builtin_coshf(__x); } in cosh() argument 29 _LIBCPP_HIDE_FROM_ABI double cosh(double __x) _NOEXCEPT { in cosh() argument 30 return __builtin_cosh(__x); in cosh() 33 …ine _LIBCPP_HIDE_FROM_ABI long double cosh(long double __x) _NOEXCEPT { return __builtin_coshl(__x… in cosh() argument 36 inline _LIBCPP_HIDE_FROM_ABI double cosh(_A1 __x) _NOEXCEPT { in cosh() argument 37 return __builtin_cosh((double)__x); in cosh() 42 inline _LIBCPP_HIDE_FROM_ABI float sinh(float __x) _NOEXCEPT { return __builtin_sinhf(__x); } in sinh() argument 45 _LIBCPP_HIDE_FROM_ABI double sinh(double __x) _NOEXCEPT { in sinh() argument 46 return __builtin_sinh(__x); in sinh() 49 …ine _LIBCPP_HIDE_FROM_ABI long double sinh(long double __x) _NOEXCEPT { return __builtin_sinhl(__x… in sinh() argument [all …]
|
| H A D | traits.h | 32 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI bool signbit(_A1 __x) _NOEXCEPT { in signbit() argument 33 return __builtin_signbit(__x); in signbit() 37 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI bool signbit(_A1 __x) _NOEXCEPT { in signbit() argument 38 return __x < 0; in signbit() 49 _LIBCPP_NODISCARD _LIBCPP_HIDE_FROM_ABI bool isfinite(_A1 __x) _NOEXCEPT { in isfinite() argument 50 return __builtin_isfinite((typename __promote<_A1>::type)__x); in isfinite() 58 …ARD inline _LIBCPP_HIDE_FROM_ABI bool isfinite(float __x) _NOEXCEPT { return __builtin_isfinite(__… in isfinite() argument 60 …RD inline _LIBCPP_HIDE_FROM_ABI bool isfinite(double __x) _NOEXCEPT { return __builtin_isfinite(__… in isfinite() argument 62 _LIBCPP_NODISCARD inline _LIBCPP_HIDE_FROM_ABI bool isfinite(long double __x) _NOEXCEPT { in isfinite() argument 63 return __builtin_isfinite(__x); in isfinite() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__math/ |
| H A D | rounding_functions.h | 29 …card__]] inline _LIBCPP_HIDE_FROM_ABI float ceil(float __x) _NOEXCEPT { return __builtin_ceilf(__x… in ceil() argument 32 [[__nodiscard__]] _LIBCPP_HIDE_FROM_ABI double ceil(double __x) _NOEXCEPT { in ceil() argument 33 return __builtin_ceil(__x); in ceil() 36 [[__nodiscard__]] inline _LIBCPP_HIDE_FROM_ABI long double ceil(long double __x) _NOEXCEPT { in ceil() argument 37 return __builtin_ceill(__x); in ceil() 41 [[__nodiscard__]] inline _LIBCPP_HIDE_FROM_ABI double ceil(_A1 __x) _NOEXCEPT { in ceil() argument 42 return __builtin_ceil((double)__x); in ceil() 47 …rd__]] inline _LIBCPP_HIDE_FROM_ABI float floor(float __x) _NOEXCEPT { return __builtin_floorf(__x… in floor() argument 50 [[__nodiscard__]] _LIBCPP_HIDE_FROM_ABI double floor(double __x) _NOEXCEPT { in floor() argument 51 return __builtin_floor(__x); in floor() [all …]
|
| H A D | exponential_functions.h | 29 inline _LIBCPP_HIDE_FROM_ABI float exp(float __x) _NOEXCEPT { return __builtin_expf(__x); } in exp() argument 32 _LIBCPP_HIDE_FROM_ABI double exp(double __x) _NOEXCEPT { in exp() argument 33 return __builtin_exp(__x); in exp() 36 inline _LIBCPP_HIDE_FROM_ABI long double exp(long double __x) _NOEXCEPT { return __builtin_expl(__x… in exp() argument 39 inline _LIBCPP_HIDE_FROM_ABI double exp(_A1 __x) _NOEXCEPT { in exp() argument 40 return __builtin_exp((double)__x); in exp() 45 inline _LIBCPP_HIDE_FROM_ABI float frexp(float __x, int* __e) _NOEXCEPT { return __builtin_frexpf(_… in frexp() argument 48 _LIBCPP_HIDE_FROM_ABI double frexp(double __x, int* __e) _NOEXCEPT { in frexp() argument 49 return __builtin_frexp(__x, __e); in frexp() 52 inline _LIBCPP_HIDE_FROM_ABI long double frexp(long double __x, int* __e) _NOEXCEPT { in frexp() argument [all …]
|
| H A D | inverse_trigonometric_functions.h | 29 inline _LIBCPP_HIDE_FROM_ABI float acos(float __x) _NOEXCEPT { return __builtin_acosf(__x); } in acos() argument 32 _LIBCPP_HIDE_FROM_ABI double acos(double __x) _NOEXCEPT { in acos() argument 33 return __builtin_acos(__x); in acos() 36 …ine _LIBCPP_HIDE_FROM_ABI long double acos(long double __x) _NOEXCEPT { return __builtin_acosl(__x… in acos() argument 39 inline _LIBCPP_HIDE_FROM_ABI double acos(_A1 __x) _NOEXCEPT { in acos() argument 40 return __builtin_acos((double)__x); in acos() 45 inline _LIBCPP_HIDE_FROM_ABI float asin(float __x) _NOEXCEPT { return __builtin_asinf(__x); } in asin() argument 48 _LIBCPP_HIDE_FROM_ABI double asin(double __x) _NOEXCEPT { in asin() argument 49 return __builtin_asin(__x); in asin() 52 …ine _LIBCPP_HIDE_FROM_ABI long double asin(long double __x) _NOEXCEPT { return __builtin_asinl(__x… in asin() argument [all …]
|
| H A D | traits.h | 39 [[__nodiscard__]] inline _LIBCPP_SIGNBIT_CONSTEXPR _LIBCPP_HIDE_FROM_ABI bool signbit(float __x) _N… in signbit() argument 40 return __builtin_signbit(__x); in signbit() 44 [[__nodiscard__]] inline _LIBCPP_SIGNBIT_CONSTEXPR _LIBCPP_HIDE_FROM_ABI bool signbit(double __x) _… in signbit() argument 45 return __builtin_signbit(__x); in signbit() 49 …]] inline _LIBCPP_SIGNBIT_CONSTEXPR _LIBCPP_HIDE_FROM_ABI bool signbit(long double __x) _NOEXCEPT { in signbit() argument 50 return __builtin_signbit(__x); in signbit() 54 [[__nodiscard__]] inline _LIBCPP_SIGNBIT_CONSTEXPR _LIBCPP_HIDE_FROM_ABI bool signbit(_A1 __x) _NOE… in signbit() argument 55 return __x < 0; in signbit() 65 …_]] inline _LIBCPP_CONSTEXPR_SINCE_CXX23 _LIBCPP_HIDE_FROM_ABI bool isfinite(float __x) _NOEXCEPT { in isfinite() argument 66 return __builtin_isfinite(__x); in isfinite() [all …]
|
| H A D | abs.h | 26 …card__]] inline _LIBCPP_HIDE_FROM_ABI float fabs(float __x) _NOEXCEPT { return __builtin_fabsf(__x… in fabs() argument 29 [[__nodiscard__]] _LIBCPP_HIDE_FROM_ABI double fabs(double __x) _NOEXCEPT { in fabs() argument 30 return __builtin_fabs(__x); in fabs() 33 [[__nodiscard__]] inline _LIBCPP_HIDE_FROM_ABI long double fabs(long double __x) _NOEXCEPT { in fabs() argument 34 return __builtin_fabsl(__x); in fabs() 38 [[__nodiscard__]] inline _LIBCPP_HIDE_FROM_ABI double fabs(_A1 __x) _NOEXCEPT { in fabs() argument 39 return __builtin_fabs((double)__x); in fabs() 44 …scard__]] _LIBCPP_HIDE_FROM_ABI inline float abs(float __x) _NOEXCEPT { return __builtin_fabsf(__x… in abs() argument 45 …ard__]] _LIBCPP_HIDE_FROM_ABI inline double abs(double __x) _NOEXCEPT { return __builtin_fabs(__x)… in abs() argument 47 [[__nodiscard__]] _LIBCPP_HIDE_FROM_ABI inline long double abs(long double __x) _NOEXCEPT { in abs() argument [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__charconv/ |
| H A D | chars_format.h | 26 inline _LIBCPP_HIDE_FROM_ABI constexpr chars_format operator~(chars_format __x) { 27 return chars_format(~std::__to_underlying(__x)); 30 inline _LIBCPP_HIDE_FROM_ABI constexpr chars_format operator&(chars_format __x, chars_format __y) { 31 return chars_format(std::__to_underlying(__x) & std::__to_underlying(__y)); 34 inline _LIBCPP_HIDE_FROM_ABI constexpr chars_format operator|(chars_format __x, chars_format __y) { 35 return chars_format(std::__to_underlying(__x) | std::__to_underlying(__y)); 38 inline _LIBCPP_HIDE_FROM_ABI constexpr chars_format operator^(chars_format __x, chars_format __y) { 39 return chars_format(std::__to_underlying(__x) ^ std::__to_underlying(__y)); 42 inline _LIBCPP_HIDE_FROM_ABI constexpr chars_format& operator&=(chars_format& __x, chars_format __y… 43 __x = __x & __y; [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/__functional/ |
| H A D | operations.h | 30 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x + __y; } in operator() 45 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x - __y; } in operator() 52 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x * __y; } in operator() 59 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x / __y; } in operator() 66 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x % __y; } in operator() 73 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x) const { return -__x; } in operator() 82 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x & __y; } in operator() 89 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x | __y; } in operator() 96 _LIBCPP_HIDE_FROM_ABI _Tp operator()(const _Tp& __x, const _Tp& __y) const { return __x ^ __y; } in operator() 105 _LIBCPP_HIDE_FROM_ABI bool operator()(const _Tp& __x, const _Tp& __y) const { return __x == __y; } in operator() [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__numeric/ |
| H A D | saturation_arithmetic.h | 32 _LIBCPP_HIDE_FROM_ABI constexpr _Tp __add_sat(_Tp __x, _Tp __y) noexcept { in __add_sat() argument 33 if (_Tp __sum; !__builtin_add_overflow(__x, __y, std::addressof(__sum))) in __add_sat() 40 if (__x > 0) in __add_sat() 50 _LIBCPP_HIDE_FROM_ABI constexpr _Tp __sub_sat(_Tp __x, _Tp __y) noexcept { in __sub_sat() argument 51 if (_Tp __sub; !__builtin_sub_overflow(__x, __y, std::addressof(__sub))) in __sub_sat() 59 if (__x >= 0) in __sub_sat() 69 _LIBCPP_HIDE_FROM_ABI constexpr _Tp __mul_sat(_Tp __x, _Tp __y) noexcept { in __mul_sat() argument 70 if (_Tp __mul; !__builtin_mul_overflow(__x, __y, std::addressof(__mul))) in __mul_sat() 77 if ((__x > 0 && __y > 0) || (__x < 0 && __y < 0)) in __mul_sat() 85 _LIBCPP_HIDE_FROM_ABI constexpr _Tp __div_sat(_Tp __x, _Tp __y) noexcept { in __div_sat() argument [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
| H A D | leap_second.h | 63 …_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator==(const leap_second& __x, const leap_second& … 64 return __x.date() == __y.date(); 67 …_LIBCPP_HIDE_FROM_ABI friend constexpr strong_ordering operator<=>(const leap_second& __x, const l… 68 return __x.date() <=> __y.date(); 72 …_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator==(const leap_second& __x, const sys_time<_Dur… 73 return __x.date() == __y; 77 …_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator<(const leap_second& __x, const sys_time<_Dura… 78 return __x.date() < __y; 82 …_LIBCPP_HIDE_FROM_ABI friend constexpr bool operator<(const sys_time<_Duration>& __x, const leap_s… 83 return __x < __y.date(); [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/ |
| H A D | complex | 292 _LIBCPP_HIDE_FROM_ABI complex<_Tp> operator/(const complex<_Tp>& __x, const complex<_Tp>& __y); 295 _LIBCPP_HIDE_FROM_ABI complex<_Tp> operator/(const complex<_Tp>& __x, const complex<_Tp>& __y); 657 inline _LIBCPP_HIDE_FROM_ABI complex<_Tp> operator+(const complex<_Tp>& __x, const complex<_Tp>& __… 658 complex<_Tp> __t(__x); 664 inline _LIBCPP_HIDE_FROM_ABI complex<_Tp> operator+(const complex<_Tp>& __x, const _Tp& __y) { 665 complex<_Tp> __t(__x); 671 inline _LIBCPP_HIDE_FROM_ABI complex<_Tp> operator+(const _Tp& __x, const complex<_Tp>& __y) { 673 __t += __x; 678 inline _LIBCPP_HIDE_FROM_ABI complex<_Tp> operator-(const complex<_Tp>& __x, const complex<_Tp>& __… 679 complex<_Tp> __t(__x); [all …]
|
| /freebsd/contrib/llvm-project/libcxx/include/__thread/ |
| H A D | id.h | 44 …__lt_impl(__thread_id __x, __thread_id __y) _NOEXCEPT { // id==0 is always less than any other thr… 45 if (__x.__id_ == 0) 49 return __libcpp_thread_id_less(__x.__id_, __y.__id_); 57 friend _LIBCPP_HIDE_FROM_ABI bool operator==(__thread_id __x, __thread_id __y) _NOEXCEPT; 59 friend _LIBCPP_HIDE_FROM_ABI bool operator<(__thread_id __x, __thread_id __y) _NOEXCEPT; 61 …friend _LIBCPP_HIDE_FROM_ABI strong_ordering operator<=>(__thread_id __x, __thread_id __y) noexcep… 78 inline _LIBCPP_HIDE_FROM_ABI bool operator==(__thread_id __x, __thread_id __y) _NOEXCEPT { 80 if (__x.__id_ == 0) 84 return __libcpp_thread_id_equal(__x.__id_, __y.__id_); 89 …ne _LIBCPP_HIDE_FROM_ABI bool operator!=(__thread_id __x, __thread_id __y) _NOEXCEPT { return !(__… [all …]
|