| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | tgmath.h | 83 #define acos(__x) __tg_acos(__tg_promote1((__x))(__x)) argument 112 #define asin(__x) __tg_asin(__tg_promote1((__x))(__x)) argument 141 #define atan(__x) __tg_atan(__tg_promote1((__x))(__x)) argument 170 #define acosh(__x) __tg_acosh(__tg_promote1((__x))(__x)) argument 199 #define asinh(__x) __tg_asinh(__tg_promote1((__x))(__x)) argument 257 #define cos(__x) __tg_cos(__tg_promote1((__x))(__x)) argument 286 #define sin(__x) __tg_sin(__tg_promote1((__x))(__x)) argument 315 #define tan(__x) __tg_tan(__tg_promote1((__x))(__x)) argument 344 #define cosh(__x) __tg_cosh(__tg_promote1((__x))(__x)) argument 431 #define exp(__x) __tg_exp(__tg_promote1((__x))(__x)) argument [all …]
|
| H A D | __clang_hip_math.h | 194 float cosf(float __x) { return __ocml_cos_f32(__x); } 218 float erff(float __x) { return __ocml_erf_f32(__x); } 230 float expf(float __x) { return __ocml_exp_f32(__x); } 290 float j0f(float __x) { return __ocml_j0_f32(__x); } 293 float j1f(float __x) { return __ocml_j1_f32(__x); } 538 float y0f(float __x) { return __ocml_y0_f32(__x); } 656 float __frcp_rn(float __x) { return 1.0f / __x; } 703 float __saturatef(float __x) { return (__x < 0) ? 0 : ((__x > 1) ? 1 : __x); } 1272 #define isfinite(__x) _Generic((__x), float : __finitef, double : __finite)(__x) 1273 #define isinf(__x) _Generic((__x), float : __isinff, double : __isinf)(__x) [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 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 53 __DEVICE__ float fabs(float __x) { return ::fabsf(__x); } in fabs() 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 86 __DEVICE__ __CONSTEXPR__ int isinf(float __x) { return ::__isinff(__x); } in isinf() argument 87 __DEVICE__ __CONSTEXPR__ int isinf(double __x) { return ::__isinf(__x); } in isinf() argument 90 __DEVICE__ __CONSTEXPR__ int isnan(float __x) { return ::__isnanf(__x); } in isnan() argument 91 __DEVICE__ __CONSTEXPR__ int isnan(double __x) { return ::__isnan(__x); } in isnan() argument 96 __DEVICE__ __CONSTEXPR__ bool isinf(float __x) { return ::__isinff(__x); } in isinf() argument [all …]
|
| H A D | __clang_cuda_texture_intrinsics.h | 335 ("f"(__x), "f"(__level))); 349 ("f"(__x), "f"(__y))); 453 ("f"(__x), "f"(__y))); 467 __obj, __x, __y, __comp); 470 __obj, __x, __y, __comp); 473 __obj, __x, __y, __comp); 476 __obj, __x, __y, __comp); 489 __obj, __x, __y, __comp); 492 __obj, __x, __y, __comp); 495 __obj, __x, __y, __comp); [all …]
|
| H A D | adxintrin.h | 22 _addcarryx_u32(unsigned char __cf, unsigned int __x, unsigned int __y, in _addcarryx_u32() argument 25 return __builtin_ia32_addcarryx_u32(__cf, __x, __y, __p); in _addcarryx_u32() 30 _addcarryx_u64(unsigned char __cf, unsigned long long __x, in _addcarryx_u64() argument 33 return __builtin_ia32_addcarryx_u64(__cf, __x, __y, __p); in _addcarryx_u64() 39 _addcarry_u32(unsigned char __cf, unsigned int __x, unsigned int __y, in _addcarry_u32() argument 42 return __builtin_ia32_addcarryx_u32(__cf, __x, __y, __p); in _addcarry_u32() 47 _addcarry_u64(unsigned char __cf, unsigned long long __x, in _addcarry_u64() argument 50 return __builtin_ia32_addcarryx_u64(__cf, __x, __y, __p); in _addcarry_u64() 58 return __builtin_ia32_subborrow_u32(__cf, __x, __y, __p); in _subborrow_u32() 63 _subborrow_u64(unsigned char __cf, unsigned long long __x, in _subborrow_u64() argument [all …]
|
| /llvm-project-15.0.7/clang/lib/Headers/openmp_wrappers/ |
| H A D | complex_cmath.h | 99 __x = 0; 109 return std::complex<_Tp>(log(abs(__x)), arg(__x)); in log() 132 return polar(sqrt(abs(__x)), arg(__x) / _Tp(2)); in sqrt() 189 return std::complex<_Tp>(__x.real(), __x.real()); in asinh() 242 if (std::isinf(__x.real()) || __x.real() == 0) in atanh() 268 if (__x.real() == 0 && !std::isfinite(__x.imag())) in sinh() 284 if (__x.real() == 0 && __x.imag() == 0) in cosh() 302 if (std::isnan(__x.real()) && __x.imag() == 0) in tanh() 337 signbit(__x.imag()) ? -__x.real() : __x.real()); in acos() 339 signbit(__x.imag()) ? __x.real() : -__x.real()); in acos() [all …]
|
| H A D | cmath | 43 __DEVICE__ float acosh(float __x) { return ::acoshf(__x); } 44 __DEVICE__ float asinh(float __x) { return ::asinhf(__x); } 45 __DEVICE__ float atanh(float __x) { return ::atanhf(__x); } 46 __DEVICE__ float cbrt(float __x) { return ::cbrtf(__x); } 47 __DEVICE__ float erf(float __x) { return ::erff(__x); } 48 __DEVICE__ float erfc(float __x) { return ::erfcf(__x); } 49 __DEVICE__ float exp2(float __x) { return ::exp2f(__x); } 53 __DEVICE__ int ilogb(float __x) { return ::ilogbf(__x); } 58 __DEVICE__ float log2(float __x) { return ::log2f(__x); } 59 __DEVICE__ float logb(float __x) { return ::logbf(__x); } [all …]
|
| /llvm-project-15.0.7/libcxx/include/__algorithm/ |
| H A D | comp.h | 26 …_LIBCPP_CONSTEXPR_AFTER_CXX11 bool operator()(const _T1& __x, const _T1& __y) const {return __x ==… in operator() 36 bool operator()(const _T1& __x, const _T1& __y) const {return __x == __y;} 43 bool operator()(const _T1& __x, const _T1& __y) const {return __x == __y;} 50 bool operator()(const _T1& __x, const _T1& __y) const {return __x == __y;} 57 bool operator()(const _T1& __x, const _T1& __y) const {return __x < __y;} 60 bool operator()(const _T1& __x, const _T2& __y) const {return __x < __y;} 63 bool operator()(const _T2& __x, const _T1& __y) const {return __x < __y;} 66 bool operator()(const _T2& __x, const _T2& __y) const {return __x < __y;} 73 bool operator()(const _T1& __x, const _T1& __y) const {return __x < __y;} 80 bool operator()(const _T1& __x, const _T1& __y) const {return __x < __y;} [all …]
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | __bits | 28 int __libcpp_ctz(unsigned __x) _NOEXCEPT { return __builtin_ctz(__x); } 31 int __libcpp_ctz(unsigned long __x) _NOEXCEPT { return __builtin_ctzl(__x); } 34 int __libcpp_ctz(unsigned long long __x) _NOEXCEPT { return __builtin_ctzll(__x); } 38 int __libcpp_clz(unsigned __x) _NOEXCEPT { return __builtin_clz(__x); } 41 int __libcpp_clz(unsigned long __x) _NOEXCEPT { return __builtin_clzl(__x); } 44 int __libcpp_clz(unsigned long long __x) _NOEXCEPT { return __builtin_clzll(__x); } 58 return ((__x >> 64) == 0) 75 // Precondition: __x != 0 143 return __popcnt(__x); 148 return __popcnt(__x); [all …]
|
| H A D | complex | 755 return __x.real() == __y && __x.imag() == 0; 1023 return complex<_Tp>(log(abs(__x)), arg(__x)); 1047 …return complex<_Tp>(__x.real(), __libcpp_isnan_or_builtin(__x.imag()) ? __x.imag() : copysign(_Tp(… 1048 …return complex<_Tp>(__libcpp_isnan_or_builtin(__x.imag()) ? __x.imag() : _Tp(0), copysign(__x.real… 1133 return complex<_Tp>((__x.real() - __x.imag()) * (__x.real() + __x.imag()), 1245 return complex<_Tp>(sinh(__x.real()) * cos(__x.imag()), cosh(__x.real()) * sin(__x.imag())); 1258 if (__x.real() == 0 && __x.imag() == 0) 1262 return complex<_Tp>(cosh(__x.real()) * cos(__x.imag()), sinh(__x.real()) * sin(__x.imag())); 1317 return complex<_Tp>(__pi, signbit(__x.imag()) ? -__x.real() : __x.real()); 1318 return complex<_Tp>(_Tp(0), signbit(__x.imag()) ? __x.real() : -__x.real()); [all …]
|
| /llvm-project-15.0.7/libcxx/include/__charconv/ |
| H A D | chars_format.h | 33 operator~(chars_format __x) { 38 operator&(chars_format __x, chars_format __y) { 44 operator|(chars_format __x, chars_format __y) { 50 operator^(chars_format __x, chars_format __y) { 56 operator&=(chars_format& __x, chars_format __y) { 57 __x = __x & __y; 58 return __x; 63 __x = __x | __y; 64 return __x; 69 __x = __x ^ __y; [all …]
|
| /llvm-project-15.0.7/libcxx/include/__iterator/ |
| H A D | wrap_iter.h | 61 : __i(__x.base()) in __wrap_iter() 73 __i = __x.__i; 190 return !(__x == __y); 204 return __y < __x; 211 return __y < __x; 218 return !(__x < __y); 225 return !(__x < __y); 232 return !(__y < __x); 239 return !(__y < __x); 261 __x += __n; [all …]
|
| H A D | next.h | 34 _VSTD::advance(__x, __n); 35 return __x; 48 constexpr _Ip operator()(_Ip __x) const { in operator() 49 ++__x; in operator() 50 return __x; in operator() 56 ranges::advance(__x, __n); in operator() 57 return __x; in operator() 62 ranges::advance(__x, __bound_sentinel); in operator() 63 return __x; in operator() 68 ranges::advance(__x, __n, __bound_sentinel); in operator() [all …]
|
| H A D | prev.h | 30 prev(_InputIter __x, typename iterator_traits<_InputIter>::difference_type __n = 1) { 33 _VSTD::advance(__x, -__n); 34 return __x; 47 constexpr _Ip operator()(_Ip __x) const { in operator() 48 --__x; in operator() 49 return __x; in operator() 54 constexpr _Ip operator()(_Ip __x, iter_difference_t<_Ip> __n) const { in operator() 55 ranges::advance(__x, -__n); in operator() 56 return __x; in operator() 61 ranges::advance(__x, -__n, __bound_iter); in operator() [all …]
|
| H A D | move_iterator.h | 194 return __x.base() - __y.base(); 230 return __x.base() == __y.base(); 238 return __x.base() != __y.base(); 246 return __x.base() < __y.base(); 253 return __x.base() > __y.base(); 260 return __x.base() <= __y.base(); 267 return __x.base() >= __y.base(); 276 return __x.base() <=> __y.base(); 286 return __x.base() - __y.base(); 294 return __x.base() - __y.base(); [all …]
|
| /llvm-project-15.0.7/clang/test/Headers/Inputs/include/ |
| H A D | complex | 90 complex<_Tp> __t(__x); 98 complex<_Tp> __t(__x); 107 __t += __x; 114 complex<_Tp> __t(__x); 131 __t += __x; 200 __t *= __x; 243 return complex<_Tp>(__x.real() / __y, __x.imag() / __y); 257 return __x; 263 return complex<_Tp>(-__x.real(), -__x.imag()); 269 return __x.real() == __y.real() && __x.imag() == __y.imag(); [all …]
|
| H A D | cstdlib | 6 extern int abs (int __x) throw() __attribute__ ((__const__)) ; 7 extern long int labs (long int __x) throw() __attribute__ ((__const__)) ; 9 extern int abs (int __x) __attribute__ ((__const__)) ; 10 extern long int labs (long int __x) __attribute__ ((__const__)) ; 22 abs(long long __x) { return __builtin_llabs (__x); } 24 float fabs(float __x) { return __builtin_fabs(__x); } 26 float abs(float __x) { return fabs(__x); } 27 double abs(double __x) { return fabs(__x); }
|
| /llvm-project-15.0.7/libcxx/include/__random/ |
| H A D | subtract_with_carry_engine.h | 262 return _VSTD::equal(__x.__x_, __x.__x_ + _Rp, __y.__x_); 266 if (!_VSTD::equal(__x.__x_ + __x.__i_, __x.__x_ + __x.__i_ + __j, 270 return _VSTD::equal(__x.__x_ + __j, __x.__x_ + _Rp, __y.__x_); 271 return _VSTD::equal(__x.__x_, __x.__x_ + (_Rp - __j), __y.__x_ + __j); 276 if (!_VSTD::equal(__x.__x_ + __x.__i_, __x.__x_ + (__x.__i_ + __j), 279 if (!_VSTD::equal(__x.__x_ + (__x.__i_ + __j), __x.__x_ + _Rp, 282 return _VSTD::equal(__x.__x_, __x.__x_ + __x.__i_, 287 __x.__x_ + __x.__i_)) 303 return !(__x == __y); 317 __os << __x.__x_[__x.__i_]; [all …]
|
| H A D | lognormal_distribution.h | 56 {return !(__x == __y);} 124 {return __x.__p_ == __y.__p_;} 128 {return !(__x == __y);} 149 return __os << __x.__p_.__nd_; 158 return __is >> __x.__p_.__nd_; 188 {return __x.__m_ == __y.__m_ && __x.__s_ == __y.__s_;} 191 {return !(__x == __y);} 256 {return __x.__nd_ == __y.__nd_;} 260 {return !(__x == __y);} 281 return __os << __x.__nd_; [all …]
|
| H A D | gamma_distribution.h | 54 {return __x.__alpha_ == __y.__alpha_ && __x.__beta_ == __y.__beta_;} 57 {return !(__x == __y);} 109 {return __x.__p_ == __y.__p_;} 113 {return !(__x == __y);} 125 result_type __x; in operator() local 127 __x = __egen(__g); in operator() 141 __x = __b + __y; in operator() 142 if (__x >= 0) in operator() 162 if (__x <= __es) in operator() 174 return __x * __p.beta(); in operator() [all …]
|
| H A D | normal_distribution.h | 53 {return __x.__mean_ == __y.__mean_ && __x.__stddev_ == __y.__stddev_;} 56 {return !(__x == __y);} 110 {return __x.__p_ == __y.__p_ && __x._V_hot_ == __y._V_hot_ && 111 (!__x._V_hot_ || __x._V_ == __y._V_);} 115 {return !(__x == __y);} 173 __os << __x.mean() << __sp << __x.stddev() << __sp << __x._V_hot_; 174 if (__x._V_hot_) 175 __os << __sp << __x._V_; 182 normal_distribution<_RT>& __x) 200 __x._V_hot_ = _V_hot; [all …]
|
| H A D | linear_congruential_engine.h | 63 __x += __c - (__x >= __m - __c) * __m; 64 return __x; 81 return __x; 103 return __a * __x + __c; 125 __x += __c - (__x >= __m - __c) * __m; 126 return __x; 145 return __x; 172 return __a * __x + __c; 282 {return !(__x == __y);} 370 return __os << __x.__x_; [all …]
|
| /llvm-project-15.0.7/libcxx/src/include/ryu/ |
| H A D | d2s_intrinsics.h | 167 return __umulh(__x, 0xCCCCCCCCCCCCCCCDu) >> 2; in __div5() 171 return __umulh(__x, 0xCCCCCCCCCCCCCCCDu) >> 3; in __div10() 179 return __umulh(__x, 0xABCC77118461CEFDu) >> 26; in __div1e8() 183 return __umulh(__x >> 9, 0x44B82FA09B5A53u) >> 11; in __div1e9() 196 return static_cast<uint32_t>(__x) - 1000000000 * static_cast<uint32_t>(__div1e9(__x)); in __mod1e9() 202 return __x / 5; in __div5() 206 return __x / 10; in __div10() 210 return __x / 100; in __div100() 214 return __x / 100000000; in __div1e8() 218 return __x / 1000000000; in __div1e9() [all …]
|
| /llvm-project-15.0.7/libcxx/include/__functional/ |
| H A D | operations.h | 37 {return __x + __y;} in operator() 65 {return __x - __y;} 93 {return __x * __y;} 121 {return __x / __y;} 149 {return __x % __y;} 177 {return -__x;} 207 {return __x & __y;} 231 {return ~__x;} 258 {return __x | __y;} 286 {return __x ^ __y;} [all …]
|