Home
last modified time | relevance | path

Searched refs:compare_exchange_weak (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DLazyAtomicPointer.h58 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 DStatistic.h116 while (V > PrevMax && !Value.compare_exchange_weak( in updateMax()
/freebsd/contrib/llvm-project/libcxx/include/
H A Datomic88 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 Dsemaphore120 if (__a_.compare_exchange_weak(__old, __old - 1, memory_order_acquire, memory_order_relaxed))
/freebsd/contrib/llvm-project/libcxx/include/__atomic/
H A Datomic_base.h70 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
88compare_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 Datomic_ref.h159compare_exchange_weak(_Tp& __expected, _Tp __desired, memory_order __success, memory_order __failu…
190compare_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 Datomic.h161 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 Dcpp_atomic_ops_linkable.cc53 m_val.compare_exchange_weak(tval, other, in ATest()
/freebsd/contrib/llvm-project/libcxx/include/__stop_token/
H A Datomic_unique_lock.h112 // 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 Dfind_if.h55 __extremum.compare_exchange_weak(__old, __k); in __parallel_find()
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DTimer.cpp55 } while (!g_categories.compare_exchange_weak(expected, this)); in Category()
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Parallel/
H A DDWARFLinkerCompileUnit.cpp1437 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 DDebugTypes.cpp1046 if (cellPtr->compare_exchange_weak(oldCell, newCell)) in insert()