/external/clang/test/OpenMP/ |
D | atomic_messages.cpp | 6 #pragma omp atomic in foo() 14 #pragma omp atomic in foo() 42 #pragma omp atomic read in read() 46 #pragma omp atomic read in read() 50 #pragma omp atomic read in read() 54 #pragma omp atomic read in read() 58 #pragma omp atomic read in read() 63 #pragma omp atomic read read in read() 74 #pragma omp atomic read in read() 78 #pragma omp atomic read in read() [all …]
|
D | atomic_messages.c | 6 #pragma omp atomic in foo() 14 #pragma omp atomic in foo() 33 #pragma omp atomic read in readint() 37 #pragma omp atomic read in readint() 41 #pragma omp atomic read in readint() 45 #pragma omp atomic read in readint() 49 #pragma omp atomic read in readint() 52 #pragma omp atomic read read in readint() 61 #pragma omp atomic read read in readS() 72 #pragma omp atomic write in writeint() [all …]
|
D | atomic_update_codegen.cpp | 79 #pragma omp atomic in main() 82 #pragma omp atomic update in main() 85 #pragma omp atomic in main() 88 #pragma omp atomic update in main() 104 #pragma omp atomic in main() 117 #pragma omp atomic update in main() 121 #pragma omp atomic in main() 134 #pragma omp atomic update in main() 147 #pragma omp atomic in main() 160 #pragma omp atomic update in main() [all …]
|
D | atomic_read_codegen.c | 80 #pragma omp atomic read in main() 84 #pragma omp atomic read in main() 88 #pragma omp atomic read in main() 92 #pragma omp atomic read in main() 96 #pragma omp atomic read in main() 100 #pragma omp atomic read in main() 104 #pragma omp atomic read in main() 108 #pragma omp atomic read in main() 112 #pragma omp atomic read in main() 116 #pragma omp atomic read in main() [all …]
|
D | atomic_write_codegen.c | 80 #pragma omp atomic write in main() 84 #pragma omp atomic write in main() 88 #pragma omp atomic write in main() 92 #pragma omp atomic write in main() 96 #pragma omp atomic write in main() 100 #pragma omp atomic write in main() 104 #pragma omp atomic write in main() 108 #pragma omp atomic write in main() 112 #pragma omp atomic write in main() 116 #pragma omp atomic write in main() [all …]
|
D | atomic_ast_print.cpp | 13 #pragma omp atomic in foo() 15 #pragma omp atomic read in foo() 17 #pragma omp atomic write in foo() 19 #pragma omp atomic update in foo() 21 #pragma omp atomic capture in foo() 23 #pragma omp atomic capture in foo() 28 #pragma omp atomic seq_cst in foo() 30 #pragma omp atomic read seq_cst in foo() 32 #pragma omp atomic seq_cst write in foo() 34 #pragma omp atomic update seq_cst in foo() [all …]
|
D | atomic_codegen.cpp | 23 #pragma omp atomic read in parallel_atomic_ewc() 30 #pragma omp atomic write in parallel_atomic_ewc() 46 #pragma omp atomic in parallel_atomic_ewc() 57 #pragma omp atomic read in parallel_atomic() 63 #pragma omp atomic write in parallel_atomic() 70 #pragma omp atomic update in parallel_atomic()
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | AtomicLongMap.java | 28 import java.util.concurrent.atomic.AtomicLong; 82 AtomicLong atomic = map.get(key); in get() local 83 return atomic == null ? 0L : atomic.get(); in get() 106 AtomicLong atomic = map.get(key); in addAndGet() local 107 if (atomic == null) { in addAndGet() 108 atomic = map.putIfAbsent(key, new AtomicLong(delta)); in addAndGet() 109 if (atomic == null) { in addAndGet() 116 long oldValue = atomic.get(); in addAndGet() 119 if (map.replace(key, atomic, new AtomicLong(delta))) { in addAndGet() 127 if (atomic.compareAndSet(oldValue, newValue)) { in addAndGet() [all …]
|
/external/libdrm/ |
D | xf86atomic.h | 46 int atomic; member 49 # define atomic_read(x) ((x)->atomic) 50 # define atomic_set(x, val) ((x)->atomic = (val)) 51 # define atomic_inc(x) ((void) __sync_fetch_and_add (&(x)->atomic, 1)) 52 # define atomic_dec_and_test(x) (__sync_fetch_and_add (&(x)->atomic, -1) == 1) 53 # define atomic_add(x, v) ((void) __sync_add_and_fetch(&(x)->atomic, (v))) 54 # define atomic_dec(x, v) ((void) __sync_sub_and_fetch(&(x)->atomic, (v))) 55 # define atomic_cmpxchg(x, oldv, newv) __sync_val_compare_and_swap (&(x)->atomic, oldv, newv) 65 AO_t atomic; member 68 # define atomic_read(x) AO_load_full(&(x)->atomic) [all …]
|
/external/libcxx/test/std/atomics/atomics.types.generic/ |
D | cstdint_typedefs.pass.cpp | 45 …static_assert((std::is_same<std::atomic< std::int_least8_t>, std::atomic_int_least8_t>::value),… in main() 46 …static_assert((std::is_same<std::atomic< std::uint_least8_t>, std::atomic_uint_least8_t>::value),… in main() 47 …static_assert((std::is_same<std::atomic< std::int_least16_t>, std::atomic_int_least16_t>::value),… in main() 48 …static_assert((std::is_same<std::atomic<std::uint_least16_t>, std::atomic_uint_least16_t>::value),… in main() 49 …static_assert((std::is_same<std::atomic< std::int_least32_t>, std::atomic_int_least32_t>::value),… in main() 50 …static_assert((std::is_same<std::atomic<std::uint_least32_t>, std::atomic_uint_least32_t>::value),… in main() 51 …static_assert((std::is_same<std::atomic< std::int_least64_t>, std::atomic_int_least64_t>::value),… in main() 52 …static_assert((std::is_same<std::atomic<std::uint_least64_t>, std::atomic_uint_least64_t>::value),… in main() 54 …static_assert((std::is_same<std::atomic< std::int_fast8_t>, std::atomic_int_fast8_t>::value), "… in main() 55 …static_assert((std::is_same<std::atomic< std::uint_fast8_t>, std::atomic_uint_fast8_t>::value), "… in main() [all …]
|
D | integral_typedefs.pass.cpp | 34 static_assert((std::is_same<std::atomic<char>, std::atomic_char>::value), ""); in main() 35 static_assert((std::is_same<std::atomic<signed char>, std::atomic_schar>::value), ""); in main() 36 static_assert((std::is_same<std::atomic<unsigned char>, std::atomic_uchar>::value), ""); in main() 37 static_assert((std::is_same<std::atomic<short>, std::atomic_short>::value), ""); in main() 38 static_assert((std::is_same<std::atomic<unsigned short>, std::atomic_ushort>::value), ""); in main() 39 static_assert((std::is_same<std::atomic<int>, std::atomic_int>::value), ""); in main() 40 static_assert((std::is_same<std::atomic<unsigned int>, std::atomic_uint>::value), ""); in main() 41 static_assert((std::is_same<std::atomic<long>, std::atomic_long>::value), ""); in main() 42 static_assert((std::is_same<std::atomic<unsigned long>, std::atomic_ulong>::value), ""); in main() 43 static_assert((std::is_same<std::atomic<long long>, std::atomic_llong>::value), ""); in main() [all …]
|
/external/llvm/test/Transforms/DeadStoreElimination/ |
D | atomic.ll | 6 ; Sanity tests for atomic stores. 8 ; atomic ops, just some transformations are not allowed across release-acquire pairs. 21 store atomic i32 0, i32* @y unordered, align 4 29 ; CHECK-NOT: store atomic 31 store atomic i32 0, i32* @x unordered, align 4 36 ; DSE unordered store overwriting non-atomic store (allowed) 39 ; CHECK: store atomic i32 1 41 store atomic i32 1, i32* @x unordered, align 4 45 ; DSE no-op unordered atomic store (allowed) 50 %x = load atomic i32, i32* @x unordered, align 4 [all …]
|
/external/libcxx/include/ |
D | atomic | 2 //===--------------------------- atomic -----------------------------------===// 15 atomic synopsis 90 struct atomic 118 atomic() noexcept = default; 119 constexpr atomic(T desr) noexcept; 120 atomic(const atomic&) = delete; 121 atomic& operator=(const atomic&) = delete; 122 atomic& operator=(const atomic&) volatile = delete; 128 struct atomic<integral> 174 atomic() noexcept = default; [all …]
|
/external/llvm/test/CodeGen/X86/ |
D | atomic_mi.ll | 5 ; This file checks that atomic (non-seq_cst) stores of immediate values are 9 ; Similarily, it checks that a binary operation of an immediate with an atomic 34 store atomic i8 42, i8* %p release, align 1 45 store atomic i16 42, i16* %p monotonic, align 2 59 store atomic i32 42, i32* %p release, align 4 71 store atomic i64 42, i64* %p release, align 8 81 store atomic i64 100000000000, i64* %p monotonic, align 8 91 store atomic i32 42, i32* %p seq_cst, align 4 106 %1 = load atomic i8, i8* %p seq_cst, align 1 108 store atomic i8 %2, i8* %p release, align 1 [all …]
|
/external/llvm/test/Bitcode/ |
D | memInstructions.3.2.ll | 86 ; CHECK: %res1 = load atomic i8, i8* %ptr1 unordered, align 1 87 %res1 = load atomic i8, i8* %ptr1 unordered, align 1 89 ; CHECK-NEXT: %res2 = load atomic i8, i8* %ptr1 monotonic, align 1 90 %res2 = load atomic i8, i8* %ptr1 monotonic, align 1 92 ; CHECK-NEXT: %res3 = load atomic i8, i8* %ptr1 acquire, align 1 93 %res3 = load atomic i8, i8* %ptr1 acquire, align 1 95 ; CHECK-NEXT: %res4 = load atomic i8, i8* %ptr1 seq_cst, align 1 96 %res4 = load atomic i8, i8* %ptr1 seq_cst, align 1 98 ; CHECK-NEXT: %res5 = load atomic volatile i8, i8* %ptr1 unordered, align 1 99 %res5 = load atomic volatile i8, i8* %ptr1 unordered, align 1 [all …]
|
/external/llvm/test/Instrumentation/MemorySanitizer/ |
D | atomics.ll | 76 ; atomic load: preserve alignment, load shadow value after app value 80 %0 = load atomic i32, i32* %p seq_cst, align 16 85 ; CHECK: load atomic i32, i32* {{.*}} seq_cst, align 16 91 ; atomic load: preserve alignment, load shadow value after app value 95 %0 = load atomic i32, i32* %p acquire, align 16 100 ; CHECK: load atomic i32, i32* {{.*}} acquire, align 16 106 ; atomic load monotonic: bump up to load acquire 110 %0 = load atomic i32, i32* %p monotonic, align 16 115 ; CHECK: load atomic i32, i32* {{.*}} acquire, align 16 121 ; atomic load unordered: bump up to load acquire [all …]
|
/external/llvm/test/CodeGen/XCore/ |
D | atomic.ll | 28 %0 = load atomic i32, i32* bitcast (i64* @pool to i32*) acquire, align 4 32 %1 = load atomic i16, i16* bitcast (i64* @pool to i16*) acquire, align 2 36 %2 = load atomic i8, i8* bitcast (i64* @pool to i8*) acquire, align 1 40 %3 = load atomic i32, i32* bitcast (i64* @pool to i32*) seq_cst, align 4 44 %4 = load atomic i16, i16* bitcast (i64* @pool to i16*) seq_cst, align 2 48 %5 = load atomic i8, i8* bitcast (i64* @pool to i8*) seq_cst, align 1 52 store atomic i32 %0, i32* bitcast (i64* @pool to i32*) release, align 4 56 store atomic i16 %1, i16* bitcast (i64* @pool to i16*) release, align 2 60 store atomic i8 %2, i8* bitcast (i64* @pool to i8*) release, align 1 65 store atomic i32 %3, i32* bitcast (i64* @pool to i32*) seq_cst, align 4 [all …]
|
/external/skia/include/ports/ |
D | SkAtomics_std.h | 21 const std::atomic<T>* ap = reinterpret_cast<const std::atomic<T>*>(ptr); in sk_atomic_load() 30 std::atomic<T>* ap = reinterpret_cast<std::atomic<T>*>(ptr); in sk_atomic_store() 37 std::atomic<T>* ap = reinterpret_cast<std::atomic<T>*>(ptr); in sk_atomic_fetch_add() 51 std::atomic<T>* ap = reinterpret_cast<std::atomic<T>*>(ptr); in sk_atomic_compare_exchange() 60 std::atomic<T>* ap = reinterpret_cast<std::atomic<T>*>(ptr); in sk_atomic_exchange()
|
/external/libcxx/test/support/ |
D | cmpxchg_loop.h | 4 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired) { in cmpxchg_weak_loop() argument 6 if (atomic.compare_exchange_weak(expected, desired) == true) { in cmpxchg_weak_loop() 15 bool cmpxchg_weak_loop(A& atomic, T& expected, T desired, in cmpxchg_weak_loop() argument 19 if (atomic.compare_exchange_weak(expected, desired, success, in cmpxchg_weak_loop() 29 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired) { in c_cmpxchg_weak_loop() argument 31 if (std::atomic_compare_exchange_weak(atomic, expected, desired) == true) { in c_cmpxchg_weak_loop() 40 bool c_cmpxchg_weak_loop(A* atomic, T* expected, T desired, in c_cmpxchg_weak_loop() argument 44 if (std::atomic_compare_exchange_weak_explicit(atomic, expected, desired, in c_cmpxchg_weak_loop()
|
/external/llvm/test/Transforms/SLPVectorizer/X86/ |
D | atomics.ll | 7 ; The SLPVectorizer should not vectorize atomic stores and it should not 8 ; schedule regular stores around atomic stores. 12 ; CHECK: store atomic i32 14 ; CHECK: store atomic i32 16 ; CHECK: store atomic i32 18 ; CHECK: store atomic i32 22 …store atomic i32 0, i32* getelementptr inbounds ([4 x i32], [4 x i32]* @x, i64 0, i64 0) release, … 24 …store atomic i32 1, i32* getelementptr inbounds ([4 x i32], [4 x i32]* @x, i64 0, i64 1) release, … 26 …store atomic i32 2, i32* getelementptr inbounds ([4 x i32], [4 x i32]* @x, i64 0, i64 2) release, … 28 …store atomic i32 3, i32* getelementptr inbounds ([4 x i32], [4 x i32]* @x, i64 0, i64 3) release, …
|
/external/llvm/test/CodeGen/AArch64/ |
D | arm64-atomic.ll | 110 %r = load atomic i32, i32* %p seq_cst, align 4 119 %val_unsigned = load atomic i8, i8* %ptr_unsigned monotonic, align 1 123 %val_regoff = load atomic i8, i8* %ptr_regoff unordered, align 1 128 %val_unscaled = load atomic i8, i8* %ptr_unscaled monotonic, align 1 133 %val_random = load atomic i8, i8* %ptr_random unordered, align 1 144 %val_unsigned = load atomic i16, i16* %ptr_unsigned monotonic, align 2 148 %val_regoff = load atomic i16, i16* %ptr_regoff unordered, align 2 153 %val_unscaled = load atomic i16, i16* %ptr_unscaled monotonic, align 2 158 %val_random = load atomic i16, i16* %ptr_random unordered, align 2 169 %val_unsigned = load atomic i32, i32* %ptr_unsigned monotonic, align 4 [all …]
|
/external/llvm/test/Assembler/ |
D | atomic.ll | 3 ; Basic smoke test for atomic operations. 6 ; CHECK: load atomic i32, i32* %x unordered, align 4 7 load atomic i32, i32* %x unordered, align 4 8 ; CHECK: load atomic volatile i32, i32* %x singlethread acquire, align 4 9 load atomic volatile i32, i32* %x singlethread acquire, align 4 10 ; CHECK: store atomic i32 3, i32* %x release, align 4 11 store atomic i32 3, i32* %x release, align 4 12 ; CHECK: store atomic volatile i32 3, i32* %x singlethread monotonic, align 4 13 store atomic volatile i32 3, i32* %x singlethread monotonic, align 4
|
/external/llvm/test/Transforms/LICM/ |
D | atomics.ll | 10 %val = load atomic i32, i32* %y unordered, align 4 18 ; CHECK: load atomic 30 %val = load atomic i32, i32* %y monotonic, align 4 37 ; CHECK: load atomic 50 %vala = load atomic i32, i32* %y monotonic, align 4 51 %valb = load atomic i32, i32* %x unordered, align 4 58 ; CHECK: load atomic i32, i32* %x unordered 69 %vala = load atomic i32, i32* %y monotonic, align 4 70 store atomic i32 %vala, i32* %x unordered, align 4 77 ; CHECK: load atomic i32, i32* %y monotonic [all …]
|
/external/libxml2/result/schemas/ |
D | decimal-1_1_0.err | 1 …l: Schemas validity error : Element 'val': '.' is not a valid value of the atomic type 'myDecimal'. 2 …l: Schemas validity error : Element 'val': '-' is not a valid value of the atomic type 'myDecimal'. 3 …l: Schemas validity error : Element 'val': '+' is not a valid value of the atomic type 'myDecimal'. 4 …l: Schemas validity error : Element 'val': '*' is not a valid value of the atomic type 'myDecimal'. 5 … Schemas validity error : Element 'val': '- 1' is not a valid value of the atomic type 'myDecimal'. 6 … Schemas validity error : Element 'val': '+ 1' is not a valid value of the atomic type 'myDecimal'. 7 … Schemas validity error : Element 'val': '+ 0' is not a valid value of the atomic type 'myDecimal'. 8 … Schemas validity error : Element 'val': '- 0' is not a valid value of the atomic type 'myDecimal'.
|
/external/llvm/test/Transforms/GVN/ |
D | atomic.ll | 15 store atomic i32 %x, i32* @x unordered, align 4 27 %y = load atomic i32, i32* @x unordered, align 4 39 %x = load atomic i32, i32* @x unordered, align 4 48 ; CHECK: load atomic i32, i32* @x unordered 51 %x2 = load atomic i32, i32* @x unordered, align 4 62 store atomic i32 %x, i32* @x release, align 4 63 %w = load atomic i32, i32* @x acquire, align 4 75 store atomic i32 %x, i32* @x monotonic, align 4 86 %x = load atomic i32, i32* @y unordered, align 4 87 %clobber = load atomic i32, i32* @x monotonic, align 4 [all …]
|