1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: sed 's/iXLen/i32/g' %s | llc -mtriple=riscv32 -mattr=+v,+zvfh,+xsfvcp \
3 ; RUN: -verify-machineinstrs | FileCheck %s
4 ; RUN: sed 's/iXLen/i64/g' %s | llc -mtriple=riscv64 -mattr=+v,+zvfh,+xsfvcp \
5 ; RUN: -verify-machineinstrs | FileCheck %s
7 define void @test_sf_vc_x_se_e8mf8(i8 zeroext %rs1, iXLen %vl) {
8 ; CHECK-LABEL: test_sf_vc_x_se_e8mf8:
9 ; CHECK: # %bb.0: # %entry
10 ; CHECK-NEXT: vsetvli zero, a1, e8, mf8, ta, ma
11 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
14 tail call void @llvm.riscv.sf.vc.x.se.e8mf8.iXLen.i8.iXLen(iXLen 3, iXLen 31, iXLen 31, i8 %rs1, iXLen 8, iXLen 5, iXLen %vl)
18 declare void @llvm.riscv.sf.vc.x.se.e8mf8.iXLen.i8.iXLen(iXLen, iXLen, iXLen, i8, iXLen, iXLen, iXLen)
20 define void @test_sf_vc_x_se_e8mf4(i8 zeroext %rs1, iXLen %vl) {
21 ; CHECK-LABEL: test_sf_vc_x_se_e8mf4:
22 ; CHECK: # %bb.0: # %entry
23 ; CHECK-NEXT: vsetvli zero, a1, e8, mf4, ta, ma
24 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
27 tail call void @llvm.riscv.sf.vc.x.se.e8mf4.iXLen.i8.iXLen(iXLen 3, iXLen 31, iXLen 31, i8 %rs1, iXLen 8, iXLen 6, iXLen %vl)
31 declare void @llvm.riscv.sf.vc.x.se.e8mf4.iXLen.i8.iXLen(iXLen, iXLen, iXLen, i8, iXLen, iXLen, iXLen)
33 define void @test_sf_vc_x_se_e8mf2(i8 zeroext %rs1, iXLen %vl) {
34 ; CHECK-LABEL: test_sf_vc_x_se_e8mf2:
35 ; CHECK: # %bb.0: # %entry
36 ; CHECK-NEXT: vsetvli zero, a1, e8, mf2, ta, ma
37 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
40 tail call void @llvm.riscv.sf.vc.x.se.e8mf2.iXLen.i8.iXLen(iXLen 3, iXLen 31, iXLen 31, i8 %rs1, iXLen 8, iXLen 7, iXLen %vl)
44 declare void @llvm.riscv.sf.vc.x.se.e8mf2.iXLen.i8.iXLen(iXLen, iXLen, iXLen, i8, iXLen, iXLen, iXLen)
46 define void @test_sf_vc_x_se_e8m1(i8 zeroext %rs1, iXLen %vl) {
47 ; CHECK-LABEL: test_sf_vc_x_se_e8m1:
48 ; CHECK: # %bb.0: # %entry
49 ; CHECK-NEXT: vsetvli zero, a1, e8, m1, ta, ma
50 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
53 tail call void @llvm.riscv.sf.vc.x.se.e8m1.iXLen.i8.iXLen(iXLen 3, iXLen 31, iXLen 31, i8 %rs1, iXLen 8, iXLen 0, iXLen %vl)
57 declare void @llvm.riscv.sf.vc.x.se.e8m1.iXLen.i8.iXLen(iXLen, iXLen, iXLen, i8, iXLen, iXLen, iXLen)
59 define void @test_sf_vc_x_se_e8m2(i8 zeroext %rs1, iXLen %vl) {
60 ; CHECK-LABEL: test_sf_vc_x_se_e8m2:
61 ; CHECK: # %bb.0: # %entry
62 ; CHECK-NEXT: vsetvli zero, a1, e8, m2, ta, ma
63 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
66 tail call void @llvm.riscv.sf.vc.x.se.e8m2.iXLen.i8.iXLen(iXLen 3, iXLen 31, iXLen 31, i8 %rs1, iXLen 8, iXLen 1, iXLen %vl)
70 declare void @llvm.riscv.sf.vc.x.se.e8m2.iXLen.i8.iXLen(iXLen, iXLen, iXLen, i8, iXLen, iXLen, iXLen)
72 define void @test_sf_vc_x_se_e8m4(i8 zeroext %rs1, iXLen %vl) {
73 ; CHECK-LABEL: test_sf_vc_x_se_e8m4:
74 ; CHECK: # %bb.0: # %entry
75 ; CHECK-NEXT: vsetvli zero, a1, e8, m4, ta, ma
76 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
79 tail call void @llvm.riscv.sf.vc.x.se.e8m4.iXLen.i8.iXLen(iXLen 3, iXLen 31, iXLen 31, i8 %rs1, iXLen 8, iXLen 2, iXLen %vl)
83 declare void @llvm.riscv.sf.vc.x.se.e8m4.iXLen.i8.iXLen(iXLen, iXLen, iXLen, i8, iXLen, iXLen, iXLen)
85 define void @test_sf_vc_x_se_e8m8(i8 zeroext %rs1, iXLen %vl) {
86 ; CHECK-LABEL: test_sf_vc_x_se_e8m8:
87 ; CHECK: # %bb.0: # %entry
88 ; CHECK-NEXT: vsetvli zero, a1, e8, m8, ta, ma
89 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
92 tail call void @llvm.riscv.sf.vc.x.se.e8m8.iXLen.i8.iXLen(iXLen 3, iXLen 31, iXLen 31, i8 %rs1, iXLen 8, iXLen 3, iXLen %vl)
96 declare void @llvm.riscv.sf.vc.x.se.e8m8.iXLen.i8.iXLen(iXLen, iXLen, iXLen, i8, iXLen, iXLen, iXLen)
98 define void @test_sf_vc_x_se_e16mf4(i16 zeroext %rs1, iXLen %vl) {
99 ; CHECK-LABEL: test_sf_vc_x_se_e16mf4:
100 ; CHECK: # %bb.0: # %entry
101 ; CHECK-NEXT: vsetvli zero, a1, e16, mf4, ta, ma
102 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
105 tail call void @llvm.riscv.sf.vc.x.se.e16mf4.iXLen.i16.iXLen(iXLen 3, iXLen 31, iXLen 31, i16 %rs1, iXLen 16, iXLen 6, iXLen %vl)
109 declare void @llvm.riscv.sf.vc.x.se.e16mf4.iXLen.i16.iXLen(iXLen, iXLen, iXLen, i16, iXLen, iXLen, iXLen)
111 define void @test_sf_vc_x_se_e16mf2(i16 zeroext %rs1, iXLen %vl) {
112 ; CHECK-LABEL: test_sf_vc_x_se_e16mf2:
113 ; CHECK: # %bb.0: # %entry
114 ; CHECK-NEXT: vsetvli zero, a1, e16, mf2, ta, ma
115 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
118 tail call void @llvm.riscv.sf.vc.x.se.e16mf2.iXLen.i16.iXLen(iXLen 3, iXLen 31, iXLen 31, i16 %rs1, iXLen 16, iXLen 7, iXLen %vl)
122 declare void @llvm.riscv.sf.vc.x.se.e16mf2.iXLen.i16.iXLen(iXLen, iXLen, iXLen, i16, iXLen, iXLen, iXLen)
124 define void @test_sf_vc_x_se_e16m1(i16 zeroext %rs1, iXLen %vl) {
125 ; CHECK-LABEL: test_sf_vc_x_se_e16m1:
126 ; CHECK: # %bb.0: # %entry
127 ; CHECK-NEXT: vsetvli zero, a1, e16, m1, ta, ma
128 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
131 tail call void @llvm.riscv.sf.vc.x.se.e16m1.iXLen.i16.iXLen(iXLen 3, iXLen 31, iXLen 31, i16 %rs1, iXLen 16, iXLen 0, iXLen %vl)
135 declare void @llvm.riscv.sf.vc.x.se.e16m1.iXLen.i16.iXLen(iXLen, iXLen, iXLen, i16, iXLen, iXLen, iXLen)
137 define void @test_sf_vc_x_se_e16m2(i16 zeroext %rs1, iXLen %vl) {
138 ; CHECK-LABEL: test_sf_vc_x_se_e16m2:
139 ; CHECK: # %bb.0: # %entry
140 ; CHECK-NEXT: vsetvli zero, a1, e16, m2, ta, ma
141 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
144 tail call void @llvm.riscv.sf.vc.x.se.e16m2.iXLen.i16.iXLen(iXLen 3, iXLen 31, iXLen 31, i16 %rs1, iXLen 16, iXLen 1, iXLen %vl)
148 declare void @llvm.riscv.sf.vc.x.se.e16m2.iXLen.i16.iXLen(iXLen, iXLen, iXLen, i16, iXLen, iXLen, iXLen)
150 define void @test_sf_vc_x_se_e16m4(i16 zeroext %rs1, iXLen %vl) {
151 ; CHECK-LABEL: test_sf_vc_x_se_e16m4:
152 ; CHECK: # %bb.0: # %entry
153 ; CHECK-NEXT: vsetvli zero, a1, e16, m4, ta, ma
154 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
157 tail call void @llvm.riscv.sf.vc.x.se.e16m4.iXLen.i16.iXLen(iXLen 3, iXLen 31, iXLen 31, i16 %rs1, iXLen 16, iXLen 2, iXLen %vl)
161 declare void @llvm.riscv.sf.vc.x.se.e16m4.iXLen.i16.iXLen(iXLen, iXLen, iXLen, i16, iXLen, iXLen, iXLen)
163 define void @test_sf_vc_x_se_e16m8(i16 zeroext %rs1, iXLen %vl) {
164 ; CHECK-LABEL: test_sf_vc_x_se_e16m8:
165 ; CHECK: # %bb.0: # %entry
166 ; CHECK-NEXT: vsetvli zero, a1, e16, m8, ta, ma
167 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
170 tail call void @llvm.riscv.sf.vc.x.se.e16m8.iXLen.i16.iXLen(iXLen 3, iXLen 31, iXLen 31, i16 %rs1, iXLen 16, iXLen 3, iXLen %vl)
174 declare void @llvm.riscv.sf.vc.x.se.e16m8.iXLen.i16.iXLen(iXLen, iXLen, iXLen, i16, iXLen, iXLen, iXLen)
176 define void @test_sf_vc_x_se_e32mf2(i32 signext %rs1, iXLen %vl) {
177 ; CHECK-LABEL: test_sf_vc_x_se_e32mf2:
178 ; CHECK: # %bb.0: # %entry
179 ; CHECK-NEXT: vsetvli zero, a1, e32, mf2, ta, ma
180 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
183 tail call void @llvm.riscv.sf.vc.x.se.e32mf2.iXLen.i32.iXLen(iXLen 3, iXLen 31, iXLen 31, i32 %rs1, iXLen 32, iXLen 7, iXLen %vl)
187 declare void @llvm.riscv.sf.vc.x.se.e32mf2.iXLen.i32.iXLen(iXLen, iXLen, iXLen, i32, iXLen, iXLen, iXLen)
189 define void @test_sf_vc_x_se_e32m1(i32 signext %rs1, iXLen %vl) {
190 ; CHECK-LABEL: test_sf_vc_x_se_e32m1:
191 ; CHECK: # %bb.0: # %entry
192 ; CHECK-NEXT: vsetvli zero, a1, e32, m1, ta, ma
193 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
196 tail call void @llvm.riscv.sf.vc.x.se.e32m1.iXLen.i32.iXLen(iXLen 3, iXLen 31, iXLen 31, i32 %rs1, iXLen 32, iXLen 0, iXLen %vl)
200 declare void @llvm.riscv.sf.vc.x.se.e32m1.iXLen.i32.iXLen(iXLen, iXLen, iXLen, i32, iXLen, iXLen, iXLen)
202 define void @test_sf_vc_x_se_e32m2(i32 signext %rs1, iXLen %vl) {
203 ; CHECK-LABEL: test_sf_vc_x_se_e32m2:
204 ; CHECK: # %bb.0: # %entry
205 ; CHECK-NEXT: vsetvli zero, a1, e32, m2, ta, ma
206 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
209 tail call void @llvm.riscv.sf.vc.x.se.e32m2.iXLen.i32.iXLen(iXLen 3, iXLen 31, iXLen 31, i32 %rs1, iXLen 32, iXLen 1, iXLen %vl)
213 declare void @llvm.riscv.sf.vc.x.se.e32m2.iXLen.i32.iXLen(iXLen, iXLen, iXLen, i32, iXLen, iXLen, iXLen)
215 define void @test_sf_vc_x_se_e32m4(i32 signext %rs1, iXLen %vl) {
216 ; CHECK-LABEL: test_sf_vc_x_se_e32m4:
217 ; CHECK: # %bb.0: # %entry
218 ; CHECK-NEXT: vsetvli zero, a1, e32, m4, ta, ma
219 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
222 tail call void @llvm.riscv.sf.vc.x.se.e32m4.iXLen.i32.iXLen(iXLen 3, iXLen 31, iXLen 31, i32 %rs1, iXLen 32, iXLen 2, iXLen %vl)
226 declare void @llvm.riscv.sf.vc.x.se.e32m4.iXLen.i32.iXLen(iXLen, iXLen, iXLen, i32, iXLen, iXLen, iXLen)
228 define void @test_sf_vc_x_se_e32m8(i32 signext %rs1, iXLen %vl) {
229 ; CHECK-LABEL: test_sf_vc_x_se_e32m8:
230 ; CHECK: # %bb.0: # %entry
231 ; CHECK-NEXT: vsetvli zero, a1, e32, m8, ta, ma
232 ; CHECK-NEXT: sf.vc.x 3, 31, 31, a0
235 tail call void @llvm.riscv.sf.vc.x.se.e32m8.iXLen.i32.iXLen(iXLen 3, iXLen 31, iXLen 31, i32 %rs1, iXLen 32, iXLen 3, iXLen %vl)
239 declare void @llvm.riscv.sf.vc.x.se.e32m8.iXLen.i32.iXLen(iXLen, iXLen, iXLen, i32, iXLen, iXLen, iXLen)
241 define <1 x i8> @test_sf_vc_v_x_se_e8mf8(i8 zeroext %rs1, iXLen %vl) {
242 ; CHECK-LABEL: test_sf_vc_v_x_se_e8mf8:
243 ; CHECK: # %bb.0: # %entry
244 ; CHECK-NEXT: vsetvli zero, a1, e8, mf8, ta, ma
245 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
248 %0 = tail call <1 x i8> @llvm.riscv.sf.vc.v.x.se.nxv1i8.iXLen.i8.iXLen(iXLen 3, iXLen 31, i8 %rs1, iXLen %vl)
252 declare <1 x i8> @llvm.riscv.sf.vc.v.x.se.nxv1i8.iXLen.i8.iXLen(iXLen, iXLen, i8, iXLen)
254 define <2 x i8> @test_sf_vc_v_x_se_e8mf4(i8 zeroext %rs1, iXLen %vl) {
255 ; CHECK-LABEL: test_sf_vc_v_x_se_e8mf4:
256 ; CHECK: # %bb.0: # %entry
257 ; CHECK-NEXT: vsetvli zero, a1, e8, mf8, ta, ma
258 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
261 %0 = tail call <2 x i8> @llvm.riscv.sf.vc.v.x.se.nxv2i8.iXLen.i8.iXLen(iXLen 3, iXLen 31, i8 %rs1, iXLen %vl)
265 declare <2 x i8> @llvm.riscv.sf.vc.v.x.se.nxv2i8.iXLen.i8.iXLen(iXLen, iXLen, i8, iXLen)
267 define <4 x i8> @test_sf_vc_v_x_se_e8mf2(i8 zeroext %rs1, iXLen %vl) {
268 ; CHECK-LABEL: test_sf_vc_v_x_se_e8mf2:
269 ; CHECK: # %bb.0: # %entry
270 ; CHECK-NEXT: vsetvli zero, a1, e8, mf4, ta, ma
271 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
274 %0 = tail call <4 x i8> @llvm.riscv.sf.vc.v.x.se.nxv4i8.iXLen.i8.iXLen(iXLen 3, iXLen 31, i8 %rs1, iXLen %vl)
278 declare <4 x i8> @llvm.riscv.sf.vc.v.x.se.nxv4i8.iXLen.i8.iXLen(iXLen, iXLen, i8, iXLen)
280 define <8 x i8> @test_sf_vc_v_x_se_e8m1(i8 zeroext %rs1, iXLen %vl) {
281 ; CHECK-LABEL: test_sf_vc_v_x_se_e8m1:
282 ; CHECK: # %bb.0: # %entry
283 ; CHECK-NEXT: vsetvli zero, a1, e8, mf2, ta, ma
284 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
287 %0 = tail call <8 x i8> @llvm.riscv.sf.vc.v.x.se.nxv8i8.iXLen.i8.iXLen(iXLen 3, iXLen 31, i8 %rs1, iXLen %vl)
291 declare <8 x i8> @llvm.riscv.sf.vc.v.x.se.nxv8i8.iXLen.i8.iXLen(iXLen, iXLen, i8, iXLen)
293 define <16 x i8> @test_sf_vc_v_x_se_e8m2(i8 zeroext %rs1, iXLen %vl) {
294 ; CHECK-LABEL: test_sf_vc_v_x_se_e8m2:
295 ; CHECK: # %bb.0: # %entry
296 ; CHECK-NEXT: vsetvli zero, a1, e8, m1, ta, ma
297 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
300 %0 = tail call <16 x i8> @llvm.riscv.sf.vc.v.x.se.nxv16i8.iXLen.i8.iXLen(iXLen 3, iXLen 31, i8 %rs1, iXLen %vl)
304 declare <16 x i8> @llvm.riscv.sf.vc.v.x.se.nxv16i8.iXLen.i8.iXLen(iXLen, iXLen, i8, iXLen)
306 define <32 x i8> @test_sf_vc_v_x_se_e8m4(i8 zeroext %rs1, iXLen %vl) {
307 ; CHECK-LABEL: test_sf_vc_v_x_se_e8m4:
308 ; CHECK: # %bb.0: # %entry
309 ; CHECK-NEXT: vsetvli zero, a1, e8, m2, ta, ma
310 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
313 %0 = tail call <32 x i8> @llvm.riscv.sf.vc.v.x.se.nxv32i8.iXLen.i8.iXLen(iXLen 3, iXLen 31, i8 %rs1, iXLen %vl)
317 declare <32 x i8> @llvm.riscv.sf.vc.v.x.se.nxv32i8.iXLen.i8.iXLen(iXLen, iXLen, i8, iXLen)
319 define <64 x i8> @test_sf_vc_v_x_se_e8m8(i8 zeroext %rs1, iXLen %vl) {
320 ; CHECK-LABEL: test_sf_vc_v_x_se_e8m8:
321 ; CHECK: # %bb.0: # %entry
322 ; CHECK-NEXT: vsetvli zero, a1, e8, m4, ta, ma
323 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
326 %0 = tail call <64 x i8> @llvm.riscv.sf.vc.v.x.se.nxv64i8.iXLen.i8.iXLen(iXLen 3, iXLen 31, i8 %rs1, iXLen %vl)
330 declare <64 x i8> @llvm.riscv.sf.vc.v.x.se.nxv64i8.iXLen.i8.iXLen(iXLen, iXLen, i8, iXLen)
332 define <1 x i16> @test_sf_vc_v_x_se_e16mf4(i16 zeroext %rs1, iXLen %vl) {
333 ; CHECK-LABEL: test_sf_vc_v_x_se_e16mf4:
334 ; CHECK: # %bb.0: # %entry
335 ; CHECK-NEXT: vsetvli zero, a1, e16, mf4, ta, ma
336 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
339 %0 = tail call <1 x i16> @llvm.riscv.sf.vc.v.x.se.nxv1i16.iXLen.i16.iXLen(iXLen 3, iXLen 31, i16 %rs1, iXLen %vl)
343 declare <1 x i16> @llvm.riscv.sf.vc.v.x.se.nxv1i16.iXLen.i16.iXLen(iXLen, iXLen, i16, iXLen)
345 define <2 x i16> @test_sf_vc_v_x_se_e16mf2(i16 zeroext %rs1, iXLen %vl) {
346 ; CHECK-LABEL: test_sf_vc_v_x_se_e16mf2:
347 ; CHECK: # %bb.0: # %entry
348 ; CHECK-NEXT: vsetvli zero, a1, e16, mf4, ta, ma
349 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
352 %0 = tail call <2 x i16> @llvm.riscv.sf.vc.v.x.se.nxv2i16.iXLen.i16.iXLen(iXLen 3, iXLen 31, i16 %rs1, iXLen %vl)
356 declare <2 x i16> @llvm.riscv.sf.vc.v.x.se.nxv2i16.iXLen.i16.iXLen(iXLen, iXLen, i16, iXLen)
358 define <4 x i16> @test_sf_vc_v_x_se_e16m1(i16 zeroext %rs1, iXLen %vl) {
359 ; CHECK-LABEL: test_sf_vc_v_x_se_e16m1:
360 ; CHECK: # %bb.0: # %entry
361 ; CHECK-NEXT: vsetvli zero, a1, e16, mf2, ta, ma
362 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
365 %0 = tail call <4 x i16> @llvm.riscv.sf.vc.v.x.se.nxv4i16.iXLen.i16.iXLen(iXLen 3, iXLen 31, i16 %rs1, iXLen %vl)
369 declare <4 x i16> @llvm.riscv.sf.vc.v.x.se.nxv4i16.iXLen.i16.iXLen(iXLen, iXLen, i16, iXLen)
371 define <8 x i16> @test_sf_vc_v_x_se_e16m2(i16 zeroext %rs1, iXLen %vl) {
372 ; CHECK-LABEL: test_sf_vc_v_x_se_e16m2:
373 ; CHECK: # %bb.0: # %entry
374 ; CHECK-NEXT: vsetvli zero, a1, e16, m1, ta, ma
375 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
378 %0 = tail call <8 x i16> @llvm.riscv.sf.vc.v.x.se.nxv8i16.iXLen.i16.iXLen(iXLen 3, iXLen 31, i16 %rs1, iXLen %vl)
382 declare <8 x i16> @llvm.riscv.sf.vc.v.x.se.nxv8i16.iXLen.i16.iXLen(iXLen, iXLen, i16, iXLen)
384 define <16 x i16> @test_sf_vc_v_x_se_e16m4(i16 zeroext %rs1, iXLen %vl) {
385 ; CHECK-LABEL: test_sf_vc_v_x_se_e16m4:
386 ; CHECK: # %bb.0: # %entry
387 ; CHECK-NEXT: vsetvli zero, a1, e16, m2, ta, ma
388 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
391 %0 = tail call <16 x i16> @llvm.riscv.sf.vc.v.x.se.nxv16i16.iXLen.i16.iXLen(iXLen 3, iXLen 31, i16 %rs1, iXLen %vl)
395 declare <16 x i16> @llvm.riscv.sf.vc.v.x.se.nxv16i16.iXLen.i16.iXLen(iXLen, iXLen, i16, iXLen)
397 define <32 x i16> @test_sf_vc_v_x_se_e16m8(i16 zeroext %rs1, iXLen %vl) {
398 ; CHECK-LABEL: test_sf_vc_v_x_se_e16m8:
399 ; CHECK: # %bb.0: # %entry
400 ; CHECK-NEXT: vsetvli zero, a1, e16, m4, ta, ma
401 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
404 %0 = tail call <32 x i16> @llvm.riscv.sf.vc.v.x.se.nxv32i16.iXLen.i16.iXLen(iXLen 3, iXLen 31, i16 %rs1, iXLen %vl)
408 declare <32 x i16> @llvm.riscv.sf.vc.v.x.se.nxv32i16.iXLen.i16.iXLen(iXLen, iXLen, i16, iXLen)
410 define <1 x i32> @test_sf_vc_v_x_se_e32mf2(i32 signext %rs1, iXLen %vl) {
411 ; CHECK-LABEL: test_sf_vc_v_x_se_e32mf2:
412 ; CHECK: # %bb.0: # %entry
413 ; CHECK-NEXT: vsetvli zero, a1, e32, mf2, ta, ma
414 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
417 %0 = tail call <1 x i32> @llvm.riscv.sf.vc.v.x.se.nxv1i32.iXLen.i32.iXLen(iXLen 3, iXLen 31, i32 %rs1, iXLen %vl)
421 declare <1 x i32> @llvm.riscv.sf.vc.v.x.se.nxv1i32.iXLen.i32.iXLen(iXLen, iXLen, i32, iXLen)
423 define <2 x i32> @test_sf_vc_v_x_se_e32m1(i32 signext %rs1, iXLen %vl) {
424 ; CHECK-LABEL: test_sf_vc_v_x_se_e32m1:
425 ; CHECK: # %bb.0: # %entry
426 ; CHECK-NEXT: vsetvli zero, a1, e32, mf2, ta, ma
427 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
430 %0 = tail call <2 x i32> @llvm.riscv.sf.vc.v.x.se.nxv2i32.iXLen.i32.iXLen(iXLen 3, iXLen 31, i32 %rs1, iXLen %vl)
434 declare <2 x i32> @llvm.riscv.sf.vc.v.x.se.nxv2i32.iXLen.i32.iXLen(iXLen, iXLen, i32, iXLen)
436 define <4 x i32> @test_sf_vc_v_x_se_e32m2(i32 signext %rs1, iXLen %vl) {
437 ; CHECK-LABEL: test_sf_vc_v_x_se_e32m2:
438 ; CHECK: # %bb.0: # %entry
439 ; CHECK-NEXT: vsetvli zero, a1, e32, m1, ta, ma
440 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
443 %0 = tail call <4 x i32> @llvm.riscv.sf.vc.v.x.se.nxv4i32.iXLen.i32.iXLen(iXLen 3, iXLen 31, i32 %rs1, iXLen %vl)
447 declare <4 x i32> @llvm.riscv.sf.vc.v.x.se.nxv4i32.iXLen.i32.iXLen(iXLen, iXLen, i32, iXLen)
449 define <8 x i32> @test_sf_vc_v_x_se_e32m4(i32 signext %rs1, iXLen %vl) {
450 ; CHECK-LABEL: test_sf_vc_v_x_se_e32m4:
451 ; CHECK: # %bb.0: # %entry
452 ; CHECK-NEXT: vsetvli zero, a1, e32, m2, ta, ma
453 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
456 %0 = tail call <8 x i32> @llvm.riscv.sf.vc.v.x.se.nxv8i32.iXLen.i32.iXLen(iXLen 3, iXLen 31, i32 %rs1, iXLen %vl)
460 declare <8 x i32> @llvm.riscv.sf.vc.v.x.se.nxv8i32.iXLen.i32.iXLen(iXLen, iXLen, i32, iXLen)
462 define <16 x i32> @test_sf_vc_v_x_se_e32m8(i32 signext %rs1, iXLen %vl) {
463 ; CHECK-LABEL: test_sf_vc_v_x_se_e32m8:
464 ; CHECK: # %bb.0: # %entry
465 ; CHECK-NEXT: vsetvli zero, a1, e32, m4, ta, ma
466 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
469 %0 = tail call <16 x i32> @llvm.riscv.sf.vc.v.x.se.nxv16i32.iXLen.i32.iXLen(iXLen 3, iXLen 31, i32 %rs1, iXLen %vl)
473 declare <16 x i32> @llvm.riscv.sf.vc.v.x.se.nxv16i32.iXLen.i32.iXLen(iXLen, iXLen, i32, iXLen)
475 define <1 x i8> @test_sf_vc_v_x_e8mf8(i8 zeroext %rs1, iXLen %vl) {
476 ; CHECK-LABEL: test_sf_vc_v_x_e8mf8:
477 ; CHECK: # %bb.0: # %entry
478 ; CHECK-NEXT: vsetvli zero, a1, e8, mf8, ta, ma
479 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
482 %0 = tail call <1 x i8> @llvm.riscv.sf.vc.v.x.nxv1i8.iXLen.i8.iXLen(iXLen 3, iXLen 31, i8 %rs1, iXLen %vl)
486 declare <1 x i8> @llvm.riscv.sf.vc.v.x.nxv1i8.iXLen.i8.iXLen(iXLen, iXLen, i8, iXLen)
488 define <2 x i8> @test_sf_vc_v_x_e8mf4(i8 zeroext %rs1, iXLen %vl) {
489 ; CHECK-LABEL: test_sf_vc_v_x_e8mf4:
490 ; CHECK: # %bb.0: # %entry
491 ; CHECK-NEXT: vsetvli zero, a1, e8, mf8, ta, ma
492 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
495 %0 = tail call <2 x i8> @llvm.riscv.sf.vc.v.x.nxv2i8.iXLen.i8.iXLen(iXLen 3, iXLen 31, i8 %rs1, iXLen %vl)
499 declare <2 x i8> @llvm.riscv.sf.vc.v.x.nxv2i8.iXLen.i8.iXLen(iXLen, iXLen, i8, iXLen)
501 define <4 x i8> @test_sf_vc_v_x_e8mf2(i8 zeroext %rs1, iXLen %vl) {
502 ; CHECK-LABEL: test_sf_vc_v_x_e8mf2:
503 ; CHECK: # %bb.0: # %entry
504 ; CHECK-NEXT: vsetvli zero, a1, e8, mf4, ta, ma
505 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
508 %0 = tail call <4 x i8> @llvm.riscv.sf.vc.v.x.nxv4i8.iXLen.i8.iXLen(iXLen 3, iXLen 31, i8 %rs1, iXLen %vl)
512 declare <4 x i8> @llvm.riscv.sf.vc.v.x.nxv4i8.iXLen.i8.iXLen(iXLen, iXLen, i8, iXLen)
514 define <8 x i8> @test_sf_vc_v_x_e8m1(i8 zeroext %rs1, iXLen %vl) {
515 ; CHECK-LABEL: test_sf_vc_v_x_e8m1:
516 ; CHECK: # %bb.0: # %entry
517 ; CHECK-NEXT: vsetvli zero, a1, e8, mf2, ta, ma
518 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
521 %0 = tail call <8 x i8> @llvm.riscv.sf.vc.v.x.nxv8i8.iXLen.i8.iXLen(iXLen 3, iXLen 31, i8 %rs1, iXLen %vl)
525 declare <8 x i8> @llvm.riscv.sf.vc.v.x.nxv8i8.iXLen.i8.iXLen(iXLen, iXLen, i8, iXLen)
527 define <16 x i8> @test_sf_vc_v_x_e8m2(i8 zeroext %rs1, iXLen %vl) {
528 ; CHECK-LABEL: test_sf_vc_v_x_e8m2:
529 ; CHECK: # %bb.0: # %entry
530 ; CHECK-NEXT: vsetvli zero, a1, e8, m1, ta, ma
531 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
534 %0 = tail call <16 x i8> @llvm.riscv.sf.vc.v.x.nxv16i8.iXLen.i8.iXLen(iXLen 3, iXLen 31, i8 %rs1, iXLen %vl)
538 declare <16 x i8> @llvm.riscv.sf.vc.v.x.nxv16i8.iXLen.i8.iXLen(iXLen, iXLen, i8, iXLen)
540 define <32 x i8> @test_sf_vc_v_x_e8m4(i8 zeroext %rs1, iXLen %vl) {
541 ; CHECK-LABEL: test_sf_vc_v_x_e8m4:
542 ; CHECK: # %bb.0: # %entry
543 ; CHECK-NEXT: vsetvli zero, a1, e8, m2, ta, ma
544 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
547 %0 = tail call <32 x i8> @llvm.riscv.sf.vc.v.x.nxv32i8.iXLen.i8.iXLen(iXLen 3, iXLen 31, i8 %rs1, iXLen %vl)
551 declare <32 x i8> @llvm.riscv.sf.vc.v.x.nxv32i8.iXLen.i8.iXLen(iXLen, iXLen, i8, iXLen)
553 define <64 x i8> @test_sf_vc_v_x_e8m8(i8 zeroext %rs1, iXLen %vl) {
554 ; CHECK-LABEL: test_sf_vc_v_x_e8m8:
555 ; CHECK: # %bb.0: # %entry
556 ; CHECK-NEXT: vsetvli zero, a1, e8, m4, ta, ma
557 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
560 %0 = tail call <64 x i8> @llvm.riscv.sf.vc.v.x.nxv64i8.iXLen.i8.iXLen(iXLen 3, iXLen 31, i8 %rs1, iXLen %vl)
564 declare <64 x i8> @llvm.riscv.sf.vc.v.x.nxv64i8.iXLen.i8.iXLen(iXLen, iXLen, i8, iXLen)
566 define <1 x i16> @test_sf_vc_v_x_e16mf4(i16 zeroext %rs1, iXLen %vl) {
567 ; CHECK-LABEL: test_sf_vc_v_x_e16mf4:
568 ; CHECK: # %bb.0: # %entry
569 ; CHECK-NEXT: vsetvli zero, a1, e16, mf4, ta, ma
570 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
573 %0 = tail call <1 x i16> @llvm.riscv.sf.vc.v.x.nxv1i16.iXLen.i16.iXLen(iXLen 3, iXLen 31, i16 %rs1, iXLen %vl)
577 declare <1 x i16> @llvm.riscv.sf.vc.v.x.nxv1i16.iXLen.i16.iXLen(iXLen, iXLen, i16, iXLen)
579 define <2 x i16> @test_sf_vc_v_x_e16mf2(i16 zeroext %rs1, iXLen %vl) {
580 ; CHECK-LABEL: test_sf_vc_v_x_e16mf2:
581 ; CHECK: # %bb.0: # %entry
582 ; CHECK-NEXT: vsetvli zero, a1, e16, mf4, ta, ma
583 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
586 %0 = tail call <2 x i16> @llvm.riscv.sf.vc.v.x.nxv2i16.iXLen.i16.iXLen(iXLen 3, iXLen 31, i16 %rs1, iXLen %vl)
590 declare <2 x i16> @llvm.riscv.sf.vc.v.x.nxv2i16.iXLen.i16.iXLen(iXLen, iXLen, i16, iXLen)
592 define <4 x i16> @test_sf_vc_v_x_e16m1(i16 zeroext %rs1, iXLen %vl) {
593 ; CHECK-LABEL: test_sf_vc_v_x_e16m1:
594 ; CHECK: # %bb.0: # %entry
595 ; CHECK-NEXT: vsetvli zero, a1, e16, mf2, ta, ma
596 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
599 %0 = tail call <4 x i16> @llvm.riscv.sf.vc.v.x.nxv4i16.iXLen.i16.iXLen(iXLen 3, iXLen 31, i16 %rs1, iXLen %vl)
603 declare <4 x i16> @llvm.riscv.sf.vc.v.x.nxv4i16.iXLen.i16.iXLen(iXLen, iXLen, i16, iXLen)
605 define <8 x i16> @test_sf_vc_v_x_e16m2(i16 zeroext %rs1, iXLen %vl) {
606 ; CHECK-LABEL: test_sf_vc_v_x_e16m2:
607 ; CHECK: # %bb.0: # %entry
608 ; CHECK-NEXT: vsetvli zero, a1, e16, m1, ta, ma
609 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
612 %0 = tail call <8 x i16> @llvm.riscv.sf.vc.v.x.nxv8i16.iXLen.i16.iXLen(iXLen 3, iXLen 31, i16 %rs1, iXLen %vl)
616 declare <8 x i16> @llvm.riscv.sf.vc.v.x.nxv8i16.iXLen.i16.iXLen(iXLen, iXLen, i16, iXLen)
618 define <16 x i16> @test_sf_vc_v_x_e16m4(i16 zeroext %rs1, iXLen %vl) {
619 ; CHECK-LABEL: test_sf_vc_v_x_e16m4:
620 ; CHECK: # %bb.0: # %entry
621 ; CHECK-NEXT: vsetvli zero, a1, e16, m2, ta, ma
622 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
625 %0 = tail call <16 x i16> @llvm.riscv.sf.vc.v.x.nxv16i16.iXLen.i16.iXLen(iXLen 3, iXLen 31, i16 %rs1, iXLen %vl)
629 declare <16 x i16> @llvm.riscv.sf.vc.v.x.nxv16i16.iXLen.i16.iXLen(iXLen, iXLen, i16, iXLen)
631 define <32 x i16> @test_sf_vc_v_x_e16m8(i16 zeroext %rs1, iXLen %vl) {
632 ; CHECK-LABEL: test_sf_vc_v_x_e16m8:
633 ; CHECK: # %bb.0: # %entry
634 ; CHECK-NEXT: vsetvli zero, a1, e16, m4, ta, ma
635 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
638 %0 = tail call <32 x i16> @llvm.riscv.sf.vc.v.x.nxv32i16.iXLen.i16.iXLen(iXLen 3, iXLen 31, i16 %rs1, iXLen %vl)
642 declare <32 x i16> @llvm.riscv.sf.vc.v.x.nxv32i16.iXLen.i16.iXLen(iXLen, iXLen, i16, iXLen)
644 define <1 x i32> @test_sf_vc_v_x_e32mf2(i32 signext %rs1, iXLen %vl) {
645 ; CHECK-LABEL: test_sf_vc_v_x_e32mf2:
646 ; CHECK: # %bb.0: # %entry
647 ; CHECK-NEXT: vsetvli zero, a1, e32, mf2, ta, ma
648 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
651 %0 = tail call <1 x i32> @llvm.riscv.sf.vc.v.x.nxv1i32.iXLen.i32.iXLen(iXLen 3, iXLen 31, i32 %rs1, iXLen %vl)
655 declare <1 x i32> @llvm.riscv.sf.vc.v.x.nxv1i32.iXLen.i32.iXLen(iXLen, iXLen, i32, iXLen)
657 define <2 x i32> @test_sf_vc_v_x_e32m1(i32 signext %rs1, iXLen %vl) {
658 ; CHECK-LABEL: test_sf_vc_v_x_e32m1:
659 ; CHECK: # %bb.0: # %entry
660 ; CHECK-NEXT: vsetvli zero, a1, e32, mf2, ta, ma
661 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
664 %0 = tail call <2 x i32> @llvm.riscv.sf.vc.v.x.nxv2i32.iXLen.i32.iXLen(iXLen 3, iXLen 31, i32 %rs1, iXLen %vl)
668 declare <2 x i32> @llvm.riscv.sf.vc.v.x.nxv2i32.iXLen.i32.iXLen(iXLen, iXLen, i32, iXLen)
670 define <4 x i32> @test_sf_vc_v_x_e32m2(i32 signext %rs1, iXLen %vl) {
671 ; CHECK-LABEL: test_sf_vc_v_x_e32m2:
672 ; CHECK: # %bb.0: # %entry
673 ; CHECK-NEXT: vsetvli zero, a1, e32, m1, ta, ma
674 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
677 %0 = tail call <4 x i32> @llvm.riscv.sf.vc.v.x.nxv4i32.iXLen.i32.iXLen(iXLen 3, iXLen 31, i32 %rs1, iXLen %vl)
681 declare <4 x i32> @llvm.riscv.sf.vc.v.x.nxv4i32.iXLen.i32.iXLen(iXLen, iXLen, i32, iXLen)
683 define <8 x i32> @test_sf_vc_v_x_e32m4(i32 signext %rs1, iXLen %vl) {
684 ; CHECK-LABEL: test_sf_vc_v_x_e32m4:
685 ; CHECK: # %bb.0: # %entry
686 ; CHECK-NEXT: vsetvli zero, a1, e32, m2, ta, ma
687 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
690 %0 = tail call <8 x i32> @llvm.riscv.sf.vc.v.x.nxv8i32.iXLen.i32.iXLen(iXLen 3, iXLen 31, i32 %rs1, iXLen %vl)
694 declare <8 x i32> @llvm.riscv.sf.vc.v.x.nxv8i32.iXLen.i32.iXLen(iXLen, iXLen, i32, iXLen)
696 define <16 x i32> @test_sf_vc_v_x_e32m8(i32 signext %rs1, iXLen %vl) {
697 ; CHECK-LABEL: test_sf_vc_v_x_e32m8:
698 ; CHECK: # %bb.0: # %entry
699 ; CHECK-NEXT: vsetvli zero, a1, e32, m4, ta, ma
700 ; CHECK-NEXT: sf.vc.v.x 3, 31, v8, a0
703 %0 = tail call <16 x i32> @llvm.riscv.sf.vc.v.x.nxv16i32.iXLen.i32.iXLen(iXLen 3, iXLen 31, i32 %rs1, iXLen %vl)
707 declare <16 x i32> @llvm.riscv.sf.vc.v.x.nxv16i32.iXLen.i32.iXLen(iXLen, iXLen, i32, iXLen)
709 define void @test_sf_vc_i_se_e8mf8(iXLen %vl) {
710 ; CHECK-LABEL: test_sf_vc_i_se_e8mf8:
711 ; CHECK: # %bb.0: # %entry
712 ; CHECK-NEXT: vsetvli zero, a0, e8, mf8, ta, ma
713 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
716 tail call void @llvm.riscv.sf.vc.i.se.e8mf8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 8, iXLen 5, iXLen %vl)
720 declare void @llvm.riscv.sf.vc.i.se.e8mf8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
722 define void @test_sf_vc_i_se_e8mf4(iXLen %vl) {
723 ; CHECK-LABEL: test_sf_vc_i_se_e8mf4:
724 ; CHECK: # %bb.0: # %entry
725 ; CHECK-NEXT: vsetvli zero, a0, e8, mf4, ta, ma
726 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
729 tail call void @llvm.riscv.sf.vc.i.se.e8mf4.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 8, iXLen 6, iXLen %vl)
733 declare void @llvm.riscv.sf.vc.i.se.e8mf4.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
735 define void @test_sf_vc_i_se_e8mf2(iXLen %vl) {
736 ; CHECK-LABEL: test_sf_vc_i_se_e8mf2:
737 ; CHECK: # %bb.0: # %entry
738 ; CHECK-NEXT: vsetvli zero, a0, e8, mf2, ta, ma
739 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
742 tail call void @llvm.riscv.sf.vc.i.se.e8mf2.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 8, iXLen 7, iXLen %vl)
746 declare void @llvm.riscv.sf.vc.i.se.e8mf2.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
748 define void @test_sf_vc_i_se_e8m1(iXLen %vl) {
749 ; CHECK-LABEL: test_sf_vc_i_se_e8m1:
750 ; CHECK: # %bb.0: # %entry
751 ; CHECK-NEXT: vsetvli zero, a0, e8, m1, ta, ma
752 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
755 tail call void @llvm.riscv.sf.vc.i.se.e8m1.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 8, iXLen 0, iXLen %vl)
759 declare void @llvm.riscv.sf.vc.i.se.e8m1.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
761 define void @test_sf_vc_i_se_e8m2(iXLen %vl) {
762 ; CHECK-LABEL: test_sf_vc_i_se_e8m2:
763 ; CHECK: # %bb.0: # %entry
764 ; CHECK-NEXT: vsetvli zero, a0, e8, m2, ta, ma
765 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
768 tail call void @llvm.riscv.sf.vc.i.se.e8m2.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 8, iXLen 1, iXLen %vl)
772 declare void @llvm.riscv.sf.vc.i.se.e8m2.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
774 define void @test_sf_vc_i_se_e8m4(iXLen %vl) {
775 ; CHECK-LABEL: test_sf_vc_i_se_e8m4:
776 ; CHECK: # %bb.0: # %entry
777 ; CHECK-NEXT: vsetvli zero, a0, e8, m4, ta, ma
778 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
781 tail call void @llvm.riscv.sf.vc.i.se.e8m4.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 8, iXLen 2, iXLen %vl)
785 declare void @llvm.riscv.sf.vc.i.se.e8m4.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
787 define void @test_sf_vc_i_se_e8m8(iXLen %vl) {
788 ; CHECK-LABEL: test_sf_vc_i_se_e8m8:
789 ; CHECK: # %bb.0: # %entry
790 ; CHECK-NEXT: vsetvli zero, a0, e8, m8, ta, ma
791 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
794 tail call void @llvm.riscv.sf.vc.i.se.e8m8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 8, iXLen 3, iXLen %vl)
798 declare void @llvm.riscv.sf.vc.i.se.e8m8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
800 define void @test_sf_vc_i_se_e16mf4(iXLen %vl) {
801 ; CHECK-LABEL: test_sf_vc_i_se_e16mf4:
802 ; CHECK: # %bb.0: # %entry
803 ; CHECK-NEXT: vsetvli zero, a0, e16, mf4, ta, ma
804 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
807 tail call void @llvm.riscv.sf.vc.i.se.e16mf4.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 16, iXLen 6, iXLen %vl)
811 declare void @llvm.riscv.sf.vc.i.se.e16mf4.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
813 define void @test_sf_vc_i_se_e16mf2(iXLen %vl) {
814 ; CHECK-LABEL: test_sf_vc_i_se_e16mf2:
815 ; CHECK: # %bb.0: # %entry
816 ; CHECK-NEXT: vsetvli zero, a0, e16, mf2, ta, ma
817 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
820 tail call void @llvm.riscv.sf.vc.i.se.e16mf2.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 16, iXLen 7, iXLen %vl)
824 declare void @llvm.riscv.sf.vc.i.se.e16mf2.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
826 define void @test_sf_vc_i_se_e16m1(iXLen %vl) {
827 ; CHECK-LABEL: test_sf_vc_i_se_e16m1:
828 ; CHECK: # %bb.0: # %entry
829 ; CHECK-NEXT: vsetvli zero, a0, e16, m1, ta, ma
830 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
833 tail call void @llvm.riscv.sf.vc.i.se.e16m1.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 16, iXLen 0, iXLen %vl)
837 declare void @llvm.riscv.sf.vc.i.se.e16m1.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
839 define void @test_sf_vc_i_se_e16m2(iXLen %vl) {
840 ; CHECK-LABEL: test_sf_vc_i_se_e16m2:
841 ; CHECK: # %bb.0: # %entry
842 ; CHECK-NEXT: vsetvli zero, a0, e16, m2, ta, ma
843 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
846 tail call void @llvm.riscv.sf.vc.i.se.e16m2.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 16, iXLen 1, iXLen %vl)
850 declare void @llvm.riscv.sf.vc.i.se.e16m2.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
852 define void @test_sf_vc_i_se_e16m4(iXLen %vl) {
853 ; CHECK-LABEL: test_sf_vc_i_se_e16m4:
854 ; CHECK: # %bb.0: # %entry
855 ; CHECK-NEXT: vsetvli zero, a0, e16, m4, ta, ma
856 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
859 tail call void @llvm.riscv.sf.vc.i.se.e16m4.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 16, iXLen 2, iXLen %vl)
863 declare void @llvm.riscv.sf.vc.i.se.e16m4.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
865 define void @test_sf_vc_i_se_e16m8(iXLen %vl) {
866 ; CHECK-LABEL: test_sf_vc_i_se_e16m8:
867 ; CHECK: # %bb.0: # %entry
868 ; CHECK-NEXT: vsetvli zero, a0, e16, m8, ta, ma
869 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
872 tail call void @llvm.riscv.sf.vc.i.se.e16m8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 16, iXLen 3, iXLen %vl)
876 declare void @llvm.riscv.sf.vc.i.se.e16m8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
878 define void @test_sf_vc_i_se_e32mf2(iXLen %vl) {
879 ; CHECK-LABEL: test_sf_vc_i_se_e32mf2:
880 ; CHECK: # %bb.0: # %entry
881 ; CHECK-NEXT: vsetvli zero, a0, e32, mf2, ta, ma
882 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
885 tail call void @llvm.riscv.sf.vc.i.se.e32mf2.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 32, iXLen 7, iXLen %vl)
889 declare void @llvm.riscv.sf.vc.i.se.e32mf2.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
891 define void @test_sf_vc_i_se_e32m1(iXLen %vl) {
892 ; CHECK-LABEL: test_sf_vc_i_se_e32m1:
893 ; CHECK: # %bb.0: # %entry
894 ; CHECK-NEXT: vsetvli zero, a0, e32, m1, ta, ma
895 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
898 tail call void @llvm.riscv.sf.vc.i.se.e32m1.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 32, iXLen 0, iXLen %vl)
902 declare void @llvm.riscv.sf.vc.i.se.e32m1.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
904 define void @test_sf_vc_i_se_e32m2(iXLen %vl) {
905 ; CHECK-LABEL: test_sf_vc_i_se_e32m2:
906 ; CHECK: # %bb.0: # %entry
907 ; CHECK-NEXT: vsetvli zero, a0, e32, m2, ta, ma
908 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
911 tail call void @llvm.riscv.sf.vc.i.se.e32m2.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 32, iXLen 1, iXLen %vl)
915 declare void @llvm.riscv.sf.vc.i.se.e32m2.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
917 define void @test_sf_vc_i_se_e32m4(iXLen %vl) {
918 ; CHECK-LABEL: test_sf_vc_i_se_e32m4:
919 ; CHECK: # %bb.0: # %entry
920 ; CHECK-NEXT: vsetvli zero, a0, e32, m4, ta, ma
921 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
924 tail call void @llvm.riscv.sf.vc.i.se.e32m4.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 32, iXLen 2, iXLen %vl)
928 declare void @llvm.riscv.sf.vc.i.se.e32m4.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
930 define void @test_sf_vc_i_se_e32m8(iXLen %vl) {
931 ; CHECK-LABEL: test_sf_vc_i_se_e32m8:
932 ; CHECK: # %bb.0: # %entry
933 ; CHECK-NEXT: vsetvli zero, a0, e32, m8, ta, ma
934 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
937 tail call void @llvm.riscv.sf.vc.i.se.e32m8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 32, iXLen 3, iXLen %vl)
941 declare void @llvm.riscv.sf.vc.i.se.e32m8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
943 define void @test_sf_vc_i_se_e64m1(iXLen %vl) {
944 ; CHECK-LABEL: test_sf_vc_i_se_e64m1:
945 ; CHECK: # %bb.0: # %entry
946 ; CHECK-NEXT: vsetvli zero, a0, e64, m1, ta, ma
947 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
950 tail call void @llvm.riscv.sf.vc.i.se.e64m1.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 64, iXLen 0, iXLen %vl)
954 declare void @llvm.riscv.sf.vc.i.se.e64m1.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
956 define void @test_sf_vc_i_se_e64m2(iXLen %vl) {
957 ; CHECK-LABEL: test_sf_vc_i_se_e64m2:
958 ; CHECK: # %bb.0: # %entry
959 ; CHECK-NEXT: vsetvli zero, a0, e64, m2, ta, ma
960 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
963 tail call void @llvm.riscv.sf.vc.i.se.e64m2.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 64, iXLen 1, iXLen %vl)
967 declare void @llvm.riscv.sf.vc.i.se.e64m2.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
969 define void @test_sf_vc_i_se_e64m4(iXLen %vl) {
970 ; CHECK-LABEL: test_sf_vc_i_se_e64m4:
971 ; CHECK: # %bb.0: # %entry
972 ; CHECK-NEXT: vsetvli zero, a0, e64, m4, ta, ma
973 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
976 tail call void @llvm.riscv.sf.vc.i.se.e64m4.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 64, iXLen 2, iXLen %vl)
980 declare void @llvm.riscv.sf.vc.i.se.e64m4.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
982 define void @test_sf_vc_i_se_e64m8(iXLen %vl) {
983 ; CHECK-LABEL: test_sf_vc_i_se_e64m8:
984 ; CHECK: # %bb.0: # %entry
985 ; CHECK-NEXT: vsetvli zero, a0, e64, m8, ta, ma
986 ; CHECK-NEXT: sf.vc.i 3, 31, 31, 10
989 tail call void @llvm.riscv.sf.vc.i.se.e64m8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 31, iXLen 10, iXLen 64, iXLen 3, iXLen %vl)
993 declare void @llvm.riscv.sf.vc.i.se.e64m8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen, iXLen, iXLen, iXLen)
995 define <1 x i8> @test_sf_vc_v_i_se_e8mf8(iXLen %vl) {
996 ; CHECK-LABEL: test_sf_vc_v_i_se_e8mf8:
997 ; CHECK: # %bb.0: # %entry
998 ; CHECK-NEXT: vsetvli zero, a0, e8, mf8, ta, ma
999 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1002 %0 = tail call <1 x i8> @llvm.riscv.sf.vc.v.i.se.nxv1i8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1006 declare <1 x i8> @llvm.riscv.sf.vc.v.i.se.nxv1i8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1008 define <2 x i8> @test_sf_vc_v_i_se_e8mf4(iXLen %vl) {
1009 ; CHECK-LABEL: test_sf_vc_v_i_se_e8mf4:
1010 ; CHECK: # %bb.0: # %entry
1011 ; CHECK-NEXT: vsetvli zero, a0, e8, mf8, ta, ma
1012 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1015 %0 = tail call <2 x i8> @llvm.riscv.sf.vc.v.i.se.nxv2i8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1019 declare <2 x i8> @llvm.riscv.sf.vc.v.i.se.nxv2i8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1021 define <4 x i8> @test_sf_vc_v_i_se_e8mf2(iXLen %vl) {
1022 ; CHECK-LABEL: test_sf_vc_v_i_se_e8mf2:
1023 ; CHECK: # %bb.0: # %entry
1024 ; CHECK-NEXT: vsetvli zero, a0, e8, mf4, ta, ma
1025 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1028 %0 = tail call <4 x i8> @llvm.riscv.sf.vc.v.i.se.nxv4i8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1032 declare <4 x i8> @llvm.riscv.sf.vc.v.i.se.nxv4i8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1034 define <8 x i8> @test_sf_vc_v_i_se_e8m1(iXLen %vl) {
1035 ; CHECK-LABEL: test_sf_vc_v_i_se_e8m1:
1036 ; CHECK: # %bb.0: # %entry
1037 ; CHECK-NEXT: vsetvli zero, a0, e8, mf2, ta, ma
1038 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1041 %0 = tail call <8 x i8> @llvm.riscv.sf.vc.v.i.se.nxv8i8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1045 declare <8 x i8> @llvm.riscv.sf.vc.v.i.se.nxv8i8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1047 define <16 x i8> @test_sf_vc_v_i_se_e8m2(iXLen %vl) {
1048 ; CHECK-LABEL: test_sf_vc_v_i_se_e8m2:
1049 ; CHECK: # %bb.0: # %entry
1050 ; CHECK-NEXT: vsetvli zero, a0, e8, m1, ta, ma
1051 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1054 %0 = tail call <16 x i8> @llvm.riscv.sf.vc.v.i.se.nxv16i8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1058 declare <16 x i8> @llvm.riscv.sf.vc.v.i.se.nxv16i8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1060 define <32 x i8> @test_sf_vc_v_i_se_e8m4(iXLen %vl) {
1061 ; CHECK-LABEL: test_sf_vc_v_i_se_e8m4:
1062 ; CHECK: # %bb.0: # %entry
1063 ; CHECK-NEXT: vsetvli zero, a0, e8, m2, ta, ma
1064 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1067 %0 = tail call <32 x i8> @llvm.riscv.sf.vc.v.i.se.nxv32i8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1071 declare <32 x i8> @llvm.riscv.sf.vc.v.i.se.nxv32i8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1073 define <64 x i8> @test_sf_vc_v_i_se_e8m8(iXLen %vl) {
1074 ; CHECK-LABEL: test_sf_vc_v_i_se_e8m8:
1075 ; CHECK: # %bb.0: # %entry
1076 ; CHECK-NEXT: vsetvli zero, a0, e8, m4, ta, ma
1077 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1080 %0 = tail call <64 x i8> @llvm.riscv.sf.vc.v.i.se.nxv64i8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1084 declare <64 x i8> @llvm.riscv.sf.vc.v.i.se.nxv64i8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1086 define <1 x i16> @test_sf_vc_v_i_se_e16mf4(iXLen %vl) {
1087 ; CHECK-LABEL: test_sf_vc_v_i_se_e16mf4:
1088 ; CHECK: # %bb.0: # %entry
1089 ; CHECK-NEXT: vsetvli zero, a0, e16, mf4, ta, ma
1090 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1093 %0 = tail call <1 x i16> @llvm.riscv.sf.vc.v.i.se.nxv1i16.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1097 declare <1 x i16> @llvm.riscv.sf.vc.v.i.se.nxv1i16.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1099 define <2 x i16> @test_sf_vc_v_i_se_e16mf2(iXLen %vl) {
1100 ; CHECK-LABEL: test_sf_vc_v_i_se_e16mf2:
1101 ; CHECK: # %bb.0: # %entry
1102 ; CHECK-NEXT: vsetvli zero, a0, e16, mf4, ta, ma
1103 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1106 %0 = tail call <2 x i16> @llvm.riscv.sf.vc.v.i.se.nxv2i16.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1110 declare <2 x i16> @llvm.riscv.sf.vc.v.i.se.nxv2i16.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1112 define <4 x i16> @test_sf_vc_v_i_se_e16m1(iXLen %vl) {
1113 ; CHECK-LABEL: test_sf_vc_v_i_se_e16m1:
1114 ; CHECK: # %bb.0: # %entry
1115 ; CHECK-NEXT: vsetvli zero, a0, e16, mf2, ta, ma
1116 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1119 %0 = tail call <4 x i16> @llvm.riscv.sf.vc.v.i.se.nxv4i16.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1123 declare <4 x i16> @llvm.riscv.sf.vc.v.i.se.nxv4i16.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1125 define <8 x i16> @test_sf_vc_v_i_se_e16m2(iXLen %vl) {
1126 ; CHECK-LABEL: test_sf_vc_v_i_se_e16m2:
1127 ; CHECK: # %bb.0: # %entry
1128 ; CHECK-NEXT: vsetvli zero, a0, e16, m1, ta, ma
1129 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1132 %0 = tail call <8 x i16> @llvm.riscv.sf.vc.v.i.se.nxv8i16.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1136 declare <8 x i16> @llvm.riscv.sf.vc.v.i.se.nxv8i16.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1138 define <16 x i16> @test_sf_vc_v_i_se_e16m4(iXLen %vl) {
1139 ; CHECK-LABEL: test_sf_vc_v_i_se_e16m4:
1140 ; CHECK: # %bb.0: # %entry
1141 ; CHECK-NEXT: vsetvli zero, a0, e16, m2, ta, ma
1142 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1145 %0 = tail call <16 x i16> @llvm.riscv.sf.vc.v.i.se.nxv16i16.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1149 declare <16 x i16> @llvm.riscv.sf.vc.v.i.se.nxv16i16.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1151 define <32 x i16> @test_sf_vc_v_i_se_e16m8(iXLen %vl) {
1152 ; CHECK-LABEL: test_sf_vc_v_i_se_e16m8:
1153 ; CHECK: # %bb.0: # %entry
1154 ; CHECK-NEXT: vsetvli zero, a0, e16, m4, ta, ma
1155 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1158 %0 = tail call <32 x i16> @llvm.riscv.sf.vc.v.i.se.nxv32i16.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1162 declare <32 x i16> @llvm.riscv.sf.vc.v.i.se.nxv32i16.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1164 define <1 x i32> @test_sf_vc_v_i_se_e32mf2(iXLen %vl) {
1165 ; CHECK-LABEL: test_sf_vc_v_i_se_e32mf2:
1166 ; CHECK: # %bb.0: # %entry
1167 ; CHECK-NEXT: vsetvli zero, a0, e32, mf2, ta, ma
1168 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1171 %0 = tail call <1 x i32> @llvm.riscv.sf.vc.v.i.se.nxv1i32.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1175 declare <1 x i32> @llvm.riscv.sf.vc.v.i.se.nxv1i32.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1177 define <2 x i32> @test_sf_vc_v_i_se_e32m1(iXLen %vl) {
1178 ; CHECK-LABEL: test_sf_vc_v_i_se_e32m1:
1179 ; CHECK: # %bb.0: # %entry
1180 ; CHECK-NEXT: vsetvli zero, a0, e32, mf2, ta, ma
1181 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1184 %0 = tail call <2 x i32> @llvm.riscv.sf.vc.v.i.se.nxv2i32.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1188 declare <2 x i32> @llvm.riscv.sf.vc.v.i.se.nxv2i32.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1190 define <4 x i32> @test_sf_vc_v_i_se_e32m2(iXLen %vl) {
1191 ; CHECK-LABEL: test_sf_vc_v_i_se_e32m2:
1192 ; CHECK: # %bb.0: # %entry
1193 ; CHECK-NEXT: vsetvli zero, a0, e32, m1, ta, ma
1194 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1197 %0 = tail call <4 x i32> @llvm.riscv.sf.vc.v.i.se.nxv4i32.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1201 declare <4 x i32> @llvm.riscv.sf.vc.v.i.se.nxv4i32.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1203 define <8 x i32> @test_sf_vc_v_i_se_e32m4(iXLen %vl) {
1204 ; CHECK-LABEL: test_sf_vc_v_i_se_e32m4:
1205 ; CHECK: # %bb.0: # %entry
1206 ; CHECK-NEXT: vsetvli zero, a0, e32, m2, ta, ma
1207 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1210 %0 = tail call <8 x i32> @llvm.riscv.sf.vc.v.i.se.nxv8i32.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1214 declare <8 x i32> @llvm.riscv.sf.vc.v.i.se.nxv8i32.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1216 define <16 x i32> @test_sf_vc_v_i_se_e32m8(iXLen %vl) {
1217 ; CHECK-LABEL: test_sf_vc_v_i_se_e32m8:
1218 ; CHECK: # %bb.0: # %entry
1219 ; CHECK-NEXT: vsetvli zero, a0, e32, m4, ta, ma
1220 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1223 %0 = tail call <16 x i32> @llvm.riscv.sf.vc.v.i.se.nxv16i32.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1227 declare <16 x i32> @llvm.riscv.sf.vc.v.i.se.nxv16i32.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1229 define <1 x i64> @test_sf_vc_v_i_se_e64m1(iXLen %vl) {
1230 ; CHECK-LABEL: test_sf_vc_v_i_se_e64m1:
1231 ; CHECK: # %bb.0: # %entry
1232 ; CHECK-NEXT: vsetvli zero, a0, e64, m1, ta, ma
1233 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1236 %0 = tail call <1 x i64> @llvm.riscv.sf.vc.v.i.se.nxv1i64.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1240 declare <1 x i64> @llvm.riscv.sf.vc.v.i.se.nxv1i64.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1242 define <2 x i64> @test_sf_vc_v_i_se_e64m2(iXLen %vl) {
1243 ; CHECK-LABEL: test_sf_vc_v_i_se_e64m2:
1244 ; CHECK: # %bb.0: # %entry
1245 ; CHECK-NEXT: vsetvli zero, a0, e64, m1, ta, ma
1246 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1249 %0 = tail call <2 x i64> @llvm.riscv.sf.vc.v.i.se.nxv2i64.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1253 declare <2 x i64> @llvm.riscv.sf.vc.v.i.se.nxv2i64.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1255 define <4 x i64> @test_sf_vc_v_i_se_e64m4(iXLen %vl) {
1256 ; CHECK-LABEL: test_sf_vc_v_i_se_e64m4:
1257 ; CHECK: # %bb.0: # %entry
1258 ; CHECK-NEXT: vsetvli zero, a0, e64, m2, ta, ma
1259 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1262 %0 = tail call <4 x i64> @llvm.riscv.sf.vc.v.i.se.nxv4i64.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1266 declare <4 x i64> @llvm.riscv.sf.vc.v.i.se.nxv4i64.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1268 define <8 x i64> @test_sf_vc_v_i_se_e64m8(iXLen %vl) {
1269 ; CHECK-LABEL: test_sf_vc_v_i_se_e64m8:
1270 ; CHECK: # %bb.0: # %entry
1271 ; CHECK-NEXT: vsetvli zero, a0, e64, m4, ta, ma
1272 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1275 %0 = tail call <8 x i64> @llvm.riscv.sf.vc.v.i.se.nxv8i64.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1279 declare <8 x i64> @llvm.riscv.sf.vc.v.i.se.nxv8i64.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1281 define <1 x i8> @test_sf_vc_v_i_e8mf8(iXLen %vl) {
1282 ; CHECK-LABEL: test_sf_vc_v_i_e8mf8:
1283 ; CHECK: # %bb.0: # %entry
1284 ; CHECK-NEXT: vsetvli zero, a0, e8, mf8, ta, ma
1285 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1288 %0 = tail call <1 x i8> @llvm.riscv.sf.vc.v.i.nxv1i8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1292 declare <1 x i8> @llvm.riscv.sf.vc.v.i.nxv1i8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1294 define <2 x i8> @test_sf_vc_v_i_e8mf4(iXLen %vl) {
1295 ; CHECK-LABEL: test_sf_vc_v_i_e8mf4:
1296 ; CHECK: # %bb.0: # %entry
1297 ; CHECK-NEXT: vsetvli zero, a0, e8, mf8, ta, ma
1298 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1301 %0 = tail call <2 x i8> @llvm.riscv.sf.vc.v.i.nxv2i8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1305 declare <2 x i8> @llvm.riscv.sf.vc.v.i.nxv2i8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1307 define <4 x i8> @test_sf_vc_v_i_e8mf2(iXLen %vl) {
1308 ; CHECK-LABEL: test_sf_vc_v_i_e8mf2:
1309 ; CHECK: # %bb.0: # %entry
1310 ; CHECK-NEXT: vsetvli zero, a0, e8, mf4, ta, ma
1311 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1314 %0 = tail call <4 x i8> @llvm.riscv.sf.vc.v.i.nxv4i8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1318 declare <4 x i8> @llvm.riscv.sf.vc.v.i.nxv4i8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1320 define <8 x i8> @test_sf_vc_v_i_e8m1(iXLen %vl) {
1321 ; CHECK-LABEL: test_sf_vc_v_i_e8m1:
1322 ; CHECK: # %bb.0: # %entry
1323 ; CHECK-NEXT: vsetvli zero, a0, e8, mf2, ta, ma
1324 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1327 %0 = tail call <8 x i8> @llvm.riscv.sf.vc.v.i.nxv8i8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1331 declare <8 x i8> @llvm.riscv.sf.vc.v.i.nxv8i8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1333 define <16 x i8> @test_sf_vc_v_i_e8m2(iXLen %vl) {
1334 ; CHECK-LABEL: test_sf_vc_v_i_e8m2:
1335 ; CHECK: # %bb.0: # %entry
1336 ; CHECK-NEXT: vsetvli zero, a0, e8, m1, ta, ma
1337 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1340 %0 = tail call <16 x i8> @llvm.riscv.sf.vc.v.i.nxv16i8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1344 declare <16 x i8> @llvm.riscv.sf.vc.v.i.nxv16i8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1346 define <32 x i8> @test_sf_vc_v_i_e8m4(iXLen %vl) {
1347 ; CHECK-LABEL: test_sf_vc_v_i_e8m4:
1348 ; CHECK: # %bb.0: # %entry
1349 ; CHECK-NEXT: vsetvli zero, a0, e8, m2, ta, ma
1350 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1353 %0 = tail call <32 x i8> @llvm.riscv.sf.vc.v.i.nxv32i8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1357 declare <32 x i8> @llvm.riscv.sf.vc.v.i.nxv32i8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1359 define <64 x i8> @test_sf_vc_v_i_e8m8(iXLen %vl) {
1360 ; CHECK-LABEL: test_sf_vc_v_i_e8m8:
1361 ; CHECK: # %bb.0: # %entry
1362 ; CHECK-NEXT: vsetvli zero, a0, e8, m4, ta, ma
1363 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1366 %0 = tail call <64 x i8> @llvm.riscv.sf.vc.v.i.nxv64i8.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1370 declare <64 x i8> @llvm.riscv.sf.vc.v.i.nxv64i8.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1372 define <1 x i16> @test_sf_vc_v_i_e16mf4(iXLen %vl) {
1373 ; CHECK-LABEL: test_sf_vc_v_i_e16mf4:
1374 ; CHECK: # %bb.0: # %entry
1375 ; CHECK-NEXT: vsetvli zero, a0, e16, mf4, ta, ma
1376 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1379 %0 = tail call <1 x i16> @llvm.riscv.sf.vc.v.i.nxv1i16.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1383 declare <1 x i16> @llvm.riscv.sf.vc.v.i.nxv1i16.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1385 define <2 x i16> @test_sf_vc_v_i_e16mf2(iXLen %vl) {
1386 ; CHECK-LABEL: test_sf_vc_v_i_e16mf2:
1387 ; CHECK: # %bb.0: # %entry
1388 ; CHECK-NEXT: vsetvli zero, a0, e16, mf4, ta, ma
1389 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1392 %0 = tail call <2 x i16> @llvm.riscv.sf.vc.v.i.nxv2i16.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1396 declare <2 x i16> @llvm.riscv.sf.vc.v.i.nxv2i16.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1398 define <4 x i16> @test_sf_vc_v_i_e16m1(iXLen %vl) {
1399 ; CHECK-LABEL: test_sf_vc_v_i_e16m1:
1400 ; CHECK: # %bb.0: # %entry
1401 ; CHECK-NEXT: vsetvli zero, a0, e16, mf2, ta, ma
1402 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1405 %0 = tail call <4 x i16> @llvm.riscv.sf.vc.v.i.nxv4i16.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1409 declare <4 x i16> @llvm.riscv.sf.vc.v.i.nxv4i16.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1411 define <8 x i16> @test_sf_vc_v_i_e16m2(iXLen %vl) {
1412 ; CHECK-LABEL: test_sf_vc_v_i_e16m2:
1413 ; CHECK: # %bb.0: # %entry
1414 ; CHECK-NEXT: vsetvli zero, a0, e16, m1, ta, ma
1415 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1418 %0 = tail call <8 x i16> @llvm.riscv.sf.vc.v.i.nxv8i16.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1422 declare <8 x i16> @llvm.riscv.sf.vc.v.i.nxv8i16.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1424 define <16 x i16> @test_sf_vc_v_i_e16m4(iXLen %vl) {
1425 ; CHECK-LABEL: test_sf_vc_v_i_e16m4:
1426 ; CHECK: # %bb.0: # %entry
1427 ; CHECK-NEXT: vsetvli zero, a0, e16, m2, ta, ma
1428 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1431 %0 = tail call <16 x i16> @llvm.riscv.sf.vc.v.i.nxv16i16.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1435 declare <16 x i16> @llvm.riscv.sf.vc.v.i.nxv16i16.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1437 define <32 x i16> @test_sf_vc_v_i_e16m8(iXLen %vl) {
1438 ; CHECK-LABEL: test_sf_vc_v_i_e16m8:
1439 ; CHECK: # %bb.0: # %entry
1440 ; CHECK-NEXT: vsetvli zero, a0, e16, m4, ta, ma
1441 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1444 %0 = tail call <32 x i16> @llvm.riscv.sf.vc.v.i.nxv32i16.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1448 declare <32 x i16> @llvm.riscv.sf.vc.v.i.nxv32i16.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1450 define <1 x i32> @test_sf_vc_v_i_e32mf2(iXLen %vl) {
1451 ; CHECK-LABEL: test_sf_vc_v_i_e32mf2:
1452 ; CHECK: # %bb.0: # %entry
1453 ; CHECK-NEXT: vsetvli zero, a0, e32, mf2, ta, ma
1454 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1457 %0 = tail call <1 x i32> @llvm.riscv.sf.vc.v.i.nxv1i32.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1461 declare <1 x i32> @llvm.riscv.sf.vc.v.i.nxv1i32.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1463 define <2 x i32> @test_sf_vc_v_i_e32m1(iXLen %vl) {
1464 ; CHECK-LABEL: test_sf_vc_v_i_e32m1:
1465 ; CHECK: # %bb.0: # %entry
1466 ; CHECK-NEXT: vsetvli zero, a0, e32, mf2, ta, ma
1467 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1470 %0 = tail call <2 x i32> @llvm.riscv.sf.vc.v.i.nxv2i32.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1474 declare <2 x i32> @llvm.riscv.sf.vc.v.i.nxv2i32.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1476 define <4 x i32> @test_sf_vc_v_i_e32m2(iXLen %vl) {
1477 ; CHECK-LABEL: test_sf_vc_v_i_e32m2:
1478 ; CHECK: # %bb.0: # %entry
1479 ; CHECK-NEXT: vsetvli zero, a0, e32, m1, ta, ma
1480 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1483 %0 = tail call <4 x i32> @llvm.riscv.sf.vc.v.i.nxv4i32.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1487 declare <4 x i32> @llvm.riscv.sf.vc.v.i.nxv4i32.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1489 define <8 x i32> @test_sf_vc_v_i_e32m4(iXLen %vl) {
1490 ; CHECK-LABEL: test_sf_vc_v_i_e32m4:
1491 ; CHECK: # %bb.0: # %entry
1492 ; CHECK-NEXT: vsetvli zero, a0, e32, m2, ta, ma
1493 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1496 %0 = tail call <8 x i32> @llvm.riscv.sf.vc.v.i.nxv8i32.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1500 declare <8 x i32> @llvm.riscv.sf.vc.v.i.nxv8i32.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1502 define <16 x i32> @test_sf_vc_v_i_e32m8(iXLen %vl) {
1503 ; CHECK-LABEL: test_sf_vc_v_i_e32m8:
1504 ; CHECK: # %bb.0: # %entry
1505 ; CHECK-NEXT: vsetvli zero, a0, e32, m4, ta, ma
1506 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1509 %0 = tail call <16 x i32> @llvm.riscv.sf.vc.v.i.nxv16i32.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1513 declare <16 x i32> @llvm.riscv.sf.vc.v.i.nxv16i32.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1515 define <1 x i64> @test_sf_vc_v_i_e64m1(iXLen %vl) {
1516 ; CHECK-LABEL: test_sf_vc_v_i_e64m1:
1517 ; CHECK: # %bb.0: # %entry
1518 ; CHECK-NEXT: vsetvli zero, a0, e64, m1, ta, ma
1519 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1522 %0 = tail call <1 x i64> @llvm.riscv.sf.vc.v.i.nxv1i64.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1526 declare <1 x i64> @llvm.riscv.sf.vc.v.i.nxv1i64.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1528 define <2 x i64> @test_sf_vc_v_i_e64m2(iXLen %vl) {
1529 ; CHECK-LABEL: test_sf_vc_v_i_e64m2:
1530 ; CHECK: # %bb.0: # %entry
1531 ; CHECK-NEXT: vsetvli zero, a0, e64, m1, ta, ma
1532 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1535 %0 = tail call <2 x i64> @llvm.riscv.sf.vc.v.i.nxv2i64.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1539 declare <2 x i64> @llvm.riscv.sf.vc.v.i.nxv2i64.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1541 define <4 x i64> @test_sf_vc_v_i_e64m4(iXLen %vl) {
1542 ; CHECK-LABEL: test_sf_vc_v_i_e64m4:
1543 ; CHECK: # %bb.0: # %entry
1544 ; CHECK-NEXT: vsetvli zero, a0, e64, m2, ta, ma
1545 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1548 %0 = tail call <4 x i64> @llvm.riscv.sf.vc.v.i.nxv4i64.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1552 declare <4 x i64> @llvm.riscv.sf.vc.v.i.nxv4i64.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1554 define <8 x i64> @test_sf_vc_v_i_e64m8(iXLen %vl) {
1555 ; CHECK-LABEL: test_sf_vc_v_i_e64m8:
1556 ; CHECK: # %bb.0: # %entry
1557 ; CHECK-NEXT: vsetvli zero, a0, e64, m4, ta, ma
1558 ; CHECK-NEXT: sf.vc.v.i 3, 31, v8, 10
1561 %0 = tail call <8 x i64> @llvm.riscv.sf.vc.v.i.nxv8i64.iXLen.iXLen.iXLen(iXLen 3, iXLen 31, iXLen 10, iXLen %vl)
1565 declare <8 x i64> @llvm.riscv.sf.vc.v.i.nxv8i64.iXLen.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1567 define <1 x half> @test_sf_vc_fv_x_se_e16mf4(i16 %rs1, iXLen %vl) {
1568 ; CHECK-LABEL: test_sf_vc_fv_x_se_e16mf4:
1569 ; CHECK: # %bb.0: # %entry
1570 ; CHECK-NEXT: vsetvli zero, a1, e16, mf4, ta, ma
1571 ; CHECK-NEXT: sf.vc.v.x 3, 4, v8, a0
1574 %0 = tail call <1 x half> @llvm.riscv.sf.vc.v.x.se.nxv1f16.i16.iXLen(iXLen 3, iXLen 4, i16 %rs1, iXLen %vl)
1578 declare <1 x half> @llvm.riscv.sf.vc.v.x.se.nxv1f16.i16.iXLen(iXLen, iXLen, i16, iXLen)
1580 define <2 x half> @test_sf_vc_fv_x_se_e16mf2(i16 %rs1, iXLen %vl) {
1581 ; CHECK-LABEL: test_sf_vc_fv_x_se_e16mf2:
1582 ; CHECK: # %bb.0: # %entry
1583 ; CHECK-NEXT: vsetvli zero, a1, e16, mf4, ta, ma
1584 ; CHECK-NEXT: sf.vc.v.x 3, 4, v8, a0
1587 %0 = tail call <2 x half> @llvm.riscv.sf.vc.v.x.se.nxv2f16.i16.iXLen(iXLen 3, iXLen 4, i16 %rs1, iXLen %vl)
1591 declare <2 x half> @llvm.riscv.sf.vc.v.x.se.nxv2f16.i16.iXLen(iXLen, iXLen, i16, iXLen)
1593 define <4 x half> @test_sf_vc_fv_x_se_e16m1(i16 %rs1, iXLen %vl) {
1594 ; CHECK-LABEL: test_sf_vc_fv_x_se_e16m1:
1595 ; CHECK: # %bb.0: # %entry
1596 ; CHECK-NEXT: vsetvli zero, a1, e16, mf2, ta, ma
1597 ; CHECK-NEXT: sf.vc.v.x 3, 4, v8, a0
1600 %0 = tail call <4 x half> @llvm.riscv.sf.vc.v.x.se.nxv4f16.i16.iXLen(iXLen 3, iXLen 4, i16 %rs1, iXLen %vl)
1604 declare <4 x half> @llvm.riscv.sf.vc.v.x.se.nxv4f16.i16.iXLen(iXLen, iXLen, i16, iXLen)
1606 define <8 x half> @test_sf_vc_fv_x_se_e16m2(i16 %rs1, iXLen %vl) {
1607 ; CHECK-LABEL: test_sf_vc_fv_x_se_e16m2:
1608 ; CHECK: # %bb.0: # %entry
1609 ; CHECK-NEXT: vsetvli zero, a1, e16, m1, ta, ma
1610 ; CHECK-NEXT: sf.vc.v.x 3, 4, v8, a0
1613 %0 = tail call <8 x half> @llvm.riscv.sf.vc.v.x.se.nxv8f16.i16.iXLen(iXLen 3, iXLen 4, i16 %rs1, iXLen %vl)
1617 declare <8 x half> @llvm.riscv.sf.vc.v.x.se.nxv8f16.i16.iXLen(iXLen, iXLen, i16, iXLen)
1619 define <16 x half> @test_sf_vc_fv_x_se_e16m4(i16 %rs1, iXLen %vl) {
1620 ; CHECK-LABEL: test_sf_vc_fv_x_se_e16m4:
1621 ; CHECK: # %bb.0: # %entry
1622 ; CHECK-NEXT: vsetvli zero, a1, e16, m2, ta, ma
1623 ; CHECK-NEXT: sf.vc.v.x 3, 4, v8, a0
1626 %0 = tail call <16 x half> @llvm.riscv.sf.vc.v.x.se.nxv16f16.i16.iXLen(iXLen 3, iXLen 4, i16 %rs1, iXLen %vl)
1630 declare <16 x half> @llvm.riscv.sf.vc.v.x.se.nxv16f16.i16.iXLen(iXLen, iXLen, i16, iXLen)
1632 define <32 x half> @test_sf_vc_fv_x_se_e16m8(i16 %rs1, iXLen %vl) {
1633 ; CHECK-LABEL: test_sf_vc_fv_x_se_e16m8:
1634 ; CHECK: # %bb.0: # %entry
1635 ; CHECK-NEXT: vsetvli zero, a1, e16, m4, ta, ma
1636 ; CHECK-NEXT: sf.vc.v.x 3, 4, v8, a0
1639 %0 = tail call <32 x half> @llvm.riscv.sf.vc.v.x.se.nxv32f16.i16.iXLen(iXLen 3, iXLen 4, i16 %rs1, iXLen %vl)
1643 declare <32 x half> @llvm.riscv.sf.vc.v.x.se.nxv32f16.i16.iXLen(iXLen, iXLen, i16, iXLen)
1645 define <1 x float> @test_sf_vc_fv_x_se_e32mf2(i32 %rs1, iXLen %vl) {
1646 ; CHECK-LABEL: test_sf_vc_fv_x_se_e32mf2:
1647 ; CHECK: # %bb.0: # %entry
1648 ; CHECK-NEXT: vsetvli zero, a1, e32, mf2, ta, ma
1649 ; CHECK-NEXT: sf.vc.v.x 3, 4, v8, a0
1652 %0 = tail call <1 x float> @llvm.riscv.sf.vc.v.x.se.nxv1f32.i32.iXLen(iXLen 3, iXLen 4, i32 %rs1, iXLen %vl)
1656 declare <1 x float> @llvm.riscv.sf.vc.v.x.se.nxv1f32.i32.iXLen(iXLen, iXLen, i32, iXLen)
1658 define <2 x float> @test_sf_vc_fv_x_se_e32m1(i32 %rs1, iXLen %vl) {
1659 ; CHECK-LABEL: test_sf_vc_fv_x_se_e32m1:
1660 ; CHECK: # %bb.0: # %entry
1661 ; CHECK-NEXT: vsetvli zero, a1, e32, mf2, ta, ma
1662 ; CHECK-NEXT: sf.vc.v.x 3, 4, v8, a0
1665 %0 = tail call <2 x float> @llvm.riscv.sf.vc.v.x.se.nxv2f32.i32.iXLen(iXLen 3, iXLen 4, i32 %rs1, iXLen %vl)
1669 declare <2 x float> @llvm.riscv.sf.vc.v.x.se.nxv2f32.i32.iXLen(iXLen, iXLen, i32, iXLen)
1671 define <4 x float> @test_sf_vc_fv_x_se_e32m2(i32 %rs1, iXLen %vl) {
1672 ; CHECK-LABEL: test_sf_vc_fv_x_se_e32m2:
1673 ; CHECK: # %bb.0: # %entry
1674 ; CHECK-NEXT: vsetvli zero, a1, e32, m1, ta, ma
1675 ; CHECK-NEXT: sf.vc.v.x 3, 4, v8, a0
1678 %0 = tail call <4 x float> @llvm.riscv.sf.vc.v.x.se.nxv4f32.i32.iXLen(iXLen 3, iXLen 4, i32 %rs1, iXLen %vl)
1682 declare <4 x float> @llvm.riscv.sf.vc.v.x.se.nxv4f32.i32.iXLen(iXLen, iXLen, i32, iXLen)
1684 define <8 x float> @test_sf_vc_fv_x_se_e32m4(i32 %rs1, iXLen %vl) {
1685 ; CHECK-LABEL: test_sf_vc_fv_x_se_e32m4:
1686 ; CHECK: # %bb.0: # %entry
1687 ; CHECK-NEXT: vsetvli zero, a1, e32, m2, ta, ma
1688 ; CHECK-NEXT: sf.vc.v.x 3, 4, v8, a0
1691 %0 = tail call <8 x float> @llvm.riscv.sf.vc.v.x.se.nxv8f32.i32.iXLen(iXLen 3, iXLen 4, i32 %rs1, iXLen %vl)
1695 declare <8 x float> @llvm.riscv.sf.vc.v.x.se.nxv8f32.i32.iXLen(iXLen, iXLen, i32, iXLen)
1697 define <16 x float> @test_sf_vc_fv_x_se_e32m8(i32 %rs1, iXLen %vl) {
1698 ; CHECK-LABEL: test_sf_vc_fv_x_se_e32m8:
1699 ; CHECK: # %bb.0: # %entry
1700 ; CHECK-NEXT: vsetvli zero, a1, e32, m4, ta, ma
1701 ; CHECK-NEXT: sf.vc.v.x 3, 4, v8, a0
1704 %0 = tail call <16 x float> @llvm.riscv.sf.vc.v.x.se.nxv16f32.i32.iXLen(iXLen 3, iXLen 4, i32 %rs1, iXLen %vl)
1708 declare <16 x float> @llvm.riscv.sf.vc.v.x.se.nxv16f32.i32.iXLen(iXLen, iXLen, i32, iXLen)
1710 define <1 x half> @test_sf_vc_fv_i_se_e16mf4(iXLen %vl) {
1711 ; CHECK-LABEL: test_sf_vc_fv_i_se_e16mf4:
1712 ; CHECK: # %bb.0: # %entry
1713 ; CHECK-NEXT: vsetvli zero, a0, e16, mf4, ta, ma
1714 ; CHECK-NEXT: sf.vc.v.i 3, 8, v8, 4
1717 %0 = tail call <1 x half> @llvm.riscv.sf.vc.v.i.se.nxv1f16.iXLen.iXLen(iXLen 3, iXLen 8, iXLen 4, iXLen %vl)
1721 declare <1 x half> @llvm.riscv.sf.vc.v.i.se.nxv1f16.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1723 define <2 x half> @test_sf_vc_fv_i_se_e16mf2(iXLen %vl) {
1724 ; CHECK-LABEL: test_sf_vc_fv_i_se_e16mf2:
1725 ; CHECK: # %bb.0: # %entry
1726 ; CHECK-NEXT: vsetvli zero, a0, e16, mf4, ta, ma
1727 ; CHECK-NEXT: sf.vc.v.i 3, 8, v8, 4
1730 %0 = tail call <2 x half> @llvm.riscv.sf.vc.v.i.se.nxv2f16.iXLen.iXLen(iXLen 3, iXLen 8, iXLen 4, iXLen %vl)
1734 declare <2 x half> @llvm.riscv.sf.vc.v.i.se.nxv2f16.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1736 define <4 x half> @test_sf_vc_fv_i_se_e16m1(iXLen %vl) {
1737 ; CHECK-LABEL: test_sf_vc_fv_i_se_e16m1:
1738 ; CHECK: # %bb.0: # %entry
1739 ; CHECK-NEXT: vsetvli zero, a0, e16, mf2, ta, ma
1740 ; CHECK-NEXT: sf.vc.v.i 3, 8, v8, 4
1743 %0 = tail call <4 x half> @llvm.riscv.sf.vc.v.i.se.nxv4f16.iXLen.iXLen(iXLen 3, iXLen 8, iXLen 4, iXLen %vl)
1747 declare <4 x half> @llvm.riscv.sf.vc.v.i.se.nxv4f16.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1749 define <8 x half> @test_sf_vc_fv_i_se_e16m2(iXLen %vl) {
1750 ; CHECK-LABEL: test_sf_vc_fv_i_se_e16m2:
1751 ; CHECK: # %bb.0: # %entry
1752 ; CHECK-NEXT: vsetvli zero, a0, e16, m1, ta, ma
1753 ; CHECK-NEXT: sf.vc.v.i 3, 8, v8, 4
1756 %0 = tail call <8 x half> @llvm.riscv.sf.vc.v.i.se.nxv8f16.iXLen.iXLen(iXLen 3, iXLen 8, iXLen 4, iXLen %vl)
1760 declare <8 x half> @llvm.riscv.sf.vc.v.i.se.nxv8f16.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1762 define <16 x half> @test_sf_vc_fv_i_se_e16m4(iXLen %vl) {
1763 ; CHECK-LABEL: test_sf_vc_fv_i_se_e16m4:
1764 ; CHECK: # %bb.0: # %entry
1765 ; CHECK-NEXT: vsetvli zero, a0, e16, m2, ta, ma
1766 ; CHECK-NEXT: sf.vc.v.i 3, 8, v8, 4
1769 %0 = tail call <16 x half> @llvm.riscv.sf.vc.v.i.se.nxv16f16.iXLen.iXLen(iXLen 3, iXLen 8, iXLen 4, iXLen %vl)
1773 declare <16 x half> @llvm.riscv.sf.vc.v.i.se.nxv16f16.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1775 define <32 x half> @test_sf_vc_fv_i_se_e16m8(iXLen %vl) {
1776 ; CHECK-LABEL: test_sf_vc_fv_i_se_e16m8:
1777 ; CHECK: # %bb.0: # %entry
1778 ; CHECK-NEXT: vsetvli zero, a0, e16, m4, ta, ma
1779 ; CHECK-NEXT: sf.vc.v.i 3, 8, v8, 4
1782 %0 = tail call <32 x half> @llvm.riscv.sf.vc.v.i.se.nxv32f16.iXLen.iXLen(iXLen 3, iXLen 8, iXLen 4, iXLen %vl)
1786 declare <32 x half> @llvm.riscv.sf.vc.v.i.se.nxv32f16.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1788 define <1 x float> @test_sf_vc_fv_i_se_e32mf2(iXLen %vl) {
1789 ; CHECK-LABEL: test_sf_vc_fv_i_se_e32mf2:
1790 ; CHECK: # %bb.0: # %entry
1791 ; CHECK-NEXT: vsetvli zero, a0, e32, mf2, ta, ma
1792 ; CHECK-NEXT: sf.vc.v.i 3, 8, v8, 4
1795 %0 = tail call <1 x float> @llvm.riscv.sf.vc.v.i.se.nxv1f32.iXLen.iXLen(iXLen 3, iXLen 8, iXLen 4, iXLen %vl)
1799 declare <1 x float> @llvm.riscv.sf.vc.v.i.se.nxv1f32.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1801 define <2 x float> @test_sf_vc_fv_i_se_e32m1(iXLen %vl) {
1802 ; CHECK-LABEL: test_sf_vc_fv_i_se_e32m1:
1803 ; CHECK: # %bb.0: # %entry
1804 ; CHECK-NEXT: vsetvli zero, a0, e32, mf2, ta, ma
1805 ; CHECK-NEXT: sf.vc.v.i 3, 8, v8, 4
1808 %0 = tail call <2 x float> @llvm.riscv.sf.vc.v.i.se.nxv2f32.iXLen.iXLen(iXLen 3, iXLen 8, iXLen 4, iXLen %vl)
1812 declare <2 x float> @llvm.riscv.sf.vc.v.i.se.nxv2f32.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1814 define <4 x float> @test_sf_vc_fv_i_se_e32m2(iXLen %vl) {
1815 ; CHECK-LABEL: test_sf_vc_fv_i_se_e32m2:
1816 ; CHECK: # %bb.0: # %entry
1817 ; CHECK-NEXT: vsetvli zero, a0, e32, m1, ta, ma
1818 ; CHECK-NEXT: sf.vc.v.i 3, 8, v8, 4
1821 %0 = tail call <4 x float> @llvm.riscv.sf.vc.v.i.se.nxv4f32.iXLen.iXLen(iXLen 3, iXLen 8, iXLen 4, iXLen %vl)
1825 declare <4 x float> @llvm.riscv.sf.vc.v.i.se.nxv4f32.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1827 define <8 x float> @test_sf_vc_fv_i_se_e32m4(iXLen %vl) {
1828 ; CHECK-LABEL: test_sf_vc_fv_i_se_e32m4:
1829 ; CHECK: # %bb.0: # %entry
1830 ; CHECK-NEXT: vsetvli zero, a0, e32, m2, ta, ma
1831 ; CHECK-NEXT: sf.vc.v.i 3, 8, v8, 4
1834 %0 = tail call <8 x float> @llvm.riscv.sf.vc.v.i.se.nxv8f32.iXLen.iXLen(iXLen 3, iXLen 8, iXLen 4, iXLen %vl)
1838 declare <8 x float> @llvm.riscv.sf.vc.v.i.se.nxv8f32.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)
1840 define <16 x float> @test_sf_vc_fv_i_se_e32m8(iXLen %vl) {
1841 ; CHECK-LABEL: test_sf_vc_fv_i_se_e32m8:
1842 ; CHECK: # %bb.0: # %entry
1843 ; CHECK-NEXT: vsetvli zero, a0, e32, m4, ta, ma
1844 ; CHECK-NEXT: sf.vc.v.i 3, 8, v8, 4
1847 %0 = tail call <16 x float> @llvm.riscv.sf.vc.v.i.se.nxv16f32.iXLen.iXLen(iXLen 3, iXLen 8, iXLen 4, iXLen %vl)
1851 declare <16 x float> @llvm.riscv.sf.vc.v.i.se.nxv16f32.iXLen.iXLen(iXLen, iXLen, iXLen, iXLen)