Lines Matching refs:shamt
261 (ins GPR:$rs1, uimmlog2xlen:$shamt), opcodestr,
262 "$rd, $rs1, $shamt">;
268 (ins GPR:$rs1, uimm5:$shamt), opcodestr,
269 "$rd, $rs1, $shamt">;
464 def : InstAlias<"ror $rd, $rs1, $shamt",
465 (RORI GPR:$rd, GPR:$rs1, uimmlog2xlen:$shamt), 0>;
469 def : InstAlias<"rorw $rd, $rs1, $shamt",
470 (RORIW GPR:$rd, GPR:$rs1, uimm5:$shamt), 0>;
474 def : InstAlias<"bset $rd, $rs1, $shamt",
475 (BSETI GPR:$rd, GPR:$rs1, uimmlog2xlen:$shamt), 0>;
476 def : InstAlias<"bclr $rd, $rs1, $shamt",
477 (BCLRI GPR:$rd, GPR:$rs1, uimmlog2xlen:$shamt), 0>;
478 def : InstAlias<"binv $rd, $rs1, $shamt",
479 (BINVI GPR:$rd, GPR:$rs1, uimmlog2xlen:$shamt), 0>;
480 def : InstAlias<"bext $rd, $rs1, $shamt",
481 (BEXTI GPR:$rd, GPR:$rs1, uimmlog2xlen:$shamt), 0>;
509 def : Pat<(XLenVT (rotl GPR:$rs1, uimmlog2xlen:$shamt)),
510 (RORI GPR:$rs1, (ImmSubFromXLen uimmlog2xlen:$shamt))>;
545 def : Pat<(XLenVT (and (srl GPR:$rs1, uimmlog2xlen:$shamt), (XLenVT 1))),
546 (BEXTI GPR:$rs1, uimmlog2xlen:$shamt)>;
683 def : Pat<(i64 (shl (and GPR:$rs1, 0xFFFFFFFF), uimm5:$shamt)),
684 (SLLI_UW GPR:$rs1, uimm5:$shamt)>;
801 def : Pat<(shl (i64 (zext i32:$rs1)), uimm5:$shamt),
802 (SLLI_UW GPR:$rs1, uimm5:$shamt)>;
836 def : Pat<(i32 (and (srl GPR:$rs1, uimm5:$shamt), (i32 1))),
837 (BEXTI GPR:$rs1, uimm5:$shamt)>;