Lines Matching refs:rs2

40   def : Pat<(store type:$rs2, GPR:$rs1),
41 (store_instr reg_class:$rs2, GPR:$rs1, avl, log2sew)>;
58 def : Pat<(store type:$rs2, GPR:$rs1),
59 (store_instr reg_class:$rs2, GPR:$rs1)>;
70 def : Pat<(store m.Mask:$rs2, GPR:$rs1),
71 (store_instr VR:$rs2, GPR:$rs1, m.AVL, m.Log2SEW)>;
85 (op_type op_reg_class:$rs2))),
92 op_reg_class:$rs2,
106 (op_type op_reg_class:$rs2))),
113 op_reg_class:$rs2,
133 (vop_type (SplatPatKind (XLenVT xop_kind:$rs2))))),
140 xop_kind:$rs2,
184 (vop_type (SplatFPOp xop_kind:$rs2)))),
191 (xop_type xop_kind:$rs2),
206 (vop_type (SplatFPOp xop_kind:$rs2)))),
213 (xop_type xop_kind:$rs2),
253 def : Pat<(fvti.Vector (vop (fvti.Vector (SplatFPOp fvti.Scalar:$rs2)),
261 (fvti.Scalar fvti.ScalarRegClass:$rs2),
269 def : Pat<(fvti.Vector (vop (fvti.Vector (SplatFPOp fvti.Scalar:$rs2)),
277 (fvti.Scalar fvti.ScalarRegClass:$rs2),
290 (vti.Vector vti.RegClass:$rs2), cc)),
291 (instruction vti.RegClass:$rs1, vti.RegClass:$rs2, vti.AVL,
302 def : Pat<(vti.Mask (setcc (vti.Vector vti.RegClass:$rs2),
304 (instruction vti.RegClass:$rs1, vti.RegClass:$rs2, vti.AVL,
318 (vti.Vector (SplatPatKind (XLenVT xop_kind:$rs2))), cc)),
319 (instruction vti.RegClass:$rs1, xop_kind:$rs2, vti.AVL, vti.Log2SEW)>;
320 def : Pat<(vti.Mask (setcc (vti.Vector (SplatPatKind (XLenVT xop_kind:$rs2))),
322 (instruction vti.RegClass:$rs1, xop_kind:$rs2, vti.AVL, vti.Log2SEW)>;
344 (vti.Vector (splatpat_kind simm5:$rs2)),
346 (instruction vti.RegClass:$rs1, (DecImm simm5:$rs2),
348 def : Pat<(vti.Mask (setcc (vti.Vector (splatpat_kind simm5:$rs2)),
351 (instruction vti.RegClass:$rs1, (DecImm simm5:$rs2),
363 (fvti.Vector fvti.RegClass:$rs2),
366 fvti.RegClass:$rs1, fvti.RegClass:$rs2, fvti.AVL, fvti.Log2SEW)>;
368 (SplatFPOp fvti.ScalarRegClass:$rs2),
371 fvti.RegClass:$rs1, fvti.ScalarRegClass:$rs2,
373 def : Pat<(fvti.Mask (setcc (SplatFPOp fvti.ScalarRegClass:$rs2),
377 fvti.RegClass:$rs1, fvti.ScalarRegClass:$rs2,
391 def : Pat<(vti.Vector (op (fti.Vector fti.RegClass:$rs2))),
394 fti.RegClass:$rs2, fti.AVL, vti.Log2SEW, TA_MA)>;
496 def : Pat<(op (wti.Vector (extop1 (vti.Vector vti.RegClass:$rs2))),
499 (wti.Vector (IMPLICIT_DEF)), vti.RegClass:$rs2,
501 def : Pat<(op (wti.Vector (extop1 (vti.Vector vti.RegClass:$rs2))),
504 (wti.Vector (IMPLICIT_DEF)), vti.RegClass:$rs2,
517 def : Pat<(op (wti.Vector wti.RegClass:$rs2),
520 wti.RegClass:$rs2, vti.RegClass:$rs1, vti.AVL, vti.Log2SEW,
522 def : Pat<(op (wti.Vector wti.RegClass:$rs2),
525 (wti.Vector (IMPLICIT_DEF)), wti.RegClass:$rs2, GPR:$rs1,
545 (wti.Vector (extop2 (vti.Vector vti.RegClass:$rs2))))),
547 wti.RegClass:$rd, vti.RegClass:$rs1, vti.RegClass:$rs2,
561 (wti.Vector (extop2 (vti.Vector vti.RegClass:$rs2))))),
563 wti.RegClass:$rd, GPR:$rs1, vti.RegClass:$rs2,
576 (vti.Vector vti.RegClass:$rs2),
582 (wti.Vector (IMPLICIT_DEF)), vti.RegClass:$rs2,
585 (vti.Vector vti.RegClass:$rs2),
591 (wti.Vector (IMPLICIT_DEF)), vti.RegClass:$rs2,
594 (vti.Vector vti.RegClass:$rs2),
598 (wti.Vector (IMPLICIT_DEF)), vti.RegClass:$rs2,
611 (vti.Vector vti.RegClass:$rs2),
617 (wti.Vector (IMPLICIT_DEF)), vti.RegClass:$rs2,
624 (vti.Vector vti.RegClass:$rs2),
630 (wti.Vector (IMPLICIT_DEF)), vti.RegClass:$rs2,
637 (vti.Vector vti.RegClass:$rs2),
641 (wti.Vector (IMPLICIT_DEF)), vti.RegClass:$rs2,
657 def : Pat<(op (wti.Vector wti.RegClass:$rs2),
662 wti.RegClass:$rs2, vti.RegClass:$rs1,
668 def : Pat<(op (wti.Vector wti.RegClass:$rs2),
673 (wti.Vector (IMPLICIT_DEF)), wti.RegClass:$rs2,
679 def : Pat<(op (wti.Vector wti.RegClass:$rs2),
682 (wti.Vector (IMPLICIT_DEF)), wti.RegClass:$rs2,
708 (vti.Vector vti.RegClass:$rs2),
712 wti.RegClass:$rd, vti.RegClass:$rs1, vti.RegClass:$rs2,
720 (vti.Vector vti.RegClass:$rs2),
724 wti.RegClass:$rd, vti.ScalarRegClass:$rs1, vti.RegClass:$rs2,
743 (riscv_fpextend_vl_oneuse (vti.Vector vti.RegClass:$rs2),
747 wti.RegClass:$rd, vti.RegClass:$rs1, vti.RegClass:$rs2,
754 (vti.Vector vti.RegClass:$rs2),
758 wti.RegClass:$rd, vti.ScalarRegClass:$rs1, vti.RegClass:$rs2,
764 (riscv_fpextend_vl_oneuse (vti.Vector vti.RegClass:$rs2),
768 wti.RegClass:$rd, vti.ScalarRegClass:$rs1, vti.RegClass:$rs2,
787 (riscv_fpextend_vl_oneuse (vti.Vector vti.RegClass:$rs2),
791 wti.RegClass:$rd, vti.RegClass:$rs1, vti.RegClass:$rs2,
797 (riscv_fpextend_vl_oneuse (vti.Vector vti.RegClass:$rs2),
801 wti.RegClass:$rd, vti.ScalarRegClass:$rs1, vti.RegClass:$rs2,
820 (riscv_fpextend_vl_oneuse (vti.Vector vti.RegClass:$rs2),
824 wti.RegClass:$rd, vti.RegClass:$rs1, vti.RegClass:$rs2,
831 (vti.Vector vti.RegClass:$rs2),
835 wti.RegClass:$rd, vti.ScalarRegClass:$rs1, vti.RegClass:$rs2,
841 (riscv_fpextend_vl_oneuse (vti.Vector vti.RegClass:$rs2),
845 wti.RegClass:$rd, vti.ScalarRegClass:$rs1, vti.RegClass:$rs2,
860 def : Pat<(vti.Vector (op vti.RegClass:$rs2,
863 vti.RegClass:$rd, vti.RegClass:$rs1, vti.RegClass:$rs2,
867 def : Pat<(vti.Vector (op vti.RegClass:$rs2,
870 vti.RegClass:$rd, vti.ScalarRegClass:$rs1, vti.RegClass:$rs2,
880 (vti.Vector vti.RegClass:$rs2)),
882 (vti.Vector (IMPLICIT_DEF)), vti.RegClass:$rs1, vti.RegClass:$rs2,
885 (vti.Vector (SplatPat (XLenVT GPR:$rs2)))),
887 (vti.Vector (IMPLICIT_DEF)), vti.RegClass:$rs1, GPR:$rs2,
932 def : Pat<(sub (vti.Vector (SplatPat (XLenVT GPR:$rs2))),
935 (vti.Vector (IMPLICIT_DEF)), vti.RegClass:$rs1, GPR:$rs2,
937 def : Pat<(sub (vti.Vector (SplatPat_simm5 simm5:$rs2)),
941 simm5:$rs2, vti.AVL, vti.Log2SEW, TA_MA)>;
1090 (wti.Vector (sext_oneuse (vti.Vector vti.RegClass:$rs2)))),
1094 vti.RegClass:$rs1, vti.RegClass:$rs2, vti.AVL, vti.Log2SEW, TA_MA)>;
1129 vti.RegClass:$rs2)),
1132 vti.RegClass:$rs2, vti.RegClass:$rs1, (vti.Mask V0),
1136 vti.RegClass:$rs2)),
1139 vti.RegClass:$rs2, GPR:$rs1, (vti.Mask V0), vti.AVL, vti.Log2SEW)>;
1142 vti.RegClass:$rs2)),
1145 vti.RegClass:$rs2, simm5:$rs1, (vti.Mask V0), vti.AVL, vti.Log2SEW)>;
1168 def : Pat<(mti.Mask (and VR:$rs1, VR:$rs2)),
1170 VR:$rs1, VR:$rs2, mti.AVL, mti.Log2SEW)>;
1171 def : Pat<(mti.Mask (or VR:$rs1, VR:$rs2)),
1173 VR:$rs1, VR:$rs2, mti.AVL, mti.Log2SEW)>;
1174 def : Pat<(mti.Mask (xor VR:$rs1, VR:$rs2)),
1176 VR:$rs1, VR:$rs2, mti.AVL, mti.Log2SEW)>;
1178 def : Pat<(mti.Mask (rvv_vnot (and VR:$rs1, VR:$rs2))),
1180 VR:$rs1, VR:$rs2, mti.AVL, mti.Log2SEW)>;
1181 def : Pat<(mti.Mask (rvv_vnot (or VR:$rs1, VR:$rs2))),
1183 VR:$rs1, VR:$rs2, mti.AVL, mti.Log2SEW)>;
1184 def : Pat<(mti.Mask (rvv_vnot (xor VR:$rs1, VR:$rs2))),
1186 VR:$rs1, VR:$rs2, mti.AVL, mti.Log2SEW)>;
1188 def : Pat<(mti.Mask (and VR:$rs1, (rvv_vnot VR:$rs2))),
1190 VR:$rs1, VR:$rs2, mti.AVL, mti.Log2SEW)>;
1191 def : Pat<(mti.Mask (or VR:$rs1, (rvv_vnot VR:$rs2))),
1193 VR:$rs1, VR:$rs2, mti.AVL, mti.Log2SEW)>;
1228 fvti.RegClass:$rs2)),
1230 fvti.RegClass:$rd, fvti.RegClass:$rs1, fvti.RegClass:$rs2,
1236 (fneg fvti.RegClass:$rs2))),
1238 fvti.RegClass:$rd, fvti.RegClass:$rs1, fvti.RegClass:$rs2,
1244 (fneg fvti.RegClass:$rs2))),
1246 fvti.RegClass:$rd, fvti.RegClass:$rs1, fvti.RegClass:$rs2,
1252 fvti.RegClass:$rs2)),
1254 fvti.RegClass:$rd, fvti.RegClass:$rs1, fvti.RegClass:$rs2,
1263 fvti.RegClass:$rd, fvti.RegClass:$rs2)),
1265 fvti.RegClass:$rd, fvti.ScalarRegClass:$rs1, fvti.RegClass:$rs2,
1271 fvti.RegClass:$rd, (fneg fvti.RegClass:$rs2))),
1273 fvti.RegClass:$rd, fvti.ScalarRegClass:$rs1, fvti.RegClass:$rs2,
1280 (fneg fvti.RegClass:$rd), (fneg fvti.RegClass:$rs2))),
1282 fvti.RegClass:$rd, fvti.ScalarRegClass:$rs1, fvti.RegClass:$rs2,
1288 (fneg fvti.RegClass:$rd), fvti.RegClass:$rs2)),
1290 fvti.RegClass:$rd, fvti.ScalarRegClass:$rs1, fvti.RegClass:$rs2,
1298 fvti.RegClass:$rd, (fneg fvti.RegClass:$rs2))),
1300 fvti.RegClass:$rd, fvti.ScalarRegClass:$rs1, fvti.RegClass:$rs2,
1306 fvti.RegClass:$rd, fvti.RegClass:$rs2)),
1308 fvti.RegClass:$rd, fvti.ScalarRegClass:$rs1, fvti.RegClass:$rs2,
1325 def : Pat<(any_fsqrt (vti.Vector vti.RegClass:$rs2)),
1328 vti.RegClass:$rs2,
1346 (vti.Vector vti.RegClass:$rs2))),
1349 vti.RegClass:$rs1, vti.RegClass:$rs2, vti.AVL, vti.Log2SEW, TA_MA)>;
1351 (vti.Vector (SplatFPOp vti.ScalarRegClass:$rs2)))),
1354 vti.RegClass:$rs1, vti.ScalarRegClass:$rs2, vti.AVL, vti.Log2SEW, TA_MA)>;
1357 (vti.Vector (fneg vti.RegClass:$rs2)))),
1360 vti.RegClass:$rs1, vti.RegClass:$rs2, vti.AVL, vti.Log2SEW, TA_MA)>;
1362 (vti.Vector (fneg (SplatFPOp vti.ScalarRegClass:$rs2))))),
1365 vti.RegClass:$rs1, vti.ScalarRegClass:$rs2, vti.AVL, vti.Log2SEW, TA_MA)>;
1393 fvti.RegClass:$rs2)),
1396 fvti.RegClass:$rs2, fvti.RegClass:$rs1, (fvti.Mask V0),
1401 fvti.RegClass:$rs2)),
1404 fvti.RegClass:$rs2, GPR:$imm, (fvti.Mask V0), fvti.AVL, fvti.Log2SEW)>;
1408 fvti.RegClass:$rs2)),
1411 fvti.RegClass:$rs2, 0, (fvti.Mask V0), fvti.AVL, fvti.Log2SEW)>;
1419 fvti.RegClass:$rs2)),
1422 fvti.RegClass:$rs2,
1485 def : Pat<(vti.Scalar (extractelt (vti.Vector vti.RegClass:$rs2), 0)),
1486 (vmv_f_s_inst vti.RegClass:$rs2, vti.Log2SEW)>;