| /llvm-project-15.0.7/libcxx/src/include/ |
| H A D | atomic_support.h | 59 __atomic_store_n(__dest, __val, __order); 66 __atomic_store_n(__dest, __val, _AO_Relaxed); in __libcpp_relaxed_store() 74 return __atomic_load_n(__val, __order); 82 return __atomic_add_fetch(__val, __a, __order); 120 *__dest = __val; 127 *__dest = __val; 135 return *__val; 143 return *__val += __a; 162 if (*__val == *__expected) { 163 *__val = __after; [all …]
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | __clang_cuda_intrinsics.h | 25 inline __device__ int __FnName(int __val, __Type __offset, \ 27 return __IntIntrinsic(__val, __offset, \ 30 inline __device__ float __FnName(float __val, __Type __offset, \ 32 return __FloatIntrinsic(__val, __offset, \ 35 inline __device__ unsigned int __FnName(unsigned int __val, __Type __offset, \ 38 ::__FnName(static_cast<int>(__val), __offset, __width)); \ 40 inline __device__ long long __FnName(long long __val, __Type __offset, \ 48 memcpy(&__tmp, &__val, sizeof(__val)); \ 81 memcpy(&__tmp, &__val, sizeof(__val)); \ 132 memcpy(&__tmp, &__val, sizeof(__val)); \ [all …]
|
| H A D | pkuintrin.h | 27 _wrpkru(unsigned int __val) in _wrpkru() argument 29 __builtin_ia32_wrpkru(__val); in _wrpkru()
|
| /llvm-project-15.0.7/libcxx/include/__bit/ |
| H A D | byteswap.h | 27 _LIBCPP_HIDE_FROM_ABI constexpr _Tp byteswap(_Tp __val) noexcept { in byteswap() argument 30 return __val; in byteswap() 32 return __builtin_bswap16(__val); in byteswap() 34 return __builtin_bswap32(__val); in byteswap() 36 return __builtin_bswap64(__val); in byteswap() 40 return __builtin_bswap128(__val); in byteswap() 42 return static_cast<_Tp>(byteswap(static_cast<uint64_t>(__val))) << 64 | in byteswap() 43 static_cast<_Tp>(byteswap(static_cast<uint64_t>(__val >> 64))); in byteswap()
|
| /llvm-project-15.0.7/libcxx/include/__numeric/ |
| H A D | adjacent_difference.h | 34 typename iterator_traits<_InputIterator>::value_type __val(*__first); in adjacent_difference() 36 *__result = __val - _VSTD::move(__acc); in adjacent_difference() 38 *__result = __val - __acc; in adjacent_difference() 40 __acc = _VSTD::move(__val); in adjacent_difference() 58 typename iterator_traits<_InputIterator>::value_type __val(*__first); in adjacent_difference() 60 *__result = __binary_op(__val, _VSTD::move(__acc)); in adjacent_difference() 62 *__result = __binary_op(__val, __acc); in adjacent_difference() 64 __acc = _VSTD::move(__val); in adjacent_difference()
|
| H A D | midpoint.h | 58 constexpr int __sign(_Tp __val) { in __sign() argument 59 return (_Tp(0) < __val) - (__val < _Tp(0)); in __sign()
|
| /llvm-project-15.0.7/libcxx/include/__utility/ |
| H A D | to_underlying.h | 25 __to_underlying(_Tp __val) noexcept { in __to_underlying() argument 26 return static_cast<typename underlying_type<_Tp>::type>(__val); in __to_underlying() 33 to_underlying(_Tp __val) noexcept { in to_underlying() argument 34 return _VSTD::__to_underlying(__val); in to_underlying()
|
| /llvm-project-15.0.7/pstl/include/pstl/internal/ |
| H A D | glue_memory_impl.h | 179 [&__value](_ReferenceType __val) in uninitialized_fill() 180 … { ::new (std::addressof(__val)) _ValueType(__value); }); in uninitialized_fill() 208 … [&__value](_ReferenceType __val) { ::new (std::addressof(__val)) _ValueType(__value); }); in uninitialized_fill_n() 228 [](_ReferenceType __val) { __val.~_ValueType(); }); in destroy() 247 … [](_ReferenceType __val) { __val.~_ValueType(); }); in destroy_n() 267 … [](_ReferenceType __val) { ::new (std::addressof(__val)) _ValueType; }); in uninitialized_default_construct() 286 [](_ReferenceType __val) { ::new (std::addressof(__val)) _ValueType; }); in uninitialized_default_construct_n() 315 [](_ReferenceType __val) in uninitialized_value_construct() 316 { ::new (std::addressof(__val)) _ValueType(); }); in uninitialized_value_construct() 344 [](_ReferenceType __val) { ::new (std::addressof(__val)) _ValueType(); }); in uninitialized_value_construct_n()
|
| /llvm-project-15.0.7/libcxx/src/ |
| H A D | atomic.cpp | 40 __cxx_contention_t __val) in __libcpp_platform_wait_on_address() argument 43 syscall(SYS_futex, __ptr, FUTEX_WAIT_PRIVATE, __val, &__timeout, 0, 0); in __libcpp_platform_wait_on_address() 62 __cxx_contention_t __val) 65 const_cast<__cxx_atomic_contention_t*>(__ptr), __val, 0); 80 __cxx_contention_t __val) 83 … return !__cxx_nonatomic_compare_equal(__cxx_atomic_load(__ptr, memory_order_relaxed), __val);
|
| /llvm-project-15.0.7/libcxx/include/__algorithm/ |
| H A D | ranges_replace.h | 46 auto __pred = [&](const auto& __val) { return __val == __old_value; }; 58 auto __pred = [&](auto&& __val) { return __val == __old_value; };
|
| H A D | ranges_remove_copy.h | 50 auto __pred = [&](auto&& __val) { return __value == __val; }; 59 auto __pred = [&](auto&& __val) { return __value == __val; };
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | builtin-constant-p.c | 108 uintptr_t __val; \ 111 .__val = (uintptr_t)_r_a_p__v \ 114 __u.__val; \
|
| H A D | linux-arm-atomic.c | 7 _Atomic_word exchange_and_add(volatile _Atomic_word *__mem, int __val) { in exchange_and_add() argument 8 return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); in exchange_and_add()
|
| /llvm-project-15.0.7/libcxx/include/__chrono/ |
| H A D | weekday.h | 39 …ine explicit constexpr weekday(unsigned __val) noexcept : __wd(static_cast<unsigned char>(__val ==… in weekday() argument 150 _LIBCPP_HIDE_FROM_ABI explicit constexpr weekday_last(const chrono::weekday& __val) noexcept in weekday_last() argument 151 : __wd{__val} {} in weekday_last()
|
| H A D | day.h | 33 …_FROM_ABI explicit inline constexpr day(unsigned __val) noexcept : __d(static_cast<unsigned char>(… in day() argument
|
| H A D | month.h | 32 …ROM_ABI explicit inline constexpr month(unsigned __val) noexcept : __m(static_cast<unsigned char>(… in month() argument
|
| H A D | year.h | 36 …CPP_HIDE_FROM_ABI explicit inline constexpr year(int __val) noexcept : __y(static_cast<short>(__va… in year() argument
|
| /llvm-project-15.0.7/libcxx/include/__functional/ |
| H A D | hash.h | 102 static _Size __rotate(_Size __val, int __shift) { 103 return __shift == 0 ? __val : ((__val >> __shift) | (__val << (64 - __shift))); 106 static _Size __rotate_by_at_least_1(_Size __val, int __shift) { 107 return (__val >> __shift) | (__val << (64 - __shift)); 110 static _Size __shift_mix(_Size __val) { 111 return __val ^ (__val >> 47);
|
| H A D | boyer_moore_searcher.h | 61 _LIBCPP_HIDE_FROM_ABI void insert(const key_type& __key, value_type __val) { in insert() argument 62 __table_[__key] = __val; in insert() 90 _LIBCPP_HIDE_FROM_ABI void insert(key_type __key, value_type __val) { in insert() argument 91 __table_[static_cast<unsigned_key_type>(__key)] = __val; in insert()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | type_traits | 734 int __convert_to_integral(int __val) { return __val; } 737 unsigned __convert_to_integral(unsigned __val) { return __val; } 740 long __convert_to_integral(long __val) { return __val; } 743 unsigned long __convert_to_integral(unsigned long __val) { return __val; } 746 long long __convert_to_integral(long long __val) { return __val; } 749 unsigned long long __convert_to_integral(unsigned long long __val) {return __val; } 754 __convert_to_integral(_Fp __val) { return __val; } 758 __int128_t __convert_to_integral(__int128_t __val) { return __val; } 761 __uint128_t __convert_to_integral(__uint128_t __val) { return __val; } 767 __convert_to_integral(_Tp __val) { return __val; }
|
| H A D | system_error | 254 error_condition(int __val, const error_category& __cat) _NOEXCEPT 255 : __val_(__val), __cat_(&__cat) {} 265 void assign(int __val, const error_category& __cat) _NOEXCEPT 267 __val_ = __val; 325 error_code(int __val, const error_category& __cat) _NOEXCEPT 326 : __val_(__val), __cat_(&__cat) {} 336 void assign(int __val, const error_category& __cat) _NOEXCEPT 338 __val_ = __val;
|
| H A D | atomic | 632 __a_value = __val; 685 __cxx_atomic_assign_volatile(__a->__a_value, __val); 691 __a->__a_value = __val; 708 __atomic_store(&__a->__a_value, &__val, 716 __atomic_store(&__a->__a_value, &__val, 929 __c11_atomic_init(&__a->__a_value, __val); 934 __c11_atomic_init(&__a->__a_value, __val); 1169 __cxx_atomic_assign_volatile(__a->__a_value, __val); 1174 __a->__a_value = __val; 1188 __a->__a_value = __val; [all …]
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | statements.c | 113 typeof(({ unsigned long __ptr; (int *)(0); })) __val; in test_pr22849() member 115 typeof(({ unsigned long __ptr; (int *)(0); })) __val; in test_pr22849() member
|
| H A D | return.c | 203 extern void longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((noreturn)); 204 extern void _longjmp (struct __jmp_buf_tag __env[1], int __val) __attribute__ ((noreturn));
|
| /llvm-project-15.0.7/libcxx/benchmarks/ |
| H A D | unordered_set_operations.bench.cpp | 27 std::size_t rotate_by_at_least_1(std::size_t __val, int __shift) { in rotate_by_at_least_1() argument 28 return (__val >> __shift) | (__val << (64 - __shift)); in rotate_by_at_least_1()
|