Home
last modified time | relevance | path

Searched refs:memory_order_acq_rel (Results 1 – 25 of 31) sorted by relevance

12

/openbsd/gnu/llvm/compiler-rt/lib/xray/
H A Dxray_profiling.cpp90 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 Dxray_fdr_log_writer.h88 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 Dxray_buffer_queue.cpp46 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 Dxray_recursion_guard.h39 : Running(R), Valid(!atomic_exchange(&R, 1, memory_order_acq_rel)) {} in RecursionGuard()
H A Dxray_interface.cpp216 &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 Dxray_basic_logging.cpp377 memory_order_acq_rel)) { in basicLoggingInit()
445 memory_order_acq_rel) && in basicLoggingFinalize()
/openbsd/gnu/llvm/libcxx/src/
H A Dbarrier.cpp57 …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 Dmemory_resource.cpp99 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 Dbuffer_queue_test.cpp185 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 Datomic_helpers.h21 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 Dtsan_dense_alloc.h142 memory_order_acq_rel)); in Refill()
167 memory_order_acq_rel)); in Drain()
H A Dtsan_fd.cpp71 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 Dtsan_interface_atomic.cpp204 case mo_acq_rel: return memory_order_acq_rel; in to_mo()
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_atomic.h25 memory_order_acq_rel = 1 << 4, enumerator
H A Dsanitizer_atomic_clang.h65 if (mo & (memory_order_release | memory_order_acq_rel | memory_order_seq_cst)) in atomic_exchange()
/openbsd/gnu/llvm/libcxx/src/experimental/
H A Dmemory_resource.cpp107 &__res, new_res, memory_order_acq_rel); in __default_memory_resource()
/openbsd/gnu/llvm/libcxx/include/
H A Dbarrier201 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 Dstdatomic.h140 using std::memory_order_acq_rel _LIBCPP_USING_IF_EXISTS;
H A Datomic42 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 Dstdatomic.h65 memory_order_acq_rel = __ATOMIC_ACQ_REL, enumerator
H A Dopencl-c-base.h422 memory_order_acq_rel = __ATOMIC_ACQ_REL, enumerator
/openbsd/gnu/llvm/llvm/tools/llvm-exegesis/lib/X86/
H A DX86Counter.cpp243 std::atomic_thread_fence(std::memory_order_acq_rel); in doReadCounter()
/openbsd/gnu/llvm/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h130 int NewRefCount = RefCount.fetch_sub(1, std::memory_order_acq_rel) - 1; in Release()
/openbsd/gnu/llvm/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp170 memory_order_acq_rel)) in init_cond()
/openbsd/gnu/llvm/libcxx/docs/DesignDocs/
H A DAtomicDesign.rst32 // memory_order_acq_rel == 4
703 memory_order_acq_rel

12