/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_atomic_msvc.h | 196 uptr xchg, in atomic_compare_exchange_strong() argument 200 (void*volatile*)&a->val_dont_use, (void*)xchg, (void*)cmpv); in atomic_compare_exchange_strong() 209 u16 xchg, in atomic_compare_exchange_strong() argument 213 (volatile short*)&a->val_dont_use, (short)xchg, (short)cmpv); in atomic_compare_exchange_strong() 222 u32 xchg, in atomic_compare_exchange_strong() argument 226 (volatile long*)&a->val_dont_use, (long)xchg, (long)cmpv); in atomic_compare_exchange_strong() 235 u64 xchg, in atomic_compare_exchange_strong() argument 239 (volatile long long*)&a->val_dont_use, (long long)xchg, (long long)cmpv); in atomic_compare_exchange_strong() 249 typename T::Type xchg, in atomic_compare_exchange_weak() argument 251 return atomic_compare_exchange_strong(a, cmp, xchg, mo); in atomic_compare_exchange_weak()
|
D | sanitizer_atomic_clang.h | 75 typename T::Type xchg, in atomic_compare_exchange_strong() argument 80 prev = __sync_val_compare_and_swap(&a->val_dont_use, cmpv, xchg); in atomic_compare_exchange_strong() 89 typename T::Type xchg, in atomic_compare_exchange_weak() argument 91 return atomic_compare_exchange_strong(a, cmp, xchg, mo); in atomic_compare_exchange_weak()
|
D | sanitizer_atomic_clang_mips.h | 67 atomic_uint64_t::Type xchg, in atomic_compare_exchange_strong() argument 82 ptr->val_dont_use = xchg; in atomic_compare_exchange_strong()
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_atomic_msvc.h | 206 uptr xchg, in atomic_compare_exchange_strong() argument 210 (void*volatile*)&a->val_dont_use, (void*)xchg, (void*)cmpv); in atomic_compare_exchange_strong() 219 u16 xchg, in atomic_compare_exchange_strong() argument 223 (volatile short*)&a->val_dont_use, (short)xchg, (short)cmpv); in atomic_compare_exchange_strong() 232 u32 xchg, in atomic_compare_exchange_strong() argument 236 (volatile long*)&a->val_dont_use, (long)xchg, (long)cmpv); in atomic_compare_exchange_strong() 245 u64 xchg, in atomic_compare_exchange_strong() argument 249 (volatile long long*)&a->val_dont_use, (long long)xchg, (long long)cmpv); in atomic_compare_exchange_strong() 259 typename T::Type xchg, in atomic_compare_exchange_weak() argument 261 return atomic_compare_exchange_strong(a, cmp, xchg, mo); in atomic_compare_exchange_weak()
|
D | sanitizer_atomic_clang.h | 77 typename T::Type xchg, in atomic_compare_exchange_strong() argument 81 Type prev = __sync_val_compare_and_swap(&a->val_dont_use, cmpv, xchg); in atomic_compare_exchange_strong() 91 typename T::Type xchg, in atomic_compare_exchange_weak() argument 93 return atomic_compare_exchange_strong(a, cmp, xchg, mo); in atomic_compare_exchange_weak()
|
/external/llvm/test/CodeGen/SystemZ/ |
D | atomicrmw-xchg-03.ll | 13 %res = atomicrmw xchg i32 *%src, i32 %b seq_cst 24 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 35 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 46 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 58 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 69 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 80 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 92 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 105 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 119 %res = atomicrmw xchg i32 *%src, i32 40000 seq_cst
|
D | atomicrmw-xchg-04.ll | 13 %res = atomicrmw xchg i64 *%src, i64 %b seq_cst 24 %res = atomicrmw xchg i64 *%ptr, i64 %b seq_cst 36 %res = atomicrmw xchg i64 *%ptr, i64 %b seq_cst 47 %res = atomicrmw xchg i64 *%ptr, i64 %b seq_cst 59 %res = atomicrmw xchg i64 *%ptr, i64 %b seq_cst 72 %res = atomicrmw xchg i64 *%ptr, i64 %b seq_cst 86 %res = atomicrmw xchg i64 *%ptr, i64 3000000000 seq_cst
|
/external/llvm-project/llvm/test/CodeGen/SystemZ/ |
D | atomicrmw-xchg-03.ll | 13 %res = atomicrmw xchg i32 *%src, i32 %b seq_cst 24 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 35 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 46 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 58 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 69 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 80 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 92 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 105 %res = atomicrmw xchg i32 *%ptr, i32 %b seq_cst 119 %res = atomicrmw xchg i32 *%src, i32 40000 seq_cst
|
D | atomicrmw-xchg-04.ll | 13 %res = atomicrmw xchg i64 *%src, i64 %b seq_cst 24 %res = atomicrmw xchg i64 *%ptr, i64 %b seq_cst 36 %res = atomicrmw xchg i64 *%ptr, i64 %b seq_cst 47 %res = atomicrmw xchg i64 *%ptr, i64 %b seq_cst 59 %res = atomicrmw xchg i64 *%ptr, i64 %b seq_cst 72 %res = atomicrmw xchg i64 *%ptr, i64 %b seq_cst 86 %res = atomicrmw xchg i64 *%ptr, i64 3000000000 seq_cst
|
/external/llvm-project/llvm/test/CodeGen/AVR/atomics/ |
D | swap.ll | 6 %val = atomicrmw xchg i8* %foo, i8 13 seq_cst 13 %val = atomicrmw xchg i16* %foo, i16 13 seq_cst 20 %val = atomicrmw xchg i32* %foo, i32 13 seq_cst 27 %val = atomicrmw xchg i64* %foo, i64 13 seq_cst
|
/external/llvm-project/llvm/test/Transforms/InstCombine/ |
D | atomicrmw.ll | 170 ; CHECK-NEXT: %res = atomicrmw xchg i32* %addr, i32 -1 monotonic 178 ; CHECK-NEXT: %res = atomicrmw xchg i32* %addr, i32 0 monotonic 185 ; CHECK-NEXT: %res = atomicrmw xchg i32* %addr, i32 0 monotonic 193 ; CHECK-NEXT: %res = atomicrmw xchg i32* %addr, i32 -1 monotonic 201 ; CHECK-NEXT: %res = atomicrmw xchg i8* %addr, i8 -128 monotonic 209 ; CHECK-NEXT: %res = atomicrmw xchg i8* %addr, i8 127 monotonic 217 ; CHECK-NEXT: %res = atomicrmw xchg double* %addr, double 0x7FF00000FFFFFFFF release 225 ; CHECK-NEXT: %res = atomicrmw xchg double* %addr, double 0x7FF00000FFFFFFFF release 244 atomicrmw xchg i32* %addr, i32 0 monotonic 252 atomicrmw xchg i32* %addr, i32 -1 release [all …]
|
/external/llvm-project/llvm/test/Transforms/AtomicExpand/AArch64/ |
D | expand-atomicrmw-xchg-fp.ll | 21 ; OUTLINE-ATOMICS-NEXT: [[T1:%.*]] = atomicrmw xchg half* [[PTR:%.*]], half [[VAL:%.*]] acquire 24 %t1 = atomicrmw xchg half* %ptr, half %val acquire 44 ; OUTLINE-ATOMICS-NEXT: [[T1:%.*]] = atomicrmw xchg float* [[PTR:%.*]], float [[VAL:%.*]] acquire 47 %t1 = atomicrmw xchg float* %ptr, float %val acquire 65 ; OUTLINE-ATOMICS-NEXT: [[T1:%.*]] = atomicrmw xchg double* [[PTR:%.*]], double [[VAL:%.*]] acqu… 68 %t1 = atomicrmw xchg double* %ptr, double %val acquire
|
/external/llvm/test/MC/X86/ |
D | intel-syntax.s | 453 xchg RAX, RCX label 454 xchg RCX, RAX label 455 xchg EAX, ECX label 456 xchg ECX, EAX label 457 xchg AX, CX label 458 xchg CX, AX label 466 xchg RAX, [ECX] label 467 xchg [ECX], RAX label 468 xchg EAX, [ECX] label 469 xchg [ECX], EAX label [all …]
|
/external/llvm-project/llvm/test/MC/X86/ |
D | intel-syntax.s | 519 xchg RAX, RCX label 520 xchg RCX, RAX label 521 xchg EAX, ECX label 522 xchg ECX, EAX label 523 xchg AX, CX label 524 xchg CX, AX label 532 xchg RAX, [ECX] label 533 xchg [ECX], RAX label 534 xchg EAX, [ECX] label 535 xchg [ECX], EAX label [all …]
|
/external/llvm-project/llvm/test/Assembler/ |
D | invalid-atomicrmw-xchg-must-be-integer-or-fp-type.ll | 3 ; CHECK: error: atomicrmw xchg operand must be an integer or floating point type 5 atomicrmw xchg i32** %ptr, i32* null seq_cst
|
D | atomic.ll | 30 ; CHECK: atomicrmw volatile xchg i32* %x, i32 10 monotonic 31 atomicrmw volatile xchg i32* %x, i32 10 monotonic 32 ; CHECK: atomicrmw volatile xchg i32* %x, i32 10 syncscope("agent") monotonic 33 atomicrmw volatile xchg i32* %x, i32 10 syncscope("agent") monotonic
|
/external/llvm/test/Analysis/DivergenceAnalysis/AMDGPU/ |
D | atomics.ll | 3 ; CHECK: DIVERGENT: %orig = atomicrmw xchg i32* %ptr, i32 %val seq_cst 5 %orig = atomicrmw xchg i32* %ptr, i32 %val seq_cst
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | 2006-07-20-InlineAsm.ll | 10 …call void asm sideeffect "xchg{l} {$0,$1|$1,$0}", "=*m,=*r,m,1,~{dirflag},~{fpsr},~{flags}"( i32* … 19 …call void asm sideeffect "xchg{l} {$0,$1|$1,$0}", "=*m,=*r,1,~{dirflag},~{fpsr},~{flags}"( i32* @G…
|
/external/llvm/test/CodeGen/X86/ |
D | 2006-07-20-InlineAsm.ll | 10 …call void asm sideeffect "xchg{l} {$0,$1|$1,$0}", "=*m,=*r,m,1,~{dirflag},~{fpsr},~{flags}"( i32* … 19 …call void asm sideeffect "xchg{l} {$0,$1|$1,$0}", "=*m,=*r,1,~{dirflag},~{fpsr},~{flags}"( i32* @G…
|
/external/linux-kselftest/tools/testing/selftests/powerpc/benchmarks/ |
D | context_switch.c | 263 static unsigned long xchg(unsigned long *p, unsigned long val) in xchg() function 282 c = xchg(m, 2); in mutex_lock() 286 c = xchg(m, 2); in mutex_lock() 300 else if (xchg(m, 0) == 1) in mutex_unlock()
|
/external/rust/crates/ring/crypto/perlasm/ |
D | x86asm.pl | 60 &xchg(&HB(@_),&LB(@_)); 62 &xchg(&HB(@_),&LB(@_)); 73 sub ::exch { &xchg(@_); }
|
/external/llvm/test/CodeGen/PowerPC/ |
D | atomic-2.ll | 62 %tmp = atomicrmw xchg i64* %mem, i64 1 monotonic 70 %tmp = atomicrmw xchg i8* %mem, i8 1 monotonic 78 %tmp = atomicrmw xchg i16* %mem, i16 1 monotonic
|
/external/llvm-project/llvm/test/Transforms/LowerAtomic/ |
D | atomic-swap.ll | 23 %j = atomicrmw xchg i8* %i, i8 42 monotonic 34 %j = atomicrmw xchg i8* %i, i8 42 monotonic
|
/external/boringssl/src/crypto/perlasm/ |
D | x86asm.pl | 80 &xchg(&HB(@_),&LB(@_)); 82 &xchg(&HB(@_),&LB(@_)); 93 sub ::exch { &xchg(@_); }
|
/external/llvm/test/Assembler/ |
D | atomic.ll | 24 ; CHECK: atomicrmw volatile xchg i32* %x, i32 10 monotonic 25 atomicrmw volatile xchg i32* %x, i32 10 monotonic
|