/external/llvm/test/Bitcode/ |
D | cmpxchg-upgrade.ll | 4 ; cmpxchg-upgrade.ll.bc was produced by running a version of llvm-as from just 8 cmpxchg i32* %addr, i32 42, i32 0 monotonic 9 ; CHECK: cmpxchg i32* %addr, i32 42, i32 0 monotonic monotonic 11 cmpxchg i32* %addr, i32 42, i32 0 acquire 12 ; CHECK: cmpxchg i32* %addr, i32 42, i32 0 acquire acquire 14 cmpxchg i32* %addr, i32 42, i32 0 release 15 ; CHECK: cmpxchg i32* %addr, i32 42, i32 0 release monotonic 17 cmpxchg i32* %addr, i32 42, i32 0 acq_rel 18 ; CHECK: cmpxchg i32* %addr, i32 42, i32 0 acq_rel acquire 20 cmpxchg i32* %addr, i32 42, i32 0 seq_cst [all …]
|
D | atomic.ll | 5 cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst 6 ; CHECK: cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst 8 cmpxchg volatile i32* %addr, i32 %desired, i32 %new seq_cst monotonic 9 ; CHECK: cmpxchg volatile i32* %addr, i32 %desired, i32 %new seq_cst monotonic 11 cmpxchg weak i32* %addr, i32 %desired, i32 %new acq_rel acquire 12 ; CHECK: cmpxchg weak i32* %addr, i32 %desired, i32 %new acq_rel acquire 14 cmpxchg weak volatile i32* %addr, i32 %desired, i32 %new singlethread release monotonic 15 ; CHECK: cmpxchg weak volatile i32* %addr, i32 %desired, i32 %new singlethread release monotonic
|
D | memInstructions.3.2.ll | 223 define void @cmpxchg(i32* %ptr,i32 %cmp,i32 %new){ 225 ;cmpxchg [volatile] <ty>* <pointer>, <ty> <cmp>, <ty> <new> [singlethread] <ordering> 227 ; CHECK: [[TMP:%[a-z0-9]+]] = cmpxchg i32* %ptr, i32 %cmp, i32 %new monotonic monotonic 229 %res1 = cmpxchg i32* %ptr, i32 %cmp, i32 %new monotonic monotonic 231 ; CHECK-NEXT: [[TMP:%[a-z0-9]+]] = cmpxchg volatile i32* %ptr, i32 %cmp, i32 %new monotonic monoton… 233 %res2 = cmpxchg volatile i32* %ptr, i32 %cmp, i32 %new monotonic monotonic 235 ; CHECK-NEXT: [[TMP:%[a-z0-9]+]] = cmpxchg i32* %ptr, i32 %cmp, i32 %new singlethread monotonic mon… 237 %res3 = cmpxchg i32* %ptr, i32 %cmp, i32 %new singlethread monotonic monotonic 239 ; CHECK-NEXT: [[TMP:%[a-z0-9]+]] = cmpxchg volatile i32* %ptr, i32 %cmp, i32 %new singlethread mono… 241 %res4 = cmpxchg volatile i32* %ptr, i32 %cmp, i32 %new singlethread monotonic monotonic [all …]
|
D | weak-cmpxchg-upgrade.ll | 4 ; cmpxchg-upgrade.ll.bc was produced by running a version of llvm-as from just 8 ; CHECK: [[TMP:%.*]] = cmpxchg i32* %addr, i32 %old, i32 %new seq_cst monotonic 10 %val = cmpxchg i32* %addr, i32 %old, i32 %new seq_cst monotonic
|
/external/valgrind/none/tests/amd64/ |
D | cmpxchg.stdout.exp | 1 cmpxchg %bl,%cl (al=22 bl=44 cl=33) 3 cmpxchg %bl,%cl (al=77 bl=55 cl=55) 5 cmpxchg %bx,%cx (ax=2222 bx=4444 cx=3333) 7 cmpxchg %bx,%cx (ax=7777 bx=5555 cx=5555) 9 cmpxchg %ebx,%ecx (eax=22222222 ebx=44444444 ecx=33333333) 11 cmpxchg %ebx,%ecx (eax=77777777 ebx=55555555 ecx=55555555) 13 cmpxchg %rbx,%rcx (rax=222222222 rbx=444444444 rcx=333333333) 15 cmpxchg %rbx,%rcx (rax=777777777 rbx=555555555 rcx=555555555)
|
D | Makefile.am | 42 cmpxchg.vgtest cmpxchg.stdout.exp cmpxchg.stderr.exp \ 93 cmpxchg \ program
|
/external/llvm/test/Assembler/ |
D | atomic.ll | 14 ; CHECK: cmpxchg i32* %x, i32 1, i32 0 singlethread monotonic monotonic 15 cmpxchg i32* %x, i32 1, i32 0 singlethread monotonic monotonic 16 ; CHECK: cmpxchg volatile i32* %x, i32 0, i32 1 acq_rel acquire 17 cmpxchg volatile i32* %x, i32 0, i32 1 acq_rel acquire 18 ; CHECK: cmpxchg i32* %x, i32 42, i32 0 acq_rel monotonic 19 cmpxchg i32* %x, i32 42, i32 0 acq_rel monotonic 20 ; CHECK: cmpxchg weak i32* %x, i32 13, i32 0 seq_cst monotonic 21 cmpxchg weak i32* %x, i32 13, i32 0 seq_cst monotonic
|
/external/llvm/test/CodeGen/SystemZ/ |
D | cmpxchg-03.ll | 10 %pair = cmpxchg i32 *%src, i32 %cmp, i32 %swap seq_cst seq_cst 21 %pair = cmpxchg i32 *%ptr, i32 %cmp, i32 %swap seq_cst seq_cst 32 %pair = cmpxchg i32 *%ptr, i32 %cmp, i32 %swap seq_cst seq_cst 43 %pair = cmpxchg i32 *%ptr, i32 %cmp, i32 %swap seq_cst seq_cst 56 %pair = cmpxchg i32 *%ptr, i32 %cmp, i32 %swap seq_cst seq_cst 67 %pair = cmpxchg i32 *%ptr, i32 %cmp, i32 %swap seq_cst seq_cst 78 %pair = cmpxchg i32 *%ptr, i32 %cmp, i32 %swap seq_cst seq_cst 91 %pair = cmpxchg i32 *%ptr, i32 %cmp, i32 %swap seq_cst seq_cst 104 %pair = cmpxchg i32 *%ptr, i32 %cmp, i32 %swap seq_cst seq_cst 118 %pair = cmpxchg i32 *%ptr, i32 %cmp, i32 %swap seq_cst seq_cst [all …]
|
D | cmpxchg-04.ll | 10 %pairval = cmpxchg i64 *%src, i64 %cmp, i64 %swap seq_cst seq_cst 21 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 %swap seq_cst seq_cst 34 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 %swap seq_cst seq_cst 45 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 %swap seq_cst seq_cst 56 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 %swap seq_cst seq_cst 69 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 %swap seq_cst seq_cst 82 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 %swap seq_cst seq_cst 93 %pairval = cmpxchg i64 *%ptr, i64 1001, i64 %swap seq_cst seq_cst 104 %pairval = cmpxchg i64 *%ptr, i64 %cmp, i64 1002 seq_cst seq_cst
|
/external/llvm/test/CodeGen/X86/ |
D | cmpxchg-clobber-flags.ll | 10 ; CHECK: cmpxchg 19 %cx = cmpxchg i64* %foo, i64 %bar, i64 %baz seq_cst seq_cst 35 ; CHECK: cmpxchg 55 %1 = cmpxchg i32* %p, i32 %.lcssa, i32 %.lcssa seq_cst seq_cst 68 ; operand. Naive attempts to limit cmpxchg EFLAGS use are likely to fail here. 72 ; CHECK: cmpxchg 80 %res = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst
|
D | cmpxchg-i1.ll | 9 %pair = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst 20 %pair = cmpxchg i64* %addr, i64 %desired, i64 %new seq_cst seq_cst 39 %pair = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst 51 %pair = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst 77 %pair = cmpxchg i32* %addr, i32 %old, i32 %new seq_cst seq_cst
|
D | cmpxchg-i128-i1.ll | 9 %pair = cmpxchg i128* %addr, i128 %desired, i128 %new seq_cst seq_cst 20 %pair = cmpxchg i128* %addr, i128 %desired, i128 %new seq_cst seq_cst 39 %pair = cmpxchg i128* %addr, i128 %desired, i128 %new seq_cst seq_cst 51 %pair = cmpxchg i128* %addr, i128 %desired, i128 %new seq_cst seq_cst 72 %pair = cmpxchg i128* %addr, i128 %old, i128 %new seq_cst seq_cst
|
D | 2010-10-08-cmpxchg8b.ll | 4 ; On i386, i64 cmpxchg is lowered during legalize types to extract the 12 ; Note that this case requires a loop around the cmpxchg to force 21 %pair = cmpxchg i64* %ptr, i64 0, i64 1 monotonic monotonic
|
D | cmpxchg16b.ll | 3 ; Basic 128-bit cmpxchg 9 %r = cmpxchg i128* %p, i128 0, i128 1 seq_cst seq_cst
|
D | cas.ll | 6 ; __asm__ __volatile__("lock; cmpxchg %[desired], %[mem]; " 32 …%5 = call i8 asm sideeffect "lock; cmpxchg $3, $4; mov $2, $1; sete $0", "={ax},=*rm,{ax},q,*m,~{m… 62 …%5 = call i8 asm sideeffect "lock; cmpxchg $3, $4; mov $2, $1; sete $0", "={ax},=*rm,{ax},q,*m,~{m…
|
/external/llvm/test/Transforms/SCCP/ |
D | atomic.ll | 5 ; CHECK: cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst 6 %val = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst seq_cst
|
/external/llvm/test/Instrumentation/MemorySanitizer/ |
D | atomics.ll | 38 ; cmpxchg: the same as above, but also check %a shadow 42 %pair = cmpxchg i32* %p, i32 %a, i32 %b seq_cst seq_cst 52 ; CHECK: cmpxchg {{.*}} seq_cst seq_cst 57 ; relaxed cmpxchg: bump up to "release monotonic" 61 %pair = cmpxchg i32* %p, i32 %a, i32 %b monotonic monotonic 71 ; CHECK: cmpxchg {{.*}} release monotonic
|
/external/llvm/test/CodeGen/R600/ |
D | atomic_cmp_swap_local.ll | 17 %pair = cmpxchg i32 addrspace(3)* %gep, i32 7, i32 %swap seq_cst monotonic 38 %pair = cmpxchg i64 addrspace(3)* %gep, i64 7, i64 %swap seq_cst monotonic 52 %pair = cmpxchg i32 addrspace(3)* %gep, i32 7, i32 %swap seq_cst monotonic 70 %pair = cmpxchg i32 addrspace(3)* %gep, i32 7, i32 %swap seq_cst monotonic 89 %pair = cmpxchg i64 addrspace(3)* %gep, i64 7, i64 %swap seq_cst monotonic
|
/external/llvm/test/CodeGen/CPP/ |
D | atomic.ll | 64 %inst0 = cmpxchg i32* %addr, i32 %desired, i32 %new seq_cst monotonic 70 %inst1 = cmpxchg volatile i32* %addr, i32 %desired, i32 %new singlethread acq_rel acquire 76 %inst2 = cmpxchg weak i32* %addr, i32 %desired, i32 %new seq_cst monotonic 82 %inst3 = cmpxchg weak volatile i32* %addr, i32 %desired, i32 %new singlethread acq_rel acquire
|
/external/llvm/test/CodeGen/AArch64/ |
D | cmpxchg-idioms.ll | 23 %pair = cmpxchg i32* %p, i32 %oldval, i32 %newval seq_cst seq_cst 52 %pair = cmpxchg i8* %value, i8 %oldValue, i8 %newValue acq_rel monotonic 76 %pair = cmpxchg i32* %p, i32 %oldval, i32 %newval seq_cst seq_cst
|
/external/llvm/test/CodeGen/ARM/ |
D | cmpxchg-idioms.ll | 28 %pair = cmpxchg i32* %p, i32 %oldval, i32 %newval seq_cst seq_cst 61 %pair = cmpxchg i8* %value, i8 %oldValue, i8 %newValue acq_rel monotonic 90 %pair = cmpxchg i32* %p, i32 %oldval, i32 %newval seq_cst seq_cst
|
D | cmpxchg-weak.ll | 6 %pair = cmpxchg weak i32* %addr, i32 %desired, i32 %new seq_cst monotonic 27 %pair = cmpxchg weak i32* %addr, i32 %desired, i32 %new seq_cst monotonic
|
/external/llvm/test/CodeGen/PowerPC/ |
D | atomics.ll | 80 %val = cmpxchg i8* %mem, i8 0, i8 1 seq_cst seq_cst 88 %val = cmpxchg weak i16* %mem, i16 0, i16 1 acquire acquire 96 %val = cmpxchg i32* %mem, i32 0, i32 1 acq_rel acquire 104 %val = cmpxchg weak i64* %mem, i64 0, i64 1 release monotonic
|
D | atomic-2.ll | 32 %tmppair = cmpxchg i64* %mem, i64 0, i64 1 monotonic monotonic 42 %tmppair = cmpxchg i8* %mem, i8 0, i8 1 monotonic monotonic 52 %tmppair = cmpxchg i16* %mem, i16 0, i16 1 monotonic monotonic
|
/external/llvm/test/Instrumentation/AddressSanitizer/ |
D | test64.ll | 31 %0 = cmpxchg i64* %ptr, i64 %compare_to, i64 %new_value seq_cst seq_cst 39 ; CHECK: cmpxchg
|