Home
last modified time | relevance | path

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

12

/external/libcxx/test/libcxx/atomics/
Ddiagnose_invalid_memory_order.fail.cpp27 …x.load(std::memory_order_acq_rel); // expected-warning {{memory order argument to atomic operation… in main()
29 …vx.load(std::memory_order_acq_rel); // expected-warning {{memory order argument to atomic operatio… in main()
38 …std::atomic_load_explicit(&x, std::memory_order_acq_rel); // expected-warning {{memory order argum… in main()
40 …std::atomic_load_explicit(&vx, std::memory_order_acq_rel); // expected-warning {{memory order argu… in main()
51 …x.store(42, std::memory_order_acq_rel); // expected-warning {{memory order argument to atomic oper… in main()
54 …vx.store(42, std::memory_order_acq_rel); // expected-warning {{memory order argument to atomic ope… in main()
63 …std::atomic_store_explicit(&x, 42, std::memory_order_acq_rel); // expected-warning {{memory order … in main()
66 …std::atomic_store_explicit(&vx, 42, std::memory_order_acq_rel); // expected-warning {{memory order… in main()
75 …x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acq_rel); // expe… in main()
77 …vx.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_acq_rel); // exp… in main()
[all …]
/external/clang/test/Sema/
Datomic-ops.c252 k = atomic_fetch_and_explicit(&n, k, memory_order_acq_rel); in f()
285 …(void)__c11_atomic_load(Ap, memory_order_acq_rel); // expected-warning {{memory order argument to … in memory_checks()
295 …(void)__c11_atomic_store(Ap, val, memory_order_acq_rel); // expected-warning {{memory order argume… in memory_checks()
302 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_acq_rel); in memory_checks()
320 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_acq_rel); in memory_checks()
327 (void)__c11_atomic_fetch_and(Ap, val, memory_order_acq_rel); in memory_checks()
334 (void)__c11_atomic_fetch_or(Ap, val, memory_order_acq_rel); in memory_checks()
341 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_acq_rel); in memory_checks()
348 (void)__c11_atomic_exchange(Ap, val, memory_order_acq_rel); in memory_checks()
355 …(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-m0.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
Datomic-arm64.c9 memory_order_acq_rel = 4, enumerator
Datomics-inlining.c19 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
/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/skia/include/private/
DSkWeakRefCnt.h132 if (1 == fWeakCnt.fetch_add(-1, std::memory_order_acq_rel)) { in weak_unref()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorDeviceThreadPool.h38 unsigned int v = state_.fetch_sub(2, std::memory_order_acq_rel) - 2; in Notify()
50 unsigned int v = state_.fetch_or(1, std::memory_order_acq_rel); in Wait()
/external/spirv-llvm/test/SPIRV/transcoding/
DAtomicCompareExchangeExplicit_cl20.ll12 ;; memory_order_acq_rel, // 3
21 ;; memory_order_acq_rel, // 3
/external/clang/test/Analysis/
Datomics.c13 memory_order_acq_rel = __ATOMIC_ACQ_REL, enumerator
/external/libcxx/src/experimental/
Dmemory_resource.cpp101 &__res, new_res, memory_order::memory_order_acq_rel); in __default_memory_resource()
/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()
/external/skia/include/core/
DSkRefCnt.h84 if (1 == fRefCnt.fetch_add(-1, std::memory_order_acq_rel)) { in unref()
222 if (1 == fRefCnt.fetch_add(-1, std::memory_order_acq_rel)) { in unref()
/external/clang/lib/Headers/
Dstdatomic.h66 memory_order_acq_rel = __ATOMIC_ACQ_REL, enumerator
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DIntrusiveRefCntPtr.h108 int NewRefCount = RefCount.fetch_sub(1, std::memory_order_acq_rel) - 1; in Release()

12