Lines Matching refs:exec
1 # RUN: llc -march=amdgcn -verify-machineinstrs -run-pass si-optimize-exec-masking -o - %s | FileCh…
129 …HECK: $sgpr0_sgpr1 = S_AND_SAVEEXEC_B64 $vcc, implicit-def $exec, implicit-def $scc, implicit $exec
130 # CHECK-NEXT: $sgpr0_sgpr1 = S_XOR_B64 $exec, killed $sgpr0_sgpr1, implicit-def $scc
140 $sgpr0_sgpr1 = COPY $exec
141 $vcc = V_CMP_EQ_I32_e64 0, killed $vgpr0, implicit $exec
142 $vgpr0 = V_MOV_B32_e32 4, implicit $exec
145 $exec = S_MOV_B64_term killed $sgpr2_sgpr3
146 S_CBRANCH_EXECZ %bb.2, implicit $exec
154 $vgpr0 = BUFFER_LOAD_DWORD_OFFSET $sgpr4_sgpr5_sgpr6_sgpr7, 0, 0, 0, 0, 0, implicit $exec
159 $exec = S_OR_B64 $exec, killed $sgpr0_sgpr1, implicit-def $scc
162 BUFFER_STORE_DWORD_OFFSET killed $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3, 0, 0, 0, 0, 0, implicit $exec
168 …HECK: $sgpr0_sgpr1 = S_AND_SAVEEXEC_B64 $vcc, implicit-def $exec, implicit-def $scc, implicit $exec
178 $sgpr0_sgpr1 = COPY $exec
179 $vcc = V_CMP_EQ_I32_e64 0, killed $vgpr0, implicit $exec
180 $vgpr0 = V_MOV_B32_e32 4, implicit $exec
182 $exec = S_MOV_B64_term killed $sgpr2_sgpr3
183 S_CBRANCH_EXECZ %bb.2, implicit $exec
191 $vgpr0 = BUFFER_LOAD_DWORD_OFFSET $sgpr4_sgpr5_sgpr6_sgpr7, 0, 0, 0, 0, 0, implicit $exec
196 $exec = S_OR_B64 $exec, killed $sgpr0_sgpr1, implicit-def $scc
199 BUFFER_STORE_DWORD_OFFSET killed $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3, 0, 0, 0, 0, 0, implicit $exec
205 …CHECK: $sgpr0_sgpr1 = S_OR_SAVEEXEC_B64 $vcc, implicit-def $exec, implicit-def $scc, implicit $exec
215 $sgpr0_sgpr1 = COPY $exec
216 $vcc = V_CMP_EQ_I32_e64 0, killed $vgpr0, implicit $exec
217 $vgpr0 = V_MOV_B32_e32 4, implicit $exec
219 $exec = S_MOV_B64_term killed $sgpr2_sgpr3
220 S_CBRANCH_EXECZ %bb.2, implicit $exec
228 $vgpr0 = BUFFER_LOAD_DWORD_OFFSET $sgpr4_sgpr5_sgpr6_sgpr7, 0, 0, 0, 0, 0, implicit $exec
233 $exec = S_OR_B64 $exec, killed $sgpr0_sgpr1, implicit-def $scc
236 BUFFER_STORE_DWORD_OFFSET killed $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3, 0, 0, 0, 0, 0, implicit $exec
243 …XT: BUFFER_STORE_DWORD_OFFSET $vgpr0, undef $sgpr0_sgpr1_sgpr2_sgpr3, 0, 0, 0, 0, 0, implicit $exec
245 # CHECK-NEXT: $exec = COPY killed $sgpr2_sgpr3
254 $sgpr0_sgpr1 = COPY $exec
255 $vcc = V_CMP_EQ_I32_e64 0, killed $vgpr0, implicit $exec
256 $vgpr0 = V_MOV_B32_e32 4, implicit $exec
258 BUFFER_STORE_DWORD_OFFSET $vgpr0, undef $sgpr0_sgpr1_sgpr2_sgpr3, 0, 0, 0, 0, 0, implicit $exec
260 $exec = S_MOV_B64_term killed $sgpr2_sgpr3
261 S_CBRANCH_EXECZ %bb.2, implicit $exec
269 $vgpr0 = BUFFER_LOAD_DWORD_OFFSET $sgpr4_sgpr5_sgpr6_sgpr7, 0, 0, 0, 0, 0, implicit $exec
274 $exec = S_OR_B64 $exec, killed $sgpr0_sgpr1, implicit-def $scc
277 BUFFER_STORE_DWORD_OFFSET killed $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3, 0, 0, 0, 0, 0, implicit $exec
285 # CHECK-NEXT: $exec = COPY $sgpr0_sgpr1
286 # CHECK-NEXT: S_CBRANCH_EXECZ %bb.2, implicit $exec
296 $sgpr0_sgpr1 = COPY $exec
297 $vcc = V_CMP_EQ_I32_e64 0, killed $vgpr0, implicit $exec
298 $vgpr0 = V_MOV_B32_e32 4, implicit $exec
301 $exec = S_MOV_B64_term $sgpr0_sgpr1
302 S_CBRANCH_EXECZ %bb.2, implicit $exec
307 $vgpr0 = BUFFER_LOAD_DWORD_OFFSET $sgpr4_sgpr5_sgpr6_sgpr7, 0, 0, 0, 0, 0, implicit $exec
312 $exec = S_OR_B64 $exec, killed $sgpr0_sgpr1, implicit-def $scc
315 BUFFER_STORE_DWORD_OFFSET killed $vgpr0, $sgpr4_sgpr5_sgpr6_sgpr7, 0, 0, 0, 0, 0, implicit $exec
324 # CHECK-NEXT: $exec = COPY killed $sgpr2_sgpr3
325 # CHECK-NEXT: S_CBRANCH_EXECZ %bb.2, implicit $exec
334 $sgpr0_sgpr1 = COPY $exec
335 $vcc = V_CMP_EQ_I32_e64 0, killed $vgpr0, implicit $exec
336 $vgpr0 = V_MOV_B32_e32 4, implicit $exec
340 $exec = S_MOV_B64_term killed $sgpr2_sgpr3
341 S_CBRANCH_EXECZ %bb.2, implicit $exec
349 $vgpr0 = BUFFER_LOAD_DWORD_OFFSET $sgpr4_sgpr5_sgpr6_sgpr7, 0, 0, 0, 0, 0, implicit $exec
354 $exec = S_OR_B64 $exec, killed $sgpr0_sgpr1, implicit-def $scc
359 BUFFER_STORE_DWORD_OFFSET killed $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3, 0, 0, 0, 0, 0, implicit $exec
367 # CHECK-NEXT: $exec = COPY $sgpr2_sgpr3
376 $sgpr0_sgpr1 = COPY $exec
377 $vcc = V_CMP_EQ_I32_e64 0, killed $vgpr0, implicit $exec
378 $vgpr0 = V_MOV_B32_e32 4, implicit $exec
381 $exec = S_MOV_B64_term $sgpr2_sgpr3
382 S_CBRANCH_EXECZ %bb.2, implicit $exec
390 $vgpr0 = BUFFER_LOAD_DWORD_OFFSET $sgpr4_sgpr5_sgpr6_sgpr7, 0, 0, 0, 0, 0, implicit $exec
395 $exec = S_OR_B64 $exec, killed $sgpr0_sgpr1, implicit-def $scc
398 BUFFER_STORE_DWORD_OFFSET killed $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3, 0, 0, 0, 0, 0, implicit $exec
404 # CHECK: $sgpr0_sgpr1 = COPY $exec
406 # CHECK-NEXT: $exec = COPY killed $sgpr2_sgpr3
407 # CHECK-NEXT: S_CBRANCH_EXECZ %bb.2, implicit $exec
416 $sgpr0_sgpr1 = COPY $exec
417 $vcc = V_CMP_EQ_I32_e64 0, killed $vgpr0, implicit $exec
418 $vgpr0 = V_MOV_B32_e32 4, implicit $exec
420 $exec = S_MOV_B64_term killed $sgpr2_sgpr3
421 S_CBRANCH_EXECZ %bb.2, implicit $exec
429 $vgpr0 = BUFFER_LOAD_DWORD_OFFSET $sgpr4_sgpr5_sgpr6_sgpr7, 0, 0, 0, 0, 0, implicit $exec
434 $exec = S_OR_B64 $exec, killed $sgpr0_sgpr1, implicit-def $scc
437 BUFFER_STORE_DWORD_OFFSET killed $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3, 0, 0, 0, 0, 0, implicit $exec
443 …CK: $sgpr0_sgpr1 = S_ANDN2_SAVEEXEC_B64 $vcc, implicit-def $exec, implicit-def $scc, implicit $exec
453 $sgpr0_sgpr1 = COPY $exec
454 $vcc = V_CMP_EQ_I32_e64 0, killed $vgpr0, implicit $exec
455 $vgpr0 = V_MOV_B32_e32 4, implicit $exec
457 $exec = S_MOV_B64_term killed $sgpr2_sgpr3
458 S_CBRANCH_EXECZ %bb.2, implicit $exec
466 $vgpr0 = BUFFER_LOAD_DWORD_OFFSET $sgpr4_sgpr5_sgpr6_sgpr7, 0, 0, 0, 0, 0, implicit $exec
471 $exec = S_OR_B64 $exec, killed $sgpr0_sgpr1, implicit-def $scc
474 BUFFER_STORE_DWORD_OFFSET killed $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3, 0, 0, 0, 0, 0, implicit $exec
481 # CHECK-NEXT: $exec = COPY killed $sgpr2_sgpr3
482 # CHECK-NEXT: S_CBRANCH_EXECZ %bb.2, implicit $exec
490 $sgpr0_sgpr1 = COPY $exec
491 $vcc = V_CMP_EQ_I32_e64 0, killed $vgpr0, implicit $exec
492 $vgpr0 = V_MOV_B32_e32 4, implicit $exec
494 $exec = S_MOV_B64_term killed $sgpr2_sgpr3
495 S_CBRANCH_EXECZ %bb.2, implicit $exec
503 $vgpr0 = BUFFER_LOAD_DWORD_OFFSET $sgpr4_sgpr5_sgpr6_sgpr7, 0, 0, 0, 0, 0, implicit $exec
508 $exec = S_OR_B64 $exec, killed $sgpr0_sgpr1, implicit-def $scc
511 BUFFER_STORE_DWORD_OFFSET killed $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3, 0, 0, 0, 0, 0, implicit $exec
516 # A read from exec copy subreg prevents optimization
518 # CHECK: $sgpr0_sgpr1 = COPY $exec
527 $sgpr0_sgpr1 = COPY $exec
529 $vcc = V_CMP_EQ_I32_e64 0, killed $vgpr0, implicit $exec
530 $vgpr0 = V_MOV_B32_e32 4, implicit $exec
533 $exec = S_MOV_B64_term killed $sgpr2_sgpr3
534 S_CBRANCH_EXECZ %bb.2, implicit $exec
542 $vgpr0 = BUFFER_LOAD_DWORD_OFFSET $sgpr4_sgpr5_sgpr6_sgpr7, 0, 0, 0, 0, 0, implicit $exec
547 $exec = S_OR_B64 $exec, killed $sgpr0_sgpr1, implicit-def $scc
550 BUFFER_STORE_DWORD_OFFSET killed $vgpr0, $sgpr0_sgpr1_sgpr2_sgpr3, 0, 0, 0, 0, 0, implicit $exec