| /llvm-project-15.0.7/libcxx/test/std/atomics/atomics.types.operations/atomics.types.operations.req/ |
| H A D | atomic_fetch_sub.pass.cpp | 32 assert(std::atomic_fetch_sub(&t, T(2)) == T(3)); in operator ()() 34 ASSERT_NOEXCEPT(std::atomic_fetch_sub(&t, 0)); in operator ()() 39 assert(std::atomic_fetch_sub(&t, T(2)) == T(3)); in operator ()() 41 ASSERT_NOEXCEPT(std::atomic_fetch_sub(&t, 0)); in operator ()() 54 assert(std::atomic_fetch_sub(&t, 2) == &a[2]); in testp() 55 std::atomic_fetch_sub<T>(&t, 0); in testp() 57 ASSERT_NOEXCEPT(std::atomic_fetch_sub(&t, 0)); in testp() 64 assert(std::atomic_fetch_sub(&t, 2) == &a[2]); in testp() 65 std::atomic_fetch_sub<T>(&t, 0); in testp() 67 ASSERT_NOEXCEPT(std::atomic_fetch_sub(&t, 0)); in testp()
|
| /llvm-project-15.0.7/libcxx/test/libcxx/atomics/atomics.types.operations/atomics.types.operations.req/ |
| H A D | atomic_fetch_sub.verify.cpp | 22 std::atomic_fetch_sub(&obj, 0); in void_pointer() 27 std::atomic_fetch_sub(&obj, 0); in void_pointer() 37 std::atomic_fetch_sub(&obj, 0); in pointer_to_incomplete_type() 42 std::atomic_fetch_sub(&obj, 0); in pointer_to_incomplete_type() 50 std::atomic_fetch_sub(&fun, 0); in function_pointer() 55 std::atomic_fetch_sub(&fun, 0); in function_pointer() 67 std::atomic_fetch_sub(&fun, 0); in member_function_pointer() 72 std::atomic_fetch_sub(&fun, 0); in member_function_pointer()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_atomic_msvc.h | 126 inline u32 atomic_fetch_sub(volatile atomic_uint32_t *a, in atomic_fetch_sub() function 134 inline uptr atomic_fetch_sub(volatile atomic_uintptr_t *a, in atomic_fetch_sub() function
|
| H A D | sanitizer_atomic_clang.h | 54 inline typename T::Type atomic_fetch_sub(volatile T *a, in atomic_fetch_sub() function
|
| H A D | sanitizer_atomic_clang_mips.h | 58 inline atomic_uint64_t::Type atomic_fetch_sub(volatile atomic_uint64_t *ptr, in atomic_fetch_sub() function
|
| H A D | sanitizer_tls_get_addr.cpp | 49 atomic_fetch_sub(&number_of_live_dtls, 1, memory_order_relaxed); in DTLS_Deallocate()
|
| H A D | sanitizer_common.cpp | 205 atomic_fetch_sub(&g_total_mmaped, size, memory_order_relaxed); in DecreaseTotalMmap()
|
| H A D | sanitizer_stack_store.cpp | 101 atomic_fetch_sub(&allocated_, size, memory_order_relaxed); in Unmap()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/ |
| H A D | linux.cpp | 123 if (atomic_fetch_sub(&M, 1U, memory_order_release) != Locked) { in unlock()
|
| H A D | atomic_helpers.h | 86 inline typename T::Type atomic_fetch_sub(volatile T *A, typename T::Type V, in atomic_fetch_sub() function
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | stdatomic.h | 208 using std::atomic_fetch_sub _LIBCPP_USING_IF_EXISTS;
|
| H A D | atomic | 339 T atomic_fetch_sub(volatile atomic<T>*, atomic<T>::difference_type) noexcept; 341 T atomic_fetch_sub(atomic<T>*, atomic<T>::difference_type) noexcept; 2170 // atomic_fetch_sub 2174 _Tp atomic_fetch_sub(volatile atomic<_Tp>* __o, typename atomic<_Tp>::difference_type __op) _NOEXCE… 2181 _Tp atomic_fetch_sub(atomic<_Tp>* __o, typename atomic<_Tp>::difference_type __op) _NOEXCEPT
|
| /llvm-project-15.0.7/clang/lib/Headers/ |
| H A D | stdatomic.h | 145 #define atomic_fetch_sub(object, operand) __c11_atomic_fetch_sub(object, operand, __ATOMIC_SEQ_CST) macro
|
| H A D | opencl-c.h | 13291 int __ovld atomic_fetch_sub(volatile atomic_int *, int); 13292 uint __ovld atomic_fetch_sub(volatile atomic_uint *, uint); 13306 long __ovld atomic_fetch_sub(volatile atomic_long *, long); 13307 ulong __ovld atomic_fetch_sub(volatile atomic_ulong *, ulong); 13327 int __ovld atomic_fetch_sub(volatile __global atomic_int *, int); 13328 int __ovld atomic_fetch_sub(volatile __local atomic_int *, int); 13330 uint __ovld atomic_fetch_sub(volatile __local atomic_uint *, uint); 13359 long __ovld atomic_fetch_sub(volatile __local atomic_long *, long); 13856 half __ovld atomic_fetch_sub(volatile atomic_half *, half); 13897 float __ovld atomic_fetch_sub(volatile atomic_float *, float); [all …]
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | pr37025.ll | 13 ; if (atomic_fetch_sub(obj, 1) == 1 && obj2)
|
| /llvm-project-15.0.7/compiler-rt/lib/xray/ |
| H A D | xray_buffer_queue.cpp | 46 if (atomic_fetch_sub(&C->RefCount, 1, memory_order_acq_rel) == 1) in decRefCount()
|
| H A D | xray_fdr_log_writer.h | 224 atomic_fetch_sub(Buffer.Extents, B, memory_order_acq_rel);
|
| /llvm-project-15.0.7/libcxx/test/std/atomics/stdatomic.h.syn/ |
| H A D | types.compile.pass.cpp | 223 using ::atomic_fetch_sub; in f()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_fd.cpp | 64 if (atomic_fetch_sub(&s->rc, 1, memory_order_acq_rel) == 1) { in unref()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_fd.cpp | 70 if (atomic_fetch_sub(&s->rc, 1, memory_order_acq_rel) == 1) { in unref()
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | atomic-ops.c | 291 k = atomic_fetch_sub(&n, k); in f()
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/ |
| H A D | CSymbolMap.inc | 261 SYMBOL(atomic_fetch_sub, None, <stdatomic.h>)
|
| H A D | StdSymbolMap.inc | 112 SYMBOL(atomic_fetch_sub, std::, <atomic>)
|