Home
last modified time | relevance | path

Searched refs:memory_order_consume (Results 1 – 23 of 23) sorted by relevance

/external/clang/test/Sema/
Datomic-ops.c244 k = atomic_fetch_or_explicit(&n, k, memory_order_consume); in f()
274 (void)__c11_atomic_load(Ap, memory_order_consume); in memory_checks()
284 …(void)__c11_atomic_store(Ap, val, memory_order_consume); // expected-warning {{memory order argume… in memory_checks()
291 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_consume); in memory_checks()
309 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_consume); in memory_checks()
316 (void)__c11_atomic_fetch_and(Ap, val, memory_order_consume); in memory_checks()
323 (void)__c11_atomic_fetch_or(Ap, val, memory_order_consume); in memory_checks()
330 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_consume); in memory_checks()
337 (void)__c11_atomic_exchange(Ap, val, memory_order_consume); in memory_checks()
344 …(void)__c11_atomic_compare_exchange_strong(Ap, p, val, memory_order_consume, memory_order_relaxed); in memory_checks()
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_atomic_test.cc56 CheckStoreLoad<atomic_uint8_t, memory_order_consume, memory_order_relaxed>(); in TEST()
62 CheckStoreLoad<atomic_uint16_t, memory_order_consume, memory_order_relaxed>(); in TEST()
68 CheckStoreLoad<atomic_uint32_t, memory_order_consume, memory_order_relaxed>(); in TEST()
74 CheckStoreLoad<atomic_uint64_t, memory_order_consume, memory_order_relaxed>(); in TEST()
81 CheckStoreLoad<atomic_uintptr_t, memory_order_consume, memory_order_relaxed> in TEST()
/external/libcxx/test/std/atomics/atomics.flag/
Dtest_and_set.pass.cpp39 assert(f.test_and_set(std::memory_order_consume) == 0); in main()
40 assert(f.test_and_set(std::memory_order_consume) == 1); in main()
81 assert(f.test_and_set(std::memory_order_consume) == 0); in main()
82 assert(f.test_and_set(std::memory_order_consume) == 1); in main()
Datomic_flag_test_and_set_explicit.pass.cpp33 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_consume) == 0); in main()
69 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_consume) == 0); in main()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_atomic_clang_other.h27 DCHECK(mo & (memory_order_relaxed | memory_order_consume in atomic_load()
36 } else if (mo == memory_order_consume) { in atomic_load()
Dsanitizer_atomic_clang_x86.h30 DCHECK(mo & (memory_order_relaxed | memory_order_consume in atomic_load()
39 } else if (mo == memory_order_consume) { in atomic_load()
Dsanitizer_stackdepotbase.h104 uptr v = atomic_load(p, memory_order_consume); in Put()
149 uptr v = atomic_load(p, memory_order_consume); in Get()
Dsanitizer_atomic.h23 memory_order_consume = 1 << 1, enumerator
Dsanitizer_stackdepot.cc142 uptr v = atomic_load(p, memory_order_consume); in StackDepotReverseMap()
Dsanitizer_atomic_msvc.h79 DCHECK(mo & (memory_order_relaxed | memory_order_consume in atomic_load()
/external/libcxx/test/std/atomics/atomics.order/
Dmemory_order.pass.cpp26 assert(std::memory_order_consume == 1); in main()
/external/clang/test/CodeGen/
Darm-atomics-m0.c7 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
Darm-atomics-m.c7 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
Darm-atomics.c9 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
Datomic-arm64.c6 memory_order_consume = 1, enumerator
Datomics-inlining.c15 memory_order_consume, enumerator
Datomic-ops-libcall.c4 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
Dbig-atomic-ops.c13 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
/external/clang/lib/Headers/
Dstdatomic.h63 memory_order_consume = __ATOMIC_CONSUME, enumerator
/external/compiler-rt/lib/tsan/rtl/
Dtsan_fd.cc78 uptr l1 = atomic_load(pl1, memory_order_consume); in fddesc()
Dtsan_interface_atomic.cc223 case mo_consume: return memory_order_consume; in to_mo()
/external/libcxx/include/
Datomic25 memory_order_consume, // load-consume
548 memory_order_relaxed, memory_order_consume, memory_order_acquire,
/external/llvm/docs/
DAtomics.rst258 used for C++11/C11 ``memory_order_consume``.