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.c6 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
188 (void)__c11_atomic_load(Ap, memory_order_consume); in memory_checks()
198 …(void)__c11_atomic_store(Ap, val, memory_order_consume); // expected-warning {{memory order argume… in memory_checks()
205 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_consume); in memory_checks()
219 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_consume); in memory_checks()
226 (void)__c11_atomic_fetch_and(Ap, val, memory_order_consume); in memory_checks()
233 (void)__c11_atomic_fetch_or(Ap, val, memory_order_consume); in memory_checks()
240 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_consume); in memory_checks()
247 (void)__c11_atomic_exchange(Ap, val, memory_order_consume); in memory_checks()
254 …(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/atomics/atomics.flag/
Dtest_and_set.pass.cpp37 assert(f.test_and_set(std::memory_order_consume) == 0); in main()
38 assert(f.test_and_set(std::memory_order_consume) == 1); in main()
79 assert(f.test_and_set(std::memory_order_consume) == 0); in main()
80 assert(f.test_and_set(std::memory_order_consume) == 1); in main()
Datomic_flag_test_and_set_explicit.pass.cpp31 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_consume) == 0); in main()
67 assert(atomic_flag_test_and_set_explicit(&f, std::memory_order_consume) == 0); in main()
/external/compiler-rt/lib/sanitizer_common/
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_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.h23 memory_order_consume = 1 << 1, enumerator
Dsanitizer_stackdepotbase.h100 uptr v = atomic_load(p, memory_order_consume); in Put()
145 uptr v = atomic_load(p, memory_order_consume); in Get()
Dsanitizer_stackdepot.cc141 uptr v = atomic_load(p, memory_order_consume); in StackDepotReverseMap()
Dsanitizer_atomic_msvc.h70 DCHECK(mo & (memory_order_relaxed | memory_order_consume in atomic_load()
/external/libcxx/test/atomics/atomics.order/
Dmemory_order.pass.cpp24 assert(std::memory_order_consume == 1); in main()
/external/clang/test/CodeGen/
Datomic-ops-libcall.c4 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
Darm-atomics-m0.c7 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
Darm-atomics.c9 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
Darm-atomics-m.c7 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
Dbig-atomic-ops.c13 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
Datomic-ops.c13 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
/external/compiler-rt/lib/tsan/rtl/
Dtsan_fd.cc77 uptr l1 = atomic_load(pl1, memory_order_consume); in fddesc()
Dtsan_interface_atomic.cc262 case mo_consume: return memory_order_consume; in to_mo()
/external/libcxx/include/
Datomic25 memory_order_consume, // load-consume
544 memory_order_relaxed, memory_order_consume, memory_order_acquire,
/external/llvm/docs/
DAtomics.rst255 used for C++0x/C1x ``memory_order_consume``.