Home
last modified time | relevance | path

Searched refs:xchg (Results 1 – 25 of 142) sorted by relevance

123456

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_atomic_msvc.h206 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()
Dsanitizer_atomic_clang.h77 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/
Datomicrmw-xchg-03.ll13 %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
Datomicrmw-xchg-04.ll13 %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
Datomicrmw-xchg-02.ll39 %res = atomicrmw xchg i16 *%src, i16 %b seq_cst
53 %res = atomicrmw xchg i16 *%src, i16 40000 seq_cst
Datomicrmw-xchg-01.ll39 %res = atomicrmw xchg i8 *%src, i8 %b seq_cst
53 %res = atomicrmw xchg i8 *%src, i8 88 seq_cst
/external/llvm/test/MC/X86/
Dintel-syntax.s453 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/test/Analysis/DivergenceAnalysis/AMDGPU/
Datomics.ll3 ; CHECK: DIVERGENT: %orig = atomicrmw xchg i32* %ptr, i32 %val seq_cst
5 %orig = atomicrmw xchg i32* %ptr, i32 %val seq_cst
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2006-07-20-InlineAsm.ll10 …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/
D2006-07-20-InlineAsm.ll10 …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/
Dcontext_switch.c267 static unsigned long xchg(unsigned long *p, unsigned long val) in xchg() function
286 c = xchg(m, 2); in mutex_lock()
290 c = xchg(m, 2); in mutex_lock()
304 else if (xchg(m, 0) == 1) in mutex_unlock()
/external/boringssl/src/crypto/perlasm/
Dx86asm.pl60 &xchg(&HB(@_),&LB(@_));
62 &xchg(&HB(@_),&LB(@_));
73 sub ::exch { &xchg(@_); }
/external/llvm/test/CodeGen/PowerPC/
Datomic-2.ll62 %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/swiftshader/third_party/LLVM/test/Assembler/
Datomic.ll19 ; CHECK: atomicrmw volatile xchg i32* %x, i32 10 monotonic
20 atomicrmw volatile xchg i32* %x, i32 10 monotonic
/external/swiftshader/third_party/LLVM/test/MC/Disassembler/X86/
Dintel-syntax.txt27 # CHECK: xchg EAX, R8D
30 # CHECK: xchg RAX, R8
/external/llvm/test/Assembler/
Datomic.ll24 ; CHECK: atomicrmw volatile xchg i32* %x, i32 10 monotonic
25 atomicrmw volatile xchg i32* %x, i32 10 monotonic
/external/libffi/src/x86/
Dwin32.S100 xchg ecx, eax
212 xchg DWORD PTR [esp+4], ecx
213 xchg DWORD PTR [esp], ecx
220 xchg DWORD PTR [esp+4], edx
221 xchg DWORD PTR [esp], ecx
230 xchg DWORD PTR [esp+8], ecx
231 xchg DWORD PTR [esp+4], edx
/external/boringssl/src/crypto/fipsmodule/aes/asm/
Dvpaes-x86.pl759 &xchg ($base,"esp"); # alloca
783 &xchg ($base,"esp"); # alloca
816 &xchg ($base,"esp"); # alloca
835 &xchg ($base,"esp"); # alloca
856 &xchg ($base,"esp"); # alloca
/external/llvm/test/Instrumentation/AddressSanitizer/X86/
Dasm_cpuid.ll15xchg ebx, esi\0A\09mov eax, dword ptr $4\0A\09cpuid\0A\09mov dword ptr $0, eax\0A\09mov dword ptr …
/external/llvm/test/Instrumentation/MemorySanitizer/
Datomics.ll8 ; atomicrmw xchg: store clean shadow, return clean shadow
12 %0 = atomicrmw xchg i32* %p, i32 %x seq_cst
18 ; CHECK: atomicrmw xchg {{.*}} seq_cst
/external/llvm/test/CodeGen/SPARC/
Datomics.ll179 %b = atomicrmw xchg i8* %ptr, i8 42 monotonic
189 %b = atomicrmw xchg i16* %ptr, i16 42 monotonic
199 %b = atomicrmw xchg i32* %ptr, i32 42 monotonic
208 %b = atomicrmw xchg i64* %ptr, i64 42 monotonic
/external/llvm/test/Instrumentation/ThreadSanitizer/
Datomic.ll71 atomicrmw xchg i8* %a, i8 0 monotonic, !dbg !7
127 atomicrmw xchg i8* %a, i8 0 acquire, !dbg !7
183 atomicrmw xchg i8* %a, i8 0 release, !dbg !7
239 atomicrmw xchg i8* %a, i8 0 acq_rel, !dbg !7
295 atomicrmw xchg i8* %a, i8 0 seq_cst, !dbg !7
455 atomicrmw xchg i16* %a, i16 0 monotonic, !dbg !7
511 atomicrmw xchg i16* %a, i16 0 acquire, !dbg !7
567 atomicrmw xchg i16* %a, i16 0 release, !dbg !7
623 atomicrmw xchg i16* %a, i16 0 acq_rel, !dbg !7
679 atomicrmw xchg i16* %a, i16 0 seq_cst, !dbg !7
[all …]
/external/llvm/test/CodeGen/Hexagon/
DAtomics.ll60 %t00 = atomicrmw xchg i32* @si, i32 1 monotonic
62 %t01 = atomicrmw xchg i64* @sll, i64 1 monotonic
/external/swiftshader/third_party/LLVM/test/Analysis/BasicAA/
Dcas.ll9 %b = atomicrmw xchg i32* @turn, i32 1 monotonic
/external/llvm/test/Analysis/BasicAA/
Dcas.ll10 %b = atomicrmw xchg i32* @turn, i32 1 monotonic

123456