Home
last modified time | relevance | path

Searched refs:syncscope (Results 1 – 25 of 76) sorted by relevance

1234

/external/llvm-project/llvm/test/Assembler/
Datomic.ll8 ; CHECK: load atomic volatile i32, i32* %x syncscope("singlethread") acquire, align 4
9 load atomic volatile i32, i32* %x syncscope("singlethread") acquire, align 4
10 ; CHECK: load atomic volatile i32, i32* %x syncscope("agent") acquire, align 4
11 load atomic volatile i32, i32* %x syncscope("agent") acquire, align 4
14 ; CHECK: store atomic volatile i32 3, i32* %x syncscope("singlethread") monotonic, align 4
15 store atomic volatile i32 3, i32* %x syncscope("singlethread") monotonic, align 4
16 ; CHECK: store atomic volatile i32 3, i32* %x syncscope("workgroup") monotonic, align 4
17 store atomic volatile i32 3, i32* %x syncscope("workgroup") monotonic, align 4
18 ; CHECK: cmpxchg i32* %x, i32 1, i32 0 syncscope("singlethread") monotonic monotonic
19 cmpxchg i32* %x, i32 1, i32 0 syncscope("singlethread") monotonic monotonic
[all …]
/external/llvm-project/llvm/test/CodeGen/AMDGPU/GlobalISel/
Dirtranslator-fence.ll9 fence syncscope("one-as") acquire
18 fence syncscope("one-as") release
27 fence syncscope("one-as") acq_rel
36 fence syncscope("one-as") seq_cst
45 fence syncscope("singlethread-one-as") acquire
54 fence syncscope("singlethread-one-as") release
63 fence syncscope("singlethread-one-as") acq_rel
72 fence syncscope("singlethread-one-as") seq_cst
81 fence syncscope("agent-one-as") acquire
90 fence syncscope("agent-one-as") release
[all …]
Dmemory-legalizer-atomic-fence.ll25 fence syncscope("one-as") acquire
41 fence syncscope("one-as") release
61 fence syncscope("one-as") acq_rel
81 fence syncscope("one-as") seq_cst
95 fence syncscope("singlethread-one-as") acquire
109 fence syncscope("singlethread-one-as") release
123 fence syncscope("singlethread-one-as") acq_rel
137 fence syncscope("singlethread-one-as") seq_cst
159 fence syncscope("agent-one-as") acquire
175 fence syncscope("agent-one-as") release
[all …]
Dlegalize-atomic-cmpxchg-with-success.mir15 …= G_AMDGPU_ATOMIC_CMPXCHG [[COPY]](p1), [[BUILD_VECTOR]] :: (load store syncscope("agent-one-as") …
21 …%3:_(s32), %4:_(s1) = G_ATOMIC_CMPXCHG_WITH_SUCCESS %0, %1, %2 :: (load store syncscope("agent-one…
37 …= G_AMDGPU_ATOMIC_CMPXCHG [[COPY]](p0), [[BUILD_VECTOR]] :: (load store syncscope("agent-one-as") …
43 …%3:_(s32), %4:_(s1) = G_ATOMIC_CMPXCHG_WITH_SUCCESS %0, %1, %2 :: (load store syncscope("agent-one…
58 …2) = G_ATOMIC_CMPXCHG [[COPY]](p3), [[COPY1]], [[COPY2]] :: (load store syncscope("agent-one-as") …
64 …%3:_(s32), %4:_(s1) = G_ATOMIC_CMPXCHG_WITH_SUCCESS %0, %1, %2 :: (load store syncscope("agent-one…
80 …= G_AMDGPU_ATOMIC_CMPXCHG [[COPY]](p1), [[BUILD_VECTOR]] :: (load store syncscope("agent-one-as") …
86 …%3:_(s64), %4:_(s1) = G_ATOMIC_CMPXCHG_WITH_SUCCESS %0, %1, %2 :: (load store syncscope("agent-one…
101 …4) = G_ATOMIC_CMPXCHG [[COPY]](p3), [[COPY1]], [[COPY2]] :: (load store syncscope("agent-one-as") …
107 …%3:_(s64), %4:_(s1) = G_ATOMIC_CMPXCHG_WITH_SUCCESS %0, %1, %2 :: (load store syncscope("agent-one…
/external/llvm-project/llvm/test/Linker/
Dsyncscopes.ll1 ; RUN: llvm-link %S/Inputs/syncscope-1.ll %S/Inputs/syncscope-2.ll -S | FileCheck %s
4 ; CHECK: fence syncscope("agent") seq_cst
5 ; CHECK: fence syncscope("workgroup") seq_cst
6 ; CHECK: fence syncscope("wavefront") seq_cst
9 ; CHECK: fence syncscope("image") seq_cst
10 ; CHECK: fence syncscope("agent") seq_cst
11 ; CHECK: fence syncscope("workgroup") seq_cst
/external/llvm-project/llvm/test/Bitcode/
DmemInstructions.3.2.ll110 ; CHECK-NEXT: %res9 = load atomic i8, i8* %ptr1 syncscope("singlethread") unordered, align 1
111 %res9 = load atomic i8, i8* %ptr1 syncscope("singlethread") unordered, align 1
113 ; CHECK-NEXT: %res10 = load atomic i8, i8* %ptr1 syncscope("singlethread") monotonic, align 1
114 %res10 = load atomic i8, i8* %ptr1 syncscope("singlethread") monotonic, align 1
116 ; CHECK-NEXT: %res11 = load atomic i8, i8* %ptr1 syncscope("singlethread") acquire, align 1
117 %res11 = load atomic i8, i8* %ptr1 syncscope("singlethread") acquire, align 1
119 ; CHECK-NEXT: %res12 = load atomic i8, i8* %ptr1 syncscope("singlethread") seq_cst, align 1
120 %res12 = load atomic i8, i8* %ptr1 syncscope("singlethread") seq_cst, align 1
122 ; CHECK-NEXT: %res13 = load atomic volatile i8, i8* %ptr1 syncscope("singlethread") unordered, alig…
123 %res13 = load atomic volatile i8, i8* %ptr1 syncscope("singlethread") unordered, align 1
[all …]
Datomic-no-syncscope.ll7 ; CHECK: load atomic volatile i32, i32* %x syncscope("singlethread") acquire, align 4
9 ; CHECK: store atomic volatile i32 3, i32* %x syncscope("singlethread") monotonic, align 4
10 ; CHECK: cmpxchg i32* %x, i32 1, i32 0 syncscope("singlethread") monotonic monotonic
16 ; CHECK: fence syncscope("singlethread") release
Datomic.ll14 …cmpxchg weak volatile i32* %addr, i32 %desired, i32 %new syncscope("singlethread") release monoton…
15 …; CHECK: cmpxchg weak volatile i32* %addr, i32 %desired, i32 %new syncscope("singlethread") releas…
/external/llvm-project/clang/test/CodeGenOpenCL/
Datomic-ops.cl35 // CHECK: load atomic i32, i32* %{{[.0-9A-Z_a-z]+}} syncscope("workgroup") seq_cst
38 // CHECK: load atomic i32, i32* %{{[.0-9A-Z_a-z]+}} syncscope("agent") seq_cst
44 // CHECK: load atomic i32, i32* %{{[.0-9A-Z_a-z]+}} syncscope("wavefront") seq_cst
50 …// CHECK: store atomic i32 %{{[.0-9A-Z_a-z]+}}, i32* %{{[.0-9A-Z_a-z]+}} syncscope("workgroup") se…
56 …// CHECK: store atomic i32 %{{[.0-9A-Z_a-z]+}}, i32 addrspace(1)* %{{[.0-9A-Z_a-z]+}} syncscope("w…
59 …// CHECK: store atomic i32 %{{[.0-9A-Z_a-z]+}}, i32 addrspace(5)* %{{[.0-9A-Z_a-z]+}} syncscope("w…
62 …// CHECK: store atomic i32 %{{[.0-9A-Z_a-z]+}}, i32 addrspace(3)* %{{[.0-9A-Z_a-z]+}} syncscope("w…
68 …// CHECK: atomicrmw and i32* %{{[.0-9A-Z_a-z]+}}, i32 %{{[.0-9A-Z_a-z]+}} syncscope("workgroup") s…
71 …// CHECK: atomicrmw min i32* %{{[.0-9A-Z_a-z]+}}, i32 %{{[.0-9A-Z_a-z]+}} syncscope("workgroup") s…
74 …// CHECK: atomicrmw max i32* %{{[.0-9A-Z_a-z]+}}, i32 %{{[.0-9A-Z_a-z]+}} syncscope("workgroup") s…
[all …]
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dsyncscopes.ll4 …amable $vgpr0, 0, 0, 0, 0, implicit $exec, implicit $flat_scr :: (store syncscope("agent") seq_cst…
5 …amable $vgpr3, 0, 0, 0, 0, implicit $exec, implicit $flat_scr :: (store syncscope("workgroup") seq…
6 …amable $vgpr6, 0, 0, 0, 0, implicit $exec, implicit $flat_scr :: (store syncscope("wavefront") seq…
15 store atomic i32 %agent, i32* %agent_out syncscope("agent") seq_cst, align 4
16 store atomic i32 %workgroup, i32* %workgroup_out syncscope("workgroup") seq_cst, align 4
17 store atomic i32 %wavefront, i32* %wavefront_out syncscope("wavefront") seq_cst, align 4
Dmemory-legalizer-invalid-syncscope.ll8 fence syncscope("invalid") seq_cst
16 %val = load atomic i32, i32* %in syncscope("invalid") seq_cst, align 4
25 store atomic i32 %in, i32* %out syncscope("invalid") seq_cst, align 4
34 %val = cmpxchg volatile i32* %gep, i32 %old, i32 %in syncscope("invalid") seq_cst seq_cst
42 %val = atomicrmw volatile xchg i32* %out, i32 %in syncscope("invalid") seq_cst
Dwaitcnt-vscnt.ll18 fence syncscope("singlethread") release
20 fence syncscope("singlethread") acquire
44 fence syncscope("singlethread") release
46 fence syncscope("singlethread") acquire
72 fence syncscope("singlethread") release
74 fence syncscope("singlethread") acquire
93 fence syncscope("singlethread") release
95 fence syncscope("singlethread") acquire
118 fence syncscope("singlethread") release
120 fence syncscope("singlethread") acquire
[all …]
Dmemory-legalizer-local.mir20 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("singlethread-on…
44 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("singlethread-on…
68 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("singlethread-on…
92 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("singlethread-on…
116 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("wavefront-one-a…
140 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("wavefront-one-a…
164 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("wavefront-one-a…
188 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("wavefront-one-a…
212 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("workgroup-one-a…
236 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("workgroup-one-a…
[all …]
Dmemory-legalizer-region.mir20 … renamable $vgpr0, 1, 0, implicit $m0, implicit $exec :: (volatile load syncscope("singlethread-on…
44 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("singlethread-on…
68 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("singlethread-on…
92 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("singlethread-on…
116 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("wavefront-one-a…
140 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("wavefront-one-a…
164 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("wavefront-one-a…
188 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("wavefront-one-a…
212 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("workgroup-one-a…
236 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("workgroup-one-a…
[all …]
Dmemory-legalizer-fence.ll29 fence syncscope("singlethread") acquire
54 fence syncscope("singlethread") release
79 fence syncscope("singlethread") acq_rel
104 fence syncscope("singlethread") seq_cst
129 fence syncscope("singlethread-one-as") acquire
154 fence syncscope("singlethread-one-as") release
179 fence syncscope("singlethread-one-as") acq_rel
204 fence syncscope("singlethread-one-as") seq_cst
229 fence syncscope("wavefront") acquire
254 fence syncscope("wavefront") release
[all …]
Dmemory-legalizer-invalid-addrspace.mir14 …vgpr1, 0, 0, 0, 0, implicit $exec, implicit $flat_scr :: (volatile load syncscope("one-as") seq_cs…
33 …gpr2, 0, 0, 0, 0, implicit $exec, implicit $flat_scr :: (volatile store syncscope("agent-one-as") …
50 …vgpr1, 0, 0, implicit $exec, implicit $flat_scr :: (volatile load store syncscope("workgroup-one-a…
66 …vgpr2, 0, 0, implicit $exec, implicit $flat_scr :: (volatile load store syncscope("wavefront-one-a…
/external/llvm-project/llvm/test/Transforms/Sink/
Dfence.ll8 fence syncscope("singlethread") seq_cst
10 fence syncscope("singlethread") seq_cst
23 ; CHECK: fence syncscope("singlethread") seq_cst
25 ; CHECK: fence syncscope("singlethread") seq_cst
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dconsecutive-fences.ll7 ; CHECK-NEXT: fence syncscope("singlethread") acquire
15 fence syncscope("singlethread") acquire
16 fence syncscope("singlethread") acquire
17 fence syncscope("singlethread") acquire
23 ; CHECK-NEXT: fence syncscope("singlethread") seq_cst
29 fence syncscope("singlethread") seq_cst
/external/llvm-project/llvm/test/CodeGen/MIR/AMDGPU/
Dsyncscopes.mir11 …store atomic i32 %agent, i32 addrspace(4)* %agent_out syncscope("agent") seq_cst, align 4, !nontem…
12 …store atomic i32 %workgroup, i32 addrspace(4)* %workgroup_out syncscope("workgroup") seq_cst, alig…
13 …store atomic i32 %wavefront, i32 addrspace(4)* %wavefront_out syncscope("wavefront") seq_cst, alig…
45 …, 0, implicit $exec, implicit $flat_scr :: (volatile non-temporal store syncscope("agent") seq_cst…
46 …, 0, implicit $exec, implicit $flat_scr :: (volatile non-temporal store syncscope("workgroup") seq…
47 …, 0, implicit $exec, implicit $flat_scr :: (volatile non-temporal store syncscope("wavefront") seq…
87 …, 0, implicit $exec, implicit $flat_scr :: (volatile non-temporal store syncscope("agent") seq_cst…
92 …, 0, implicit $exec, implicit $flat_scr :: (volatile non-temporal store syncscope("workgroup") seq…
97 …, 0, implicit $exec, implicit $flat_scr :: (volatile non-temporal store syncscope("wavefront") seq…
/external/llvm-project/llvm/test/Linker/Inputs/
Dsyncscope-1.ll2 fence syncscope("agent") seq_cst
3 fence syncscope("workgroup") seq_cst
4 fence syncscope("wavefront") seq_cst
Dsyncscope-2.ll2 fence syncscope("image") seq_cst
3 fence syncscope("agent") seq_cst
4 fence syncscope("workgroup") seq_cst
/external/llvm-project/llvm/test/CodeGen/Hexagon/intrinsics/
Dfence.ll5 ; RUN: sed -e 's/ORDER/syncscope("singlethread") acquire/' %s | llc -march=hexagon | FileCheck %s
6 ; RUN: sed -e 's/ORDER/syncscope("singlethread") release/' %s | llc -march=hexagon | FileCheck %s
7 ; RUN: sed -e 's/ORDER/syncscope("singlethread") acq_rel/' %s | llc -march=hexagon | FileCheck %s
8 ; RUN: sed -e 's/ORDER/syncscope("singlethread") seq_cst/' %s | llc -march=hexagon | FileCheck %s
/external/llvm-project/llvm/test/CodeGen/WebAssembly/
Datomic-fence.ll35 fence syncscope("singlethread") seq_cst
36 fence syncscope("singlethread") acquire
37 fence syncscope("singlethread") release
38 fence syncscope("singlethread") acq_rel
/external/llvm-project/llvm/test/CodeGen/PowerPC/
Datomics-regression.ll369 fence syncscope("singlethread") acquire
378 fence syncscope("singlethread") release
387 fence syncscope("singlethread") acq_rel
396 fence syncscope("singlethread") seq_cst
1267 %res = cmpxchg i8* %ptr, i8 %cmp, i8 %val syncscope("singlethread") monotonic monotonic
1289 %res = cmpxchg i8* %ptr, i8 %cmp, i8 %val syncscope("singlethread") acquire monotonic
1311 %res = cmpxchg i8* %ptr, i8 %cmp, i8 %val syncscope("singlethread") acquire acquire
1331 %res = cmpxchg i8* %ptr, i8 %cmp, i8 %val syncscope("singlethread") release monotonic
1351 %res = cmpxchg i8* %ptr, i8 %cmp, i8 %val syncscope("singlethread") release acquire
1374 %res = cmpxchg i8* %ptr, i8 %cmp, i8 %val syncscope("singlethread") acq_rel monotonic
[all …]
/external/llvm-project/llvm/test/CodeGen/MIR/AArch64/
Datomic-memoperands.mir23 ; CHECK: G_STORE [[LOAD]](s64), [[COPY]](p0) :: (store syncscope("singlethread") seq_cst 8)
31 G_STORE %1(s64), %0(p0) :: (store syncscope("singlethread") seq_cst 8)

1234