Home
last modified time | relevance | path

Searched refs:__x (Results 1 – 25 of 216) sorted by relevance

123456789

/external/clang/lib/Headers/
Dtgmath.h56 #define __tg_promote1(__x) (__typeof__(__tg_promote(__x))) argument
57 #define __tg_promote2(__x, __y) (__typeof__(__tg_promote(__x) + \ argument
59 #define __tg_promote3(__x, __y, __z) (__typeof__(__tg_promote(__x) + \ argument
67 __tg_acos(float __x) {return acosf(__x);} in __tg_acos() argument
71 __tg_acos(double __x) {return acos(__x);} in __tg_acos() argument
75 __tg_acos(long double __x) {return acosl(__x);} in __tg_acos() argument
79 __tg_acos(float _Complex __x) {return cacosf(__x);} in __tg_acos() argument
83 __tg_acos(double _Complex __x) {return cacos(__x);} in __tg_acos() argument
87 __tg_acos(long double _Complex __x) {return cacosl(__x);} in __tg_acos() argument
90 #define acos(__x) __tg_acos(__tg_promote1((__x))(__x)) argument
[all …]
D__clang_cuda_cmath.h49 __DEVICE__ float abs(float __x) { return ::fabsf(__x); } in abs() argument
50 __DEVICE__ double abs(double __x) { return ::fabs(__x); } in abs() argument
51 __DEVICE__ float acos(float __x) { return ::acosf(__x); } in acos() argument
52 __DEVICE__ float asin(float __x) { return ::asinf(__x); } in asin() argument
53 __DEVICE__ float atan(float __x) { return ::atanf(__x); } in atan() argument
54 __DEVICE__ float atan2(float __x, float __y) { return ::atan2f(__x, __y); } in atan2() argument
55 __DEVICE__ float ceil(float __x) { return ::ceilf(__x); } in ceil() argument
56 __DEVICE__ float cos(float __x) { return ::cosf(__x); } in cos() argument
57 __DEVICE__ float cosh(float __x) { return ::coshf(__x); } in cosh() argument
58 __DEVICE__ float exp(float __x) { return ::expf(__x); } in exp() argument
[all …]
Dadxintrin.h36 _addcarryx_u32(unsigned char __cf, unsigned int __x, unsigned int __y, in _addcarryx_u32() argument
39 return __builtin_ia32_addcarryx_u32(__cf, __x, __y, __p); in _addcarryx_u32()
44 _addcarryx_u64(unsigned char __cf, unsigned long long __x, in _addcarryx_u64() argument
47 return __builtin_ia32_addcarryx_u64(__cf, __x, __y, __p); in _addcarryx_u64()
53 _addcarry_u32(unsigned char __cf, unsigned int __x, unsigned int __y, in _addcarry_u32() argument
56 return __builtin_ia32_addcarry_u32(__cf, __x, __y, __p); in _addcarry_u32()
61 _addcarry_u64(unsigned char __cf, unsigned long long __x, in _addcarry_u64() argument
64 return __builtin_ia32_addcarry_u64(__cf, __x, __y, __p); in _addcarry_u64()
69 _subborrow_u32(unsigned char __cf, unsigned int __x, unsigned int __y, in _subborrow_u32() argument
72 return __builtin_ia32_subborrow_u32(__cf, __x, __y, __p); in _subborrow_u32()
[all …]
/external/llvm-project/clang/lib/Headers/
Dtgmath.h49 #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 …]
D__clang_hip_math.h133 int abs(int __x) {
134 int __sgn = __x >> (sizeof(int) * CHAR_BIT - 1);
135 return (__x ^ __sgn) - __sgn;
138 long labs(long __x) {
139 long __sgn = __x >> (sizeof(long) * CHAR_BIT - 1);
140 return (__x ^ __sgn) - __sgn;
143 long long llabs(long long __x) {
144 long long __sgn = __x >> (sizeof(long long) * CHAR_BIT - 1);
145 return (__x ^ __sgn) - __sgn;
150 float acosf(float __x) { return __ocml_acos_f32(__x); }
[all …]
D__clang_cuda_cmath.h43 __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 …]
D__clang_hip_cmath.h30 __DEVICE__ double abs(double __x) { return ::fabs(__x); } in abs() argument
31 __DEVICE__ float abs(float __x) { return ::fabsf(__x); } in abs() argument
34 __DEVICE__ float fma(float __x, float __y, float __z) { in fma() argument
35 return ::fmaf(__x, __y, __z); in fma()
37 __DEVICE__ int fpclassify(float __x) { in fpclassify() argument
39 FP_ZERO, __x); in fpclassify()
41 __DEVICE__ int fpclassify(double __x) { in fpclassify() argument
43 FP_ZERO, __x); in fpclassify()
48 __DEVICE__ bool isfinite(float __x) { return ::__finitef(__x); } in isfinite() argument
49 __DEVICE__ bool isfinite(double __x) { return ::__finite(__x); } in isfinite() argument
[all …]
Dadxintrin.h22 _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()
55 _subborrow_u32(unsigned char __cf, unsigned int __x, unsigned int __y, in _subborrow_u32() argument
58 return __builtin_ia32_subborrow_u32(__cf, __x, __y, __p); in _subborrow_u32()
[all …]
/external/llvm-project/clang/lib/Headers/openmp_wrappers/
Dcomplex_cmath.h97 _Tp __x = __rho * cos(__theta);
98 if (std::isnan(__x))
99 __x = 0;
103 return std::complex<_Tp>(__x, __y);
108 template <class _Tp> std::complex<_Tp> log(const std::complex<_Tp> &__x) { in log() argument
109 return std::complex<_Tp>(log(abs(__x)), arg(__x)); in log()
114 template <class _Tp> std::complex<_Tp> log10(const std::complex<_Tp> &__x) { in log10() argument
115 return log(__x) / log(_Tp(10)); in log10()
121 __DEVICE__ std::complex<_Tp> sqrt(const std::complex<_Tp> &__x) { in sqrt() argument
122 if (std::isinf(__x.imag())) in sqrt()
[all …]
Dcmath43 __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); }
50 __DEVICE__ float expm1(float __x) { return ::expm1f(__x); }
51 __DEVICE__ float fdim(float __x, float __y) { return ::fdimf(__x, __y); }
52 __DEVICE__ float hypot(float __x, float __y) { return ::hypotf(__x, __y); }
[all …]
/external/libcxx/include/
Dbit42 int __ctz(unsigned __x) { return __builtin_ctz(__x); }
45 int __ctz(unsigned long __x) { return __builtin_ctzl(__x); }
48 int __ctz(unsigned long long __x) { return __builtin_ctzll(__x); }
52 int __clz(unsigned __x) { return __builtin_clz(__x); }
55 int __clz(unsigned long __x) { return __builtin_clzl(__x); }
58 int __clz(unsigned long long __x) { return __builtin_clzll(__x); }
62 int __popcount(unsigned __x) { return __builtin_popcount(__x); }
65 int __popcount(unsigned long __x) { return __builtin_popcountl(__x); }
68 int __popcount(unsigned long long __x) { return __builtin_popcountll(__x); }
72 // Precondition: __x != 0
[all …]
Dcomplex259 template<class _Tp> complex<_Tp> operator/(const complex<_Tp>& __x, const complex<_Tp>& __y);
532 operator+(const complex<_Tp>& __x, const complex<_Tp>& __y)
534 complex<_Tp> __t(__x);
542 operator+(const complex<_Tp>& __x, const _Tp& __y)
544 complex<_Tp> __t(__x);
552 operator+(const _Tp& __x, const complex<_Tp>& __y)
555 __t += __x;
562 operator-(const complex<_Tp>& __x, const complex<_Tp>& __y)
564 complex<_Tp> __t(__x);
572 operator-(const complex<_Tp>& __x, const _Tp& __y)
[all …]
D__tree68 // Returns: true if __x is a left child of its parent, else false
69 // Precondition: __x != nullptr.
73 __tree_is_left_child(_NodePtr __x) _NOEXCEPT
75 return __x == __x->__parent_->__left_;
78 // Determines if the subtree rooted at __x is a proper red black subtree. If
79 // __x is a proper subtree, returns the black height (null counts as 1). If
80 // __x is an improper subtree, returns 0.
83 __tree_sub_invariant(_NodePtr __x)
85 if (__x == nullptr)
88 // check __x->__left_ consistency
[all …]
Dstdlib.h111 inline _LIBCPP_INLINE_VISIBILITY long abs( long __x) _NOEXCEPT {return labs(__x);} in abs() argument
113 inline _LIBCPP_INLINE_VISIBILITY long long abs(long long __x) _NOEXCEPT {return llabs(__x);} in abs() argument
116 …line _LIBCPP_INLINE_VISIBILITY ldiv_t div( long __x, long __y) _NOEXCEPT {return ldiv(_… in div() argument
118 …line _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x, long long __y) _NOEXCEPT {return lldiv(_… in div() argument
Diomanip70 operator>>(basic_istream<_CharT, _Traits>& __is, const __iom_t1& __x)
72 __is.unsetf(__x.__mask_);
80 operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t1& __x)
82 __os.unsetf(__x.__mask_);
107 operator>>(basic_istream<_CharT, _Traits>& __is, const __iom_t2& __x)
109 __is.setf(__x.__mask_);
117 operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t2& __x)
119 __os.setf(__x.__mask_);
144 operator>>(basic_istream<_CharT, _Traits>& __is, const __iom_t3& __x)
146 __is.setf(__x.__base_ == 8 ? ios_base::oct :
[all …]
/external/llvm-project/libcxx/include/
Dcomplex254 template<class _Tp> complex<_Tp> operator/(const complex<_Tp>& __x, const complex<_Tp>& __y);
527 operator+(const complex<_Tp>& __x, const complex<_Tp>& __y)
529 complex<_Tp> __t(__x);
537 operator+(const complex<_Tp>& __x, const _Tp& __y)
539 complex<_Tp> __t(__x);
547 operator+(const _Tp& __x, const complex<_Tp>& __y)
550 __t += __x;
557 operator-(const complex<_Tp>& __x, const complex<_Tp>& __y)
559 complex<_Tp> __t(__x);
567 operator-(const complex<_Tp>& __x, const _Tp& __y)
[all …]
D__tree74 // Returns: true if __x is a left child of its parent, else false
75 // Precondition: __x != nullptr.
79 __tree_is_left_child(_NodePtr __x) _NOEXCEPT
81 return __x == __x->__parent_->__left_;
84 // Determines if the subtree rooted at __x is a proper red black subtree. If
85 // __x is a proper subtree, returns the black height (null counts as 1). If
86 // __x is an improper subtree, returns 0.
89 __tree_sub_invariant(_NodePtr __x)
91 if (__x == nullptr)
94 // check __x->__left_ consistency
[all …]
Dbit82 int __libcpp_ctz(unsigned __x) _NOEXCEPT { return __builtin_ctz(__x); }
85 int __libcpp_ctz(unsigned long __x) _NOEXCEPT { return __builtin_ctzl(__x); }
88 int __libcpp_ctz(unsigned long long __x) _NOEXCEPT { return __builtin_ctzll(__x); }
92 int __libcpp_clz(unsigned __x) _NOEXCEPT { return __builtin_clz(__x); }
95 int __libcpp_clz(unsigned long __x) _NOEXCEPT { return __builtin_clzl(__x); }
98 int __libcpp_clz(unsigned long long __x) _NOEXCEPT { return __builtin_clzll(__x); }
102 int __libcpp_popcount(unsigned __x) _NOEXCEPT { return __builtin_popcount(__x); }
105 int __libcpp_popcount(unsigned long __x) _NOEXCEPT { return __builtin_popcountl(__x); }
108 int __libcpp_popcount(unsigned long long __x) _NOEXCEPT { return __builtin_popcountll(__x); }
112 // Precondition: __x != 0
[all …]
/external/llvm-project/clang/test/Headers/Inputs/include/
Dcomplex89 operator+(const complex<_Tp> &__x, const complex<_Tp> &__y) {
90 complex<_Tp> __t(__x);
97 operator+(const complex<_Tp> &__x, const _Tp &__y) {
98 complex<_Tp> __t(__x);
105 operator+(const _Tp &__x, const complex<_Tp> &__y) {
107 __t += __x;
113 operator-(const complex<_Tp> &__x, const complex<_Tp> &__y) {
114 complex<_Tp> __t(__x);
121 operator-(const complex<_Tp> &__x, const _Tp &__y) {
122 complex<_Tp> __t(__x);
[all …]
Dcstdlib6 extern int abs (int __x) throw() __attribute__ ((__const__)) ;
7 extern long int labs (long int __x) throw() __attribute__ ((__const__)) ;
8 extern float fabs (float __x) throw() __attribute__ ((__const__)) ;
10 extern int abs (int __x) __attribute__ ((__const__)) ;
11 extern long int labs (long int __x) __attribute__ ((__const__)) ;
12 extern float fabs (float __x) __attribute__ ((__const__)) ;
24 abs(long long __x) { return __builtin_llabs (__x); }
26 float fabs(float __x) { return __builtin_fabs(__x); }
28 float abs(float __x) { return fabs(__x); }
29 double abs(double __x) { return fabs(__x); }
/external/clang/test/CodeGen/
Dadc-builtins.c7 unsigned char test_addcarry_u32(unsigned char __cf, unsigned int __x, in test_addcarry_u32() argument
11 return _addcarry_u32(__cf, __x, __y, __p); in test_addcarry_u32()
14 unsigned char test_addcarry_u64(unsigned char __cf, unsigned long long __x, in test_addcarry_u64() argument
19 return _addcarry_u64(__cf, __x, __y, __p); in test_addcarry_u64()
22 unsigned char test_subborrow_u32(unsigned char __cf, unsigned int __x, in test_subborrow_u32() argument
26 return _subborrow_u32(__cf, __x, __y, __p); in test_subborrow_u32()
29 unsigned char test_subborrow_u64(unsigned char __cf, unsigned long long __x, in test_subborrow_u64() argument
34 return _subborrow_u64(__cf, __x, __y, __p); in test_subborrow_u64()
/external/llvm-project/clang/test/CodeGen/X86/
Dadc-builtins.c5 unsigned char test_addcarry_u32(unsigned char __cf, unsigned int __x, in test_addcarry_u32() argument
12 return _addcarry_u32(__cf, __x, __y, __p); in test_addcarry_u32()
15 unsigned char test_addcarry_u64(unsigned char __cf, unsigned long long __x, in test_addcarry_u64() argument
23 return _addcarry_u64(__cf, __x, __y, __p); in test_addcarry_u64()
26 unsigned char test_subborrow_u32(unsigned char __cf, unsigned int __x, in test_subborrow_u32() argument
33 return _subborrow_u32(__cf, __x, __y, __p); in test_subborrow_u32()
36 unsigned char test_subborrow_u64(unsigned char __cf, unsigned long long __x, in test_subborrow_u64() argument
44 return _subborrow_u64(__cf, __x, __y, __p); in test_subborrow_u64()
/external/llvm-project/clang/test/OpenMP/
Damdgcn_device_function_call.cpp9 extern "C" float cosf(float __x);
13 extern "C" float cosf(float __x);
15 void test_amdgcn_openmp_device(float __x) { in test_amdgcn_openmp_device() argument
19 __x = cosf(__x); in test_amdgcn_openmp_device()
25 __x = cosf(__x); in test_amdgcn_openmp_device()
/external/clang/www/
Dlibstdc++4.4-clang0x.patch115 - swap(vector&& __x)
117 swap(vector& __x)
120 std::swap(this->_M_impl._M_start, __x._M_impl._M_start);
121 std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish);
130 - swap(deque&& __x)
132 swap(deque& __x)
135 std::swap(this->_M_impl._M_start, __x._M_impl._M_start);
136 std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish);
157 - swap(list&& __x)
159 swap(list& __x)
[all …]
/external/llvm-project/clang/www/
Dlibstdc++4.4-clang0x.patch115 - swap(vector&& __x)
117 swap(vector& __x)
120 std::swap(this->_M_impl._M_start, __x._M_impl._M_start);
121 std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish);
130 - swap(deque&& __x)
132 swap(deque& __x)
135 std::swap(this->_M_impl._M_start, __x._M_impl._M_start);
136 std::swap(this->_M_impl._M_finish, __x._M_impl._M_finish);
157 - swap(list&& __x)
159 swap(list& __x)
[all …]

123456789