• Home
  • Raw
  • Download

Lines Matching refs:SI

1 …arch=amdgcn -verify-machineinstrs -enable-misched -asm-verbose < %s | FileCheck -check-prefix=SI %s
5 ; SI-LABEL: @test_if
8 ; SI-NOT: s_mov_b64 s[{{[0-9]:[0-9]}}], -1
9 ; SI: v_mov_b32_e32 v{{[0-9]}}, -1
45 ; SI-LABEL: @simple_test_v_if
46 ; SI: v_cmp_ne_i32_e32 vcc, 0, v{{[0-9]+}}
47 ; SI: s_and_saveexec_b64 [[BR_SREG:s\[[0-9]+:[0-9]+\]]], vcc
48 ; SI: s_xor_b64 [[BR_SREG]], exec, [[BR_SREG]]
50 ; SI: ; BB#1
51 ; SI: buffer_store_dword
52 ; SI: s_endpgm
54 ; SI: BB1_2:
55 ; SI: s_or_b64 exec, exec, [[BR_SREG]]
56 ; SI: s_endpgm
71 ; SI-LABEL: @simple_test_v_loop
72 ; SI: v_cmp_ne_i32_e32 vcc, 0, v{{[0-9]+}}
73 ; SI: s_and_saveexec_b64 [[BR_SREG:s\[[0-9]+:[0-9]+\]]], vcc
74 ; SI: s_xor_b64 [[BR_SREG]], exec, [[BR_SREG]]
75 ; SI: s_cbranch_execz [[LABEL_EXIT:BB[0-9]+_[0-9]+]]
77 ; SI: s_mov_b64 {{s\[[0-9]+:[0-9]+\]}}, 0{{$}}
79 ; SI: [[LABEL_LOOP:BB[0-9]+_[0-9]+]]:
80 ; SI: buffer_load_dword
81 ; SI-DAG: buffer_store_dword
82 ; SI-DAG: v_cmp_eq_i32_e32 vcc,
83 ; SI-DAG: s_and_b64 vcc, exec, vcc
84 ; SI: s_cbranch_vccz [[LABEL_LOOP]]
85 ; SI: [[LABEL_EXIT]]:
86 ; SI: s_endpgm
109 ; SI-LABEL: @multi_vcond_loop
113 ; SI: ; BB#0:
114 ; SI: buffer_load_dword [[VBOUND:v[0-9]+]]
115 ; SI: v_cmp_lt_i32_e32 vcc
116 ; SI: s_and_saveexec_b64 [[OUTER_CMP_SREG:s\[[0-9]+:[0-9]+\]]], vcc
117 ; SI: s_xor_b64 [[OUTER_CMP_SREG]], exec, [[OUTER_CMP_SREG]]
118 ; SI: s_cbranch_execz [[LABEL_EXIT:BB[0-9]+_[0-9]+]]
121 ; SI: ; BB#1:
122 ; SI: s_mov_b64 [[ZERO:s\[[0-9]+:[0-9]+\]]], 0{{$}}
123 ; SI: s_mov_b64 [[COND_STATE:s\[[0-9]+:[0-9]+\]]], [[ZERO]]
126 ; SI: [[LABEL_LOOP:BB[0-9]+_[0-9]+]]:
127 ; SI: buffer_load_dword [[B:v[0-9]+]]
128 ; SI: buffer_load_dword [[A:v[0-9]+]]
129 ; SI-DAG: v_cmp_ne_i32_e64 [[NEG1_CHECK_0:s\[[0-9]+:[0-9]+\]]], -1, [[A]]
130 ; SI-DAG: v_cmp_ne_i32_e32 [[NEG1_CHECK_1:vcc]], -1, [[B]]
131 ; SI: s_and_b64 [[ORNEG1:s\[[0-9]+:[0-9]+\]]], [[NEG1_CHECK_1]], [[NEG1_CHECK_0]]
132 ; SI: s_and_saveexec_b64 [[ORNEG2:s\[[0-9]+:[0-9]+\]]], [[ORNEG1]]
133 ; SI: s_xor_b64 [[ORNEG2]], exec, [[ORNEG2]]
134 ; SI: s_cbranch_execz [[LABEL_FLOW:BB[0-9]+_[0-9]+]]
136 ; SI: BB#3:
137 ; SI: buffer_store_dword
138 ; SI: v_cmp_ge_i64_e32 [[CMP:s\[[0-9]+:[0-9]+\]|vcc]]
139 ; SI: s_or_b64 [[TMP:s\[[0-9]+:[0-9]+\]]], [[CMP]], [[COND_STATE]]
141 ; SI: [[LABEL_FLOW]]:
142 ; SI: s_or_b64 exec, exec, [[ORNEG2]]
143 ; SI: s_or_b64 [[COND_STATE]], [[ORNEG2]], [[TMP]]
144 ; SI: s_andn2_b64 exec, exec, [[COND_STATE]]
145 ; SI: s_cbranch_execnz [[LABEL_LOOP]]
147 ; SI: BB#5
148 ; SI: s_or_b64 exec, exec, [[COND_STATE]]
150 ; SI: [[LABEL_EXIT]]:
151 ; SI-NOT: [[COND_STATE]]
152 ; SI: s_endpgm