Home
last modified time | relevance | path

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

/external/clang/test/Sema/
Datomic-ops.c243 k = atomic_fetch_and_explicit(&n, k, memory_order_acq_rel); in f()
276 …(void)__c11_atomic_load(Ap, memory_order_acq_rel); // expected-warning {{memory order argument to … in memory_checks()
286 …(void)__c11_atomic_store(Ap, val, memory_order_acq_rel); // expected-warning {{memory order argume… in memory_checks()
293 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_acq_rel); in memory_checks()
311 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_acq_rel); in memory_checks()
318 (void)__c11_atomic_fetch_and(Ap, val, memory_order_acq_rel); in memory_checks()
325 (void)__c11_atomic_fetch_or(Ap, val, memory_order_acq_rel); in memory_checks()
332 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_acq_rel); in memory_checks()
339 (void)__c11_atomic_exchange(Ap, val, memory_order_acq_rel); in memory_checks()
346 …(void)__c11_atomic_compare_exchange_strong(Ap, p, val, memory_order_acq_rel, memory_order_relaxed); in memory_checks()
[all …]
/external/libcxx/test/std/atomics/atomics.general/
Dreplace_failure_order.pass.cpp32 i.compare_exchange_weak(exp, 0, std::memory_order_acq_rel); in main()
34 i.compare_exchange_strong(exp, 0, std::memory_order_acq_rel); in main()
37 v.compare_exchange_weak(exp, 0, std::memory_order_acq_rel); in main()
39 v.compare_exchange_strong(exp, 0, std::memory_order_acq_rel); in main()
/external/libcxx/test/std/atomics/atomics.flag/
Dtest_and_set.pass.cpp57 assert(f.test_and_set(std::memory_order_acq_rel) == 0); in main()
58 assert(f.test_and_set(std::memory_order_acq_rel) == 1); in main()
99 assert(f.test_and_set(std::memory_order_acq_rel) == 0); in main()
100 assert(f.test_and_set(std::memory_order_acq_rel) == 1); in main()
Datomic_flag_test_and_set_explicit.pass.cpp51 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_acq_rel) == 0); in main()
87 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_acq_rel) == 0); in main()
/external/libcxx/test/std/atomics/atomics.order/
Dmemory_order.pass.cpp29 assert(std::memory_order_acq_rel == 4); in main()
/external/clang/test/CodeGen/
Darm-atomics-m.c8 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator
Darm-atomics.c10 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator
Darm-atomics-m0.c8 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator
Datomic-arm64.c9 memory_order_acq_rel = 4, enumerator
Datomics-inlining.c18 memory_order_acq_rel, enumerator
Datomic-ops-libcall.c5 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator
Dbig-atomic-ops.c14 memory_order_release, memory_order_acq_rel, memory_order_seq_cst enumerator
Datomic-ops.c450 __atomic_compare_exchange(ptr2, ptr2, ptr2, 0, memory_order_acq_rel, *ptr2); in failureOrder()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_atomic.h26 memory_order_acq_rel = 1 << 4, enumerator
Dsanitizer_atomic_clang.h66 if (mo & (memory_order_release | memory_order_acq_rel | memory_order_seq_cst)) in atomic_exchange()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_platform_mac.cc57 memory_order_acq_rel)) { in SignalSafeGetOrAllocate()
Dtsan_fd.cc65 if (atomic_fetch_sub(&s->rc, 1, memory_order_acq_rel) == 1) { in unref()
85 if (atomic_compare_exchange_strong(pl1, &l1, (uptr)p, memory_order_acq_rel)) in fddesc()
Dtsan_interface_atomic.cc226 case mo_acq_rel: return memory_order_acq_rel; in to_mo()
Dtsan_interceptors.cc1063 memory_order_acq_rel)) in init_cond()
/external/clang/lib/Headers/
Dstdatomic.h66 memory_order_acq_rel = __ATOMIC_ACQ_REL, enumerator
/external/compiler-rt/lib/tsan/dd/
Ddd_interceptors.cc173 memory_order_acq_rel)) in init_cond()
/external/libcxx/include/
Datomic28 memory_order_acq_rel, // store-release load-acquire
549 memory_order_release, memory_order_acq_rel, memory_order_seq_cst
583 (__order == memory_order_acq_rel ? __ATOMIC_ACQ_REL:
593 (__order == memory_order_acq_rel ? __ATOMIC_ACQUIRE:
/external/llvm/docs/
DAtomics.rst313 This corresponds to the C++11/C11 ``memory_order_acq_rel``.
DLangRef.rst1977 address. This corresponds to the C++0x/C1x ``memory_order_acq_rel``.