| /llvm-project-15.0.7/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
| H A D | atomic_compare_exchange_weak.pass.cpp | 43 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 D | atomic_compare_exchange_weak.pass.cpp | 33 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 D | sanitizer_mutex.h | 189 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 D | sanitizer_lfstack.h | 41 if (atomic_compare_exchange_weak(&head_, &cmp, xch, in Push() 56 if (atomic_compare_exchange_weak(&head_, &cmp, xch, in Pop()
|
| H A D | sanitizer_atomic_clang.h | 86 inline bool atomic_compare_exchange_weak(volatile T *a, in atomic_compare_exchange_weak() function
|
| H A D | sanitizer_mutex.cpp | 39 if (atomic_compare_exchange_weak(&state_, &count, count - 1, in Wait()
|
| H A D | sanitizer_stackdepotbase.h | 97 atomic_compare_exchange_weak(p, &cmp, cmp | kLockMask, in lock()
|
| H A D | sanitizer_atomic_msvc.h | 247 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 D | availability.mlir | 13 // CHECK: atomic_compare_exchange_weak 14 func.func @atomic_compare_exchange_weak(%ptr: !spv.ptr<i32, Workgroup>, %value: i32, %comparator: i…
|
| H A D | atomic-ops.mlir | 80 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 D | sanitizer_atomic_test.cpp | 128 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 D | tsan_dense_alloc.h | 141 } 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 D | cmpxchg_loop.h | 39 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) { in c_cmpxchg_weak_loop()
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | stdatomic.h | 198 using std::atomic_compare_exchange_weak _LIBCPP_USING_IF_EXISTS;
|
| H A D | atomic | 300 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 D | memory | 809 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 D | stdatomic.h | 139 #define atomic_compare_exchange_weak(object, expected, desired) __c11_atomic_compare_exchange_weak(… macro
|
| H A D | opencl-c.h | 14257 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 D | types.compile.pass.cpp | 213 using ::atomic_compare_exchange_weak; in f()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/ |
| H A D | scudo_allocator.cpp | 645 if (!atomic_compare_exchange_weak(&RssLastCheckedAtNS, &LastCheck, in isRssLimitExceeded()
|
| /llvm-project-15.0.7/libcxx/include/__memory/ |
| H A D | shared_ptr.h | 1885 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 D | atomic-ops.c | 285 atomic_compare_exchange_weak(&n, &k, k); in f()
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/ |
| H A D | CSymbolMap.inc | 251 SYMBOL(atomic_compare_exchange_weak, None, <stdatomic.h>)
|
| H A D | StdSymbolMap.inc | 102 SYMBOL(atomic_compare_exchange_weak, std::, <atomic>)
|