Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/GlobalISel/
H A 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
260 fence syncscope("agent") acquire
269 fence syncscope("agent") release
278 fence syncscope("agent") acq_rel
287 fence syncscope("agent") seq_cst
296 fence syncscope("workgroup") acquire
305 fence syncscope("workgroup") release
[all …]
H A Dmemory-legalizer-atomic-fence.ll27 fence syncscope("one-as") acquire
43 fence syncscope("one-as") release
63 fence syncscope("one-as") acq_rel
83 fence syncscope("one-as") seq_cst
518 fence syncscope("agent") acquire
536 fence syncscope("agent") release
558 fence syncscope("agent") acq_rel
580 fence syncscope("agent") seq_cst
601 fence syncscope("workgroup") acquire
621 fence syncscope("workgroup") release
[all …]
H A Dlegalize-atomic-cmpxchg-with-success.mir17 …= G_AMDGPU_ATOMIC_CMPXCHG [[COPY]](p1), [[BUILD_VECTOR]] :: (load store syncscope("agent-one-as") …
23 …%3:_(s32), %4:_(s1) = G_ATOMIC_CMPXCHG_WITH_SUCCESS %0, %1, %2 :: (load store syncscope("agent-one…
41 …= G_AMDGPU_ATOMIC_CMPXCHG [[COPY]](p0), [[BUILD_VECTOR]] :: (load store syncscope("agent-one-as") …
47 …%3:_(s32), %4:_(s1) = G_ATOMIC_CMPXCHG_WITH_SUCCESS %0, %1, %2 :: (load store syncscope("agent-one…
64 …2) = G_ATOMIC_CMPXCHG [[COPY]](p3), [[COPY1]], [[COPY2]] :: (load store syncscope("agent-one-as") …
70 …%3:_(s32), %4:_(s1) = G_ATOMIC_CMPXCHG_WITH_SUCCESS %0, %1, %2 :: (load store syncscope("agent-one…
88 …= G_AMDGPU_ATOMIC_CMPXCHG [[COPY]](p1), [[BUILD_VECTOR]] :: (load store syncscope("agent-one-as") …
94 …%3:_(s64), %4:_(s1) = G_ATOMIC_CMPXCHG_WITH_SUCCESS %0, %1, %2 :: (load store syncscope("agent-one…
111 …4) = G_ATOMIC_CMPXCHG [[COPY]](p3), [[COPY1]], [[COPY2]] :: (load store syncscope("agent-one-as") …
117 …%3:_(s64), %4:_(s1) = G_ATOMIC_CMPXCHG_WITH_SUCCESS %0, %1, %2 :: (load store syncscope("agent-one…
/llvm-project-15.0.7/llvm/test/Assembler/
H A Datomic.ll9 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
17 store atomic volatile i32 3, i32* %x syncscope("workgroup") monotonic, align 4
19 cmpxchg i32* %x, i32 1, i32 0 syncscope("singlethread") monotonic monotonic
21 cmpxchg i32* %x, i32 1, i32 0 syncscope("workitem") monotonic monotonic
33 atomicrmw volatile xchg i32* %x, i32 10 syncscope("agent") monotonic
34 ; CHECK: fence syncscope("singlethread") release
35 fence syncscope("singlethread") release
38 ; CHECK: fence syncscope("device") seq_cst
[all …]
/llvm-project-15.0.7/llvm/test/Linker/
H A 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
/llvm-project-15.0.7/llvm/test/Bitcode/
H A DmemInstructions.3.2.ll111 %res9 = load atomic i8, i8* %ptr1 syncscope("singlethread") unordered, align 1
114 %res10 = load atomic i8, i8* %ptr1 syncscope("singlethread") monotonic, align 1
117 %res11 = load atomic i8, i8* %ptr1 syncscope("singlethread") acquire, align 1
120 %res12 = load atomic i8, i8* %ptr1 syncscope("singlethread") seq_cst, align 1
197 store atomic i8 2, i8* %ptr1 syncscope("singlethread") unordered, align 1
200 store atomic i8 2, i8* %ptr1 syncscope("singlethread") monotonic, align 1
203 store atomic i8 2, i8* %ptr1 syncscope("singlethread") release, align 1
206 store atomic i8 2, i8* %ptr1 syncscope("singlethread") seq_cst, align 1
209 store atomic volatile i8 2, i8* %ptr1 syncscope("singlethread") unordered, align 1
215 store atomic volatile i8 2, i8* %ptr1 syncscope("singlethread") release, align 1
[all …]
H A 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
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dconsecutive-fences.ll7 ; CHECK-NEXT: fence syncscope("singlethread") acquire
15 fence syncscope("singlethread") acquire
16 fence syncscope("singlethread") acquire
17 fence syncscope("singlethread") acquire
24 ; CHECK-NEXT: fence syncscope("MSP430") acquire
27 fence syncscope("MSP430") acquire
28 fence syncscope("MSP430") acquire
40 fence syncscope("singlethread") seq_cst
86 fence syncscope("singlethread") seq_cst
93 fence syncscope("singlethread") acquire
[all …]
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Datomic-ops.cl43 // CHECK: load atomic i32, i32* %{{[.0-9A-Z_a-z]+}} syncscope("agent") seq_cst, align 4
108 // CHECK: load atomic i32, i32* %{{.*}} syncscope("workgroup") seq_cst, align 4
111 // CHECK: load atomic i32, i32* %{{.*}} syncscope("agent") seq_cst, align 4
117 // CHECK: load atomic i32, i32* %{{.*}} syncscope("wavefront") seq_cst, align 4
151 // CHECK: load atomic i32, i32* %{{.*}} syncscope("agent-one-as") monotonic, align 4
159 // CHECK: load atomic i32, i32* %{{.*}} syncscope("agent-one-as") acquire, align 4
165 // CHECK: load atomic i32, i32* %{{.*}} syncscope("workgroup") seq_cst, align 4
167 // CHECK: load atomic i32, i32* %{{.*}} syncscope("agent") seq_cst, align 4
171 // CHECK: load atomic i32, i32* %{{.*}} syncscope("wavefront") seq_cst, align 4
183 // CHECK: store atomic i32 {{.*}} syncscope("workgroup-one-as") release, align 4
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dsyncscopes.ll4 …ed renamable $vgpr0, 0, 0, implicit $exec, implicit $flat_scr :: (store syncscope("agent") seq_cst…
5 …ed renamable $vgpr3, 0, 0, implicit $exec, implicit $flat_scr :: (store syncscope("workgroup") seq…
6 …ed renamable $vgpr6, 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
H A Dexpand-atomicrmw-syncscope.ll7 …%ret = atomicrmw fadd float addrspace(1)* %arg, float 1.000000e+00 syncscope("agent") monotonic, a…
15 …%ret = atomicrmw fadd float addrspace(1)* %arg, float 1.000000e+00 syncscope("workgroup") monotoni…
23 …%ret = atomicrmw fadd float addrspace(1)* %arg, float 1.000000e+00 syncscope("wavefront") monotoni…
31 …%ret = atomicrmw fadd float addrspace(1)* %arg, float 1.000000e+00 syncscope("agent-one-as") monot…
39 …%ret = atomicrmw fadd float addrspace(1)* %arg, float 1.000000e+00 syncscope("workgroup-one-as") m…
47 …%ret = atomicrmw fadd float addrspace(1)* %arg, float 1.000000e+00 syncscope("wavefront-one-as") m…
55 …%ret = atomicrmw fadd float addrspace(1)* %arg, float 1.000000e+00 syncscope("singlethread-one-as"…
63 …%ret = atomicrmw fadd float addrspace(1)* %arg, float 1.000000e+00 syncscope("one-as") monotonic, …
H A Dnoclobber-barrier.ll37 fence syncscope("workgroup") release
39 fence syncscope("workgroup") acquire
86 fence syncscope("workgroup") release
362 fence syncscope("workgroup") release
364 fence syncscope("workgroup") acquire
388 fence syncscope("workgroup") release
390 fence syncscope("workgroup") acquire
415 fence syncscope("workgroup") release
417 fence syncscope("workgroup") acquire
461 fence syncscope("workgroup") release
[all …]
H A Datomics-cas-remarks-gfx90a.ll29 %ret = atomicrmw fadd float* %p, float %q syncscope("agent") monotonic, align 4
38 %ret = atomicrmw fadd float* %p, float %q syncscope("workgroup") monotonic, align 4
47 %ret = atomicrmw fadd float* %p, float %q syncscope("wavefront") monotonic, align 4
56 %ret = atomicrmw fadd float* %p, float %q syncscope("singlethread") monotonic, align 4
65 %ret = atomicrmw fadd float* %p, float %q syncscope("one-as") monotonic, align 4
74 %ret = atomicrmw fadd float* %p, float %q syncscope("agent-one-as") monotonic, align 4
83 %ret = atomicrmw fadd float* %p, float %q syncscope("workgroup-one-as") monotonic, align 4
92 %ret = atomicrmw fadd float* %p, float %q syncscope("wavefront-one-as") monotonic, align 4
101 %ret = atomicrmw fadd float* %p, float %q syncscope("singlethread-one-as") monotonic, align 4
H A 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
172 fence syncscope("workgroup") release
[all …]
H A Dmemory-legalizer-invalid-syncscope.ll9 fence syncscope("invalid") seq_cst
17 %val = load atomic i32, i32* %in syncscope("invalid") seq_cst, align 4
26 store atomic i32 %in, i32* %out syncscope("invalid") seq_cst, align 4
35 %val = cmpxchg volatile i32* %gep, i32 %old, i32 %in syncscope("invalid") seq_cst seq_cst
43 %val = atomicrmw volatile xchg i32* %out, i32 %in syncscope("invalid") seq_cst
H A Datomics-hw-remarks-gfx90a.ll28 %ret = atomicrmw fadd float addrspace(1)* %ptr, float %val syncscope("agent") monotonic, align 4
37 …%ret = atomicrmw fadd float addrspace(1)* %ptr, float %val syncscope("workgroup") monotonic, align…
46 …%ret = atomicrmw fadd float addrspace(1)* %ptr, float %val syncscope("wavefront") monotonic, align…
55 …%ret = atomicrmw fadd float addrspace(1)* %ptr, float %val syncscope("singlethread") monotonic, al…
64 …%ret = atomicrmw fadd float addrspace(1)* %ptr, float %val syncscope("agent-one-as") monotonic, al…
73 …%ret = atomicrmw fadd float addrspace(1)* %ptr, float %val syncscope("workgroup-one-as") monotonic…
82 …%ret = atomicrmw fadd float addrspace(1)* %ptr, float %val syncscope("wavefront-one-as") monotonic…
91 …%ret = atomicrmw fadd float addrspace(1)* %ptr, float %val syncscope("singlethread-one-as") monoto…
H A 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…
164 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("wavefront-one-a…
308 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("agent-one-as") …
356 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("agent-one-as") …
380 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("agent-one-as") …
404 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("one-as") unorde…
428 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("one-as") monoto…
452 … renamable $vgpr0, 0, 0, implicit $m0, implicit $exec :: (volatile load syncscope("one-as") acquir…
[all …]
H A 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…
164 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("wavefront-one-a…
308 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("agent-one-as") …
356 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("agent-one-as") …
380 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("agent-one-as") …
404 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("one-as") unorde…
428 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("one-as") monoto…
452 … renamable $vgpr0, 0, 1, implicit $m0, implicit $exec :: (volatile load syncscope("one-as") acquir…
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/Sink/
H A 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
/llvm-project-15.0.7/llvm/test/Linker/Inputs/
H A Dsyncscope-1.ll2 fence syncscope("agent") seq_cst
3 fence syncscope("workgroup") seq_cst
4 fence syncscope("wavefront") seq_cst
H A Dsyncscope-2.ll2 fence syncscope("image") seq_cst
3 fence syncscope("agent") seq_cst
4 fence syncscope("workgroup") seq_cst
/llvm-project-15.0.7/llvm/test/CodeGen/MIR/AMDGPU/
H A 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 … -1, implicit $exec, implicit $flat_scr :: (volatile non-temporal store syncscope("agent") seq_cst…
46 … -1, implicit $exec, implicit $flat_scr :: (volatile non-temporal store syncscope("workgroup") seq…
47 … -1, implicit $exec, implicit $flat_scr :: (volatile non-temporal store syncscope("wavefront") seq…
87 … -1, implicit $exec, implicit $flat_scr :: (volatile non-temporal store syncscope("agent") seq_cst…
92 … -1, implicit $exec, implicit $flat_scr :: (volatile non-temporal store syncscope("workgroup") seq…
97 … -1, implicit $exec, implicit $flat_scr :: (volatile non-temporal store syncscope("wavefront") seq…
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/intrinsics/
H A 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
/llvm-project-15.0.7/llvm/test/CodeGen/WebAssembly/
H A Datomic-fence.ll34 fence syncscope("singlethread") seq_cst
35 fence syncscope("singlethread") acquire
36 fence syncscope("singlethread") release
37 fence syncscope("singlethread") acq_rel
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Datomics-regression.ll369 fence syncscope("singlethread") acquire
378 fence syncscope("singlethread") release
387 fence syncscope("singlethread") acq_rel
396 fence syncscope("singlethread") seq_cst
6203 %ret = atomicrmw add i8* %ptr, i8 %val syncscope("singlethread") acquire
6219 %ret = atomicrmw add i8* %ptr, i8 %val syncscope("singlethread") release
6236 %ret = atomicrmw add i8* %ptr, i8 %val syncscope("singlethread") acq_rel
7499 %ret = atomicrmw or i8* %ptr, i8 %val syncscope("singlethread") acquire
7515 %ret = atomicrmw or i8* %ptr, i8 %val syncscope("singlethread") release
7532 %ret = atomicrmw or i8* %ptr, i8 %val syncscope("singlethread") acq_rel
[all …]

1234