/openbsd/gnu/llvm/compiler-rt/lib/xray/ |
H A D | xray_profiling.cpp | 90 memory_order_acq_rel)) { in getThreadLocalData() 139 if (atomic_compare_exchange_strong(&TLD.FCT, &FCT, 1, memory_order_acq_rel)) { in getThreadLocalData() 155 auto FCT = atomic_exchange(&TLD.FCT, 0, memory_order_acq_rel); in cleanupTLD() 160 auto Allocators = atomic_exchange(&TLD.Allocators, 0, memory_order_acq_rel); in cleanupTLD() 172 uptr P = atomic_exchange(&T.FCT, 0, memory_order_acq_rel); in postCurrentThreadFCT() 180 uptr A = atomic_exchange(&T.Allocators, 0, memory_order_acq_rel); in postCurrentThreadFCT() 227 memory_order_acq_rel); in profilingFlush() 361 memory_order_acq_rel)) { in profilingLoggingInit() 431 if (atomic_exchange(&ThreadExitingLatch, 1, memory_order_acq_rel)) in profilingLoggingInit() 457 if (atomic_exchange(&ThreadExitingLatch, 1, memory_order_acq_rel)) in profilingLoggingInit()
|
H A D | xray_fdr_log_writer.h | 88 atomic_fetch_add(Buffer.Extents, sizeof(T), memory_order_acq_rel); 118 atomic_fetch_add(Buffer.Extents, Size, memory_order_acq_rel); 163 memory_order_acq_rel); 188 memory_order_acq_rel); 210 atomic_fetch_add(Buffer.Extents, EventSize, memory_order_acq_rel); 224 atomic_fetch_sub(Buffer.Extents, B, memory_order_acq_rel);
|
H A D | xray_buffer_queue.cpp | 46 if (atomic_fetch_sub(&C->RefCount, 1, memory_order_acq_rel) == 1) in decRefCount() 53 atomic_fetch_add(&C->RefCount, 1, memory_order_acq_rel); in incRefCount() 111 atomic_fetch_add(&Generation, 1, memory_order_acq_rel); in init() 219 if (atomic_exchange(&Finalizing, 1, memory_order_acq_rel)) in finalize()
|
H A D | xray_recursion_guard.h | 39 : Running(R), Valid(!atomic_exchange(&R, 1, memory_order_acq_rel)) {} in RecursionGuard()
|
H A D | xray_interface.cpp | 216 &XRayPatching, &NotPatching, true, memory_order_acq_rel)) in patchFunction() 267 &XRayPatching, &NotPatching, true, memory_order_acq_rel)) in controlPatching() 458 &TypeEventDescriptorCounter, 1, memory_order_acq_rel); in __xray_register_event_type()
|
H A D | xray_basic_logging.cpp | 377 memory_order_acq_rel)) { in basicLoggingInit() 445 memory_order_acq_rel) && in basicLoggingFinalize()
|
/openbsd/gnu/llvm/libcxx/src/ |
H A D | barrier.cpp | 57 …ent].__tickets[__round].__phase.compare_exchange_strong(expect, __full_step, memory_order_acq_rel)) in __arrive() 60 …ent].__tickets[__round].__phase.compare_exchange_strong(expect, __half_step, memory_order_acq_rel)) in __arrive() 66 …ent].__tickets[__round].__phase.compare_exchange_strong(expect, __full_step, memory_order_acq_rel)) in __arrive()
|
H A D | memory_resource.cpp | 99 return std::atomic_exchange_explicit(&__res, new_res, memory_order_acq_rel); in __default_memory_resource()
|
/openbsd/gnu/llvm/compiler-rt/lib/xray/tests/unit/ |
H A D | buffer_queue_test.cpp | 185 Counter.fetch_add(1, std::memory_order_acq_rel); in TEST() 192 Counter.fetch_sub(1, std::memory_order_acq_rel); in TEST() 201 Counter.fetch_add(1, std::memory_order_acq_rel); in TEST() 207 Counter.fetch_sub(1, std::memory_order_acq_rel); in TEST()
|
/openbsd/gnu/llvm/compiler-rt/lib/scudo/standalone/ |
H A D | atomic_helpers.h | 21 memory_order_acq_rel = 4, enumerator 28 static_assert(memory_order_acq_rel == __ATOMIC_ACQ_REL, "");
|
/openbsd/gnu/llvm/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_dense_alloc.h | 142 memory_order_acq_rel)); in Refill() 167 memory_order_acq_rel)); in Drain()
|
H A D | tsan_fd.cpp | 71 if (atomic_fetch_sub(&s->rc, 1, memory_order_acq_rel) == 1) { in unref() 91 if (atomic_compare_exchange_strong(pl1, &l1, (uptr)p, memory_order_acq_rel)) in fddesc()
|
H A D | tsan_interface_atomic.cpp | 204 case mo_acq_rel: return memory_order_acq_rel; in to_mo()
|
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_atomic.h | 25 memory_order_acq_rel = 1 << 4, enumerator
|
H A D | sanitizer_atomic_clang.h | 65 if (mo & (memory_order_release | memory_order_acq_rel | memory_order_seq_cst)) in atomic_exchange()
|
/openbsd/gnu/llvm/libcxx/src/experimental/ |
H A D | memory_resource.cpp | 107 &__res, new_res, memory_order_acq_rel); in __default_memory_resource()
|
/openbsd/gnu/llvm/libcxx/include/ |
H A D | barrier | 201 auto const __result = __arrived.fetch_sub(update, memory_order_acq_rel) - update; 258 auto const __old = __phase_arrived_expected.fetch_add(__inc, memory_order_acq_rel);
|
H A D | stdatomic.h | 140 using std::memory_order_acq_rel _LIBCPP_USING_IF_EXISTS;
|
H A D | atomic | 42 inline constexpr auto memory_order_acq_rel = memory_order::acq_rel; 560 __m == memory_order_acq_rel, \ 565 __m == memory_order_acq_rel, \ 570 __f == memory_order_acq_rel, \ 604 inline constexpr auto memory_order_acq_rel = memory_order::acq_rel; 614 memory_order_acq_rel = __mo_acq_rel, 673 (__order == memory_order_acq_rel ? __ATOMIC_ACQ_REL: 683 (__order == memory_order_acq_rel ? __ATOMIC_ACQUIRE: 980 (__order == memory_order_acq_rel ? memory_order_acquire:
|
/openbsd/gnu/llvm/clang/lib/Headers/ |
H A D | stdatomic.h | 65 memory_order_acq_rel = __ATOMIC_ACQ_REL, enumerator
|
H A D | opencl-c-base.h | 422 memory_order_acq_rel = __ATOMIC_ACQ_REL, enumerator
|
/openbsd/gnu/llvm/llvm/tools/llvm-exegesis/lib/X86/ |
H A D | X86Counter.cpp | 243 std::atomic_thread_fence(std::memory_order_acq_rel); in doReadCounter()
|
/openbsd/gnu/llvm/llvm/include/llvm/ADT/ |
H A D | IntrusiveRefCntPtr.h | 130 int NewRefCount = RefCount.fetch_sub(1, std::memory_order_acq_rel) - 1; in Release()
|
/openbsd/gnu/llvm/compiler-rt/lib/tsan/dd/ |
H A D | dd_interceptors.cpp | 170 memory_order_acq_rel)) in init_cond()
|
/openbsd/gnu/llvm/libcxx/docs/DesignDocs/ |
H A D | AtomicDesign.rst | 32 // memory_order_acq_rel == 4 703 memory_order_acq_rel
|