Home
last modified time | relevance | path

Searched refs:atomic_compare_exchange_weak (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/
H A Datomic_compare_exchange_weak.pass.cpp43 assert(std::atomic_compare_exchange_weak(&a, &t, T(3)) == false); in operator ()()
47 ASSERT_NOEXCEPT(std::atomic_compare_exchange_weak(&a, &t, T(3))); in operator ()()
56 assert(std::atomic_compare_exchange_weak(&a, &t, T(3)) == false); in operator ()()
60 ASSERT_NOEXCEPT(std::atomic_compare_exchange_weak(&a, &t, T(3))); in operator ()()
/llvm-project-15.0.7/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
H A Datomic_compare_exchange_weak.pass.cpp33 bool b = std::atomic_compare_exchange_weak(&p, &v, w); in main()
43 bool b = std::atomic_compare_exchange_weak(&p, &v, w); in main()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mutex.h189 if (UNLIKELY(!atomic_compare_exchange_weak(&state_, &state, new_state, in Lock()
217 if (LIKELY(atomic_compare_exchange_weak( in TryLock()
245 } while (UNLIKELY(!atomic_compare_exchange_weak(&state_, &state, new_state, in Unlock()
273 if (UNLIKELY(!atomic_compare_exchange_weak(&state_, &state, new_state, in ReadLock()
304 } while (UNLIKELY(!atomic_compare_exchange_weak(&state_, &state, new_state, in ReadUnlock()
H A Dsanitizer_lfstack.h41 if (atomic_compare_exchange_weak(&head_, &cmp, xch, in Push()
56 if (atomic_compare_exchange_weak(&head_, &cmp, xch, in Pop()
H A Dsanitizer_atomic_clang.h86 inline bool atomic_compare_exchange_weak(volatile T *a, in atomic_compare_exchange_weak() function
H A Dsanitizer_mutex.cpp39 if (atomic_compare_exchange_weak(&state_, &count, count - 1, in Wait()
H A Dsanitizer_stackdepotbase.h97 atomic_compare_exchange_weak(p, &cmp, cmp | kLockMask, in lock()
H A Dsanitizer_atomic_msvc.h247 inline bool atomic_compare_exchange_weak(volatile T *a, in atomic_compare_exchange_weak() function
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/
H A Davailability.mlir13 // CHECK: atomic_compare_exchange_weak
14 func.func @atomic_compare_exchange_weak(%ptr: !spv.ptr<i32, Workgroup>, %value: i32, %comparator: i…
H A Datomic-ops.mlir80 func.func @atomic_compare_exchange_weak(%ptr: !spv.ptr<i32, Workgroup>, %value: i32, %comparator: i…
88 func.func @atomic_compare_exchange_weak(%ptr: !spv.ptr<i32, Workgroup>, %value: i64, %comparator: i…
96 func.func @atomic_compare_exchange_weak(%ptr: !spv.ptr<i32, Workgroup>, %value: i32, %comparator: i…
104 func.func @atomic_compare_exchange_weak(%ptr: !spv.ptr<i64, Workgroup>, %value: i32, %comparator: i…
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/tests/
H A Dsanitizer_atomic_test.cpp128 EXPECT_TRUE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange()
130 EXPECT_FALSE(atomic_compare_exchange_weak((T*)&var, &old_val, new_val, in CheckAtomicCompareExchange()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_dense_alloc.h141 } while (!atomic_compare_exchange_weak(&freelist_, &cmp, xchg, in Refill()
166 } while (!atomic_compare_exchange_weak(&freelist_, &cmp, xchg, in Drain()
/llvm-project-15.0.7/libcxx/test/support/
H A Dcmpxchg_loop.h39 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) { in c_cmpxchg_weak_loop()
/llvm-project-15.0.7/libcxx/include/
H A Dstdatomic.h198 using std::atomic_compare_exchange_weak _LIBCPP_USING_IF_EXISTS;
H A Datomic300 bool atomic_compare_exchange_weak(volatile atomic<T>*, atomic<T>::value_type*,
303 bool atomic_compare_exchange_weak(atomic<T>*, atomic<T>::value_type*,
1983 // atomic_compare_exchange_weak
1988 atomic_compare_exchange_weak(volatile atomic<_Tp>* __o, typename atomic<_Tp>::value_type* __e, type…
1996 atomic_compare_exchange_weak(atomic<_Tp>* __o, typename atomic<_Tp>::value_type* __e, typename atom…
H A Dmemory809 atomic_compare_exchange_weak(shared_ptr<T>* p, shared_ptr<T>* v, shared_ptr<T> w);
/llvm-project-15.0.7/clang/lib/Headers/
H A Dstdatomic.h139 #define atomic_compare_exchange_weak(object, expected, desired) __c11_atomic_compare_exchange_weak(… macro
H A Dopencl-c.h14257 bool __ovld atomic_compare_exchange_weak(volatile atomic_int *, int *, int);
14258 bool __ovld atomic_compare_exchange_weak(volatile atomic_uint *, uint *, uint);
14260 bool __ovld atomic_compare_exchange_weak(volatile atomic_float *, float *, float);
14264 bool __ovld atomic_compare_exchange_weak(volatile atomic_double *, double *, double);
14267 bool __ovld atomic_compare_exchange_weak(volatile atomic_long *, long *, long);
14269 bool __ovld atomic_compare_exchange_weak(volatile atomic_ulong *, ulong *, ulong);
14291 bool __ovld atomic_compare_exchange_weak(volatile __global atomic_int *, __global int *, int);
14292 bool __ovld atomic_compare_exchange_weak(volatile __global atomic_int *, __local int *, int);
14294 bool __ovld atomic_compare_exchange_weak(volatile __local atomic_int *, __global int *, int);
14295 bool __ovld atomic_compare_exchange_weak(volatile __local atomic_int *, __local int *, int);
[all …]
/llvm-project-15.0.7/libcxx/test/std/atomics/stdatomic.h.syn/
H A Dtypes.compile.pass.cpp213 using ::atomic_compare_exchange_weak; in f()
/llvm-project-15.0.7/compiler-rt/lib/scudo/
H A Dscudo_allocator.cpp645 if (!atomic_compare_exchange_weak(&RssLastCheckedAtNS, &LastCheck, in isRssLimitExceeded()
/llvm-project-15.0.7/libcxx/include/__memory/
H A Dshared_ptr.h1885 atomic_compare_exchange_weak(shared_ptr<_Tp>* __p, shared_ptr<_Tp>* __v, shared_ptr<_Tp> __w)
1907 return atomic_compare_exchange_weak(__p, __v, __w);
/llvm-project-15.0.7/clang/test/Sema/
H A Datomic-ops.c285 atomic_compare_exchange_weak(&n, &k, k); in f()
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DCSymbolMap.inc251 SYMBOL(atomic_compare_exchange_weak, None, <stdatomic.h>)
H A DStdSymbolMap.inc102 SYMBOL(atomic_compare_exchange_weak, std::, <atomic>)