/external/clang/test/Sema/ |
D | atomic-ops.c | 253 k = atomic_fetch_or_explicit(&n, k, memory_order_consume); in f() 283 (void)__c11_atomic_load(Ap, memory_order_consume); in memory_checks() 293 …(void)__c11_atomic_store(Ap, val, memory_order_consume); // expected-warning {{memory order argume… in memory_checks() 300 (void)__c11_atomic_fetch_add(Ap, 1, memory_order_consume); in memory_checks() 318 (void)__c11_atomic_fetch_sub(Ap, val, memory_order_consume); in memory_checks() 325 (void)__c11_atomic_fetch_and(Ap, val, memory_order_consume); in memory_checks() 332 (void)__c11_atomic_fetch_or(Ap, val, memory_order_consume); in memory_checks() 339 (void)__c11_atomic_fetch_xor(Ap, val, memory_order_consume); in memory_checks() 346 (void)__c11_atomic_exchange(Ap, val, memory_order_consume); in memory_checks() 353 …(void)__c11_atomic_compare_exchange_strong(Ap, p, val, memory_order_consume, memory_order_relaxed); in memory_checks() [all …]
|
/external/libcxx/test/libcxx/atomics/ |
D | diagnose_invalid_memory_order.fail.cpp | 32 x.load(std::memory_order_consume); in main() 43 std::atomic_load_explicit(&x, std::memory_order_consume); in main() 49 …x.store(42, std::memory_order_consume); // expected-warning {{memory order argument to atomic oper… in main() 52 …vx.store(42, std::memory_order_consume); // expected-warning {{memory order argument to atomic ope… in main() 61 …std::atomic_store_explicit(&x, 42, std::memory_order_consume); // expected-warning {{memory order … in main() 64 …std::atomic_store_explicit(&vx, 42, std::memory_order_consume); // expected-warning {{memory order… in main() 80 x.compare_exchange_weak(val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in main() 94 …pare_exchange_weak_explicit(&x, &val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in main() 106 x.compare_exchange_strong(val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in main() 120 …re_exchange_strong_explicit(&x, &val1, val2, std::memory_order_seq_cst, std::memory_order_consume); in main()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_atomic_test.cc | 56 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/ |
D | test_and_set.pass.cpp | 39 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()
|
D | atomic_flag_test_and_set_explicit.pass.cpp | 33 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/ |
D | sanitizer_atomic_clang_x86.h | 30 DCHECK(mo & (memory_order_relaxed | memory_order_consume in atomic_load() 39 } else if (mo == memory_order_consume) { in atomic_load()
|
D | sanitizer_atomic_clang_other.h | 27 DCHECK(mo & (memory_order_relaxed | memory_order_consume in atomic_load() 36 } else if (mo == memory_order_consume) { in atomic_load()
|
D | sanitizer_stackdepotbase.h | 104 uptr v = atomic_load(p, memory_order_consume); in Put() 149 uptr v = atomic_load(p, memory_order_consume); in Get()
|
D | sanitizer_atomic.h | 23 memory_order_consume = 1 << 1, enumerator
|
D | sanitizer_stackdepot.cc | 142 uptr v = atomic_load(p, memory_order_consume); in StackDepotReverseMap()
|
D | sanitizer_atomic_msvc.h | 83 DCHECK(mo & (memory_order_relaxed | memory_order_consume in atomic_load()
|
/external/libcxx/test/std/atomics/atomics.order/ |
D | memory_order.pass.cpp | 26 assert(std::memory_order_consume == 1); in main()
|
/external/clang/test/CodeGen/ |
D | arm-atomics-m.c | 7 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
|
D | arm-atomics-m0.c | 7 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
|
D | arm-atomics.c | 9 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
|
D | atomic-arm64.c | 6 memory_order_consume = 1, enumerator
|
D | atomics-inlining.c | 16 memory_order_consume, enumerator
|
D | atomic-ops-libcall.c | 4 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
|
D | big-atomic-ops.c | 13 memory_order_relaxed, memory_order_consume, memory_order_acquire, enumerator
|
/external/clang/test/Analysis/ |
D | atomics.c | 10 memory_order_consume = __ATOMIC_CONSUME, enumerator
|
/external/clang/lib/Headers/ |
D | stdatomic.h | 63 memory_order_consume = __ATOMIC_CONSUME, enumerator
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_fd.cc | 78 uptr l1 = atomic_load(pl1, memory_order_consume); in fddesc()
|
D | tsan_interface_atomic.cc | 200 case mo_consume: return memory_order_consume; in to_mo()
|
/external/libcxx/include/ |
D | atomic | 29 memory_order_consume, // load-consume 564 _LIBCPP_DIAGNOSE_WARNING(__m == memory_order_consume || \ 583 memory_order_relaxed, memory_order_consume, memory_order_acquire,
|
/external/llvm/docs/ |
D | Atomics.rst | 254 used for C++11/C11 ``memory_order_consume``.
|