/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
H A D | LazyAtomicPointer.h | 58 while (!compare_exchange_weak(Old, Value)) { in exchange() 65 bool compare_exchange_weak(T *&ExistingValue, T *NewValue) { in compare_exchange_weak() function 67 if (Storage.compare_exchange_weak(RawExistingValue, makeRaw(NewValue))) in compare_exchange_weak() 90 if (Storage.compare_exchange_weak(RawExistingValue, makeRaw(NewValue))) in compare_exchange_strong()
|
H A D | Statistic.h | 116 while (V > PrevMax && !Value.compare_exchange_weak( in updateMax()
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | atomic | 88 bool compare_exchange_weak(T& expc, T desr, 90 bool compare_exchange_weak(T& expc, T desr, memory_order s, memory_order f) noexcept; 95 bool compare_exchange_weak(T& expc, T desr, 97 bool compare_exchange_weak(T& expc, T desr, 140 bool compare_exchange_weak(integral& expc, integral desr, 142 bool compare_exchange_weak(integral& expc, integral desr, 148 bool compare_exchange_weak(integral& expc, integral desr, 150 bool compare_exchange_weak(integral& expc, integral desr, 223 bool compare_exchange_weak(T*& expc, T* desr, 225 bool compare_exchange_weak(T*& expc, T* desr, [all …]
|
H A D | semaphore | 120 if (__a_.compare_exchange_weak(__old, __old - 1, memory_order_acquire, memory_order_relaxed))
|
/freebsd/contrib/llvm-project/libcxx/include/__atomic/ |
H A D | atomic_base.h | 70 compare_exchange_weak(_Tp& __e, _Tp __d, memory_order __s, memory_order __f) volatile _NOEXCEPT in compare_exchange_weak() function 74 …_LIBCPP_HIDE_FROM_ABI bool compare_exchange_weak(_Tp& __e, _Tp __d, memory_order __s, memory_order… in compare_exchange_weak() function 88 …compare_exchange_weak(_Tp& __e, _Tp __d, memory_order __m = memory_order_seq_cst) volatile _NOEXCE… 92 compare_exchange_weak(_Tp& __e, _Tp __d, memory_order __m = memory_order_seq_cst) _NOEXCEPT {
|
H A D | atomic_ref.h | 159 …compare_exchange_weak(_Tp& __expected, _Tp __desired, memory_order __success, memory_order __failu… 190 …compare_exchange_weak(_Tp& __expected, _Tp __desired, memory_order __order = memory_order::seq_cst… 325 while (!this->compare_exchange_weak(__old, __new, __order, memory_order_relaxed)) { 333 while (!this->compare_exchange_weak(__old, __new, __order, memory_order_relaxed)) {
|
H A D | atomic.h | 161 while (!__self.compare_exchange_weak(__old, __new, __m, memory_order_relaxed)) { 365 return __o->compare_exchange_weak(*__e, __d); 371 return __o->compare_exchange_weak(*__e, __d); 397 return __o->compare_exchange_weak(*__e, __d, __s, __f); 407 return __o->compare_exchange_weak(*__e, __d, __s, __f);
|
/freebsd/contrib/netbsd-tests/lib/libc/sync/ |
H A D | cpp_atomic_ops_linkable.cc | 53 m_val.compare_exchange_weak(tval, other, in ATest()
|
/freebsd/contrib/llvm-project/libcxx/include/__stop_token/ |
H A D | atomic_unique_lock.h | 112 // at least for now, it is not locked. we can try `compare_exchange_weak` to lock it. in __lock_impl() 117 } while (!__state_.compare_exchange_weak( in __lock_impl()
|
/freebsd/contrib/llvm-project/libcxx/include/__pstl/cpu_algos/ |
H A D | find_if.h | 55 __extremum.compare_exchange_weak(__old, __k); in __parallel_find()
|
/freebsd/contrib/llvm-project/lldb/source/Utility/ |
H A D | Timer.cpp | 55 } while (!g_categories.compare_exchange_weak(expected, this)); in Category()
|
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/ |
H A D | DWARFLinkerCompileUnit.cpp | 1437 if (TypeDescriptor->DeclarationDie.compare_exchange_weak(DeclarationDie, in allocateTypeDie() 1443 if (TypeDescriptor->ParentIsDeclaration.compare_exchange_weak( in allocateTypeDie() 1453 if (TypeDescriptor->DeclarationDie.compare_exchange_weak(DeclarationDie, in allocateTypeDie() 1459 if (TypeDescriptor->Die.compare_exchange_weak(DefinitionDie, NewDie)) { in allocateTypeDie()
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | DebugTypes.cpp | 1046 if (cellPtr->compare_exchange_weak(oldCell, newCell)) in insert()
|