Lines Matching refs:shl

522 def : Pat<(XLenVT (and (not (shiftop<shl> 1, (XLenVT GPR:$rs2))), GPR:$rs1)),
526 def : Pat<(XLenVT (or (shiftop<shl> 1, (XLenVT GPR:$rs2)), GPR:$rs1)),
528 def : Pat<(XLenVT (xor (shiftop<shl> 1, (XLenVT GPR:$rs2)), GPR:$rs1)),
533 def : Pat<(XLenVT (shiftop<shl> 1, (XLenVT GPR:$rs2))),
535 def : Pat<(XLenVT (not (shiftop<shl> -1, (XLenVT GPR:$rs2)))),
617 def : Pat<(or (and (shl GPR:$rs2, (XLenVT 8)), 0xFFFF),
620 def : Pat<(or (shl (zexti8 (XLenVT GPR:$rs2)), (XLenVT 8)),
623 def : Pat<(and (or (shl GPR:$rs2, (XLenVT 8)),
627 def : Pat<(binop_allhusers<or> (shl GPR:$rs2, (XLenVT 8)),
633 def : Pat<(i32 (or (zexti16 (i32 GPR:$rs1)), (shl GPR:$rs2, (i32 16)))),
637 def : Pat<(i64 (or (zexti32 (i64 GPR:$rs1)), (shl GPR:$rs2, (i64 32)))),
640 def : Pat<(binop_allwusers<or> (shl GPR:$rs2, (i64 16)),
643 def : Pat<(i64 (or (sext_inreg (shl GPR:$rs2, (i64 16)), i32),
662 def : Pat<(XLenVT (add_like_non_imm12 (shl GPR:$rs1, (XLenVT i)), GPR:$rs2)),
683 def : Pat<(i64 (shl (and GPR:$rs1, 0xFFFFFFFF), uimm5:$shamt)),
696 def : Pat<(i64 (add_like_non_imm12 (shl (and GPR:$rs1, 0xFFFFFFFF), (i64 i)), (XLenVT GPR:$rs2))),
702 def : Pat<(i64 (add_like_non_imm12 (and (shl GPR:$rs1, (i64 1)), 0x1FFFFFFFF), (XLenVT GPR:$rs2))),
704 def : Pat<(i64 (add_like_non_imm12 (and (shl GPR:$rs1, (i64 2)), 0x3FFFFFFFF), (XLenVT GPR:$rs2))),
706 def : Pat<(i64 (add_like_non_imm12 (and (shl GPR:$rs1, (i64 3)), 0x7FFFFFFFF), (XLenVT GPR:$rs2))),
786 def : Pat<(or (and (shl GPR:$rs2, (i64 8)), 0xFFFF),
789 def : Pat<(or (shl (zexti8i32 (i32 GPR:$rs2)), (i64 8)),
792 def : Pat<(and (anyext (or (shl GPR:$rs2, (XLenVT 8)),
796 def : Pat<(i32 (or (shl GPR:$rs2, (i64 16)), (zexti16i32 (i32 GPR:$rs1)))),
801 def : Pat<(shl (i64 (zext i32:$rs1)), uimm5:$shamt),
810 def : Pat<(i32 (add_like_non_imm12 (shl GPR:$rs1, (i64 i)), GPR:$rs2)),
818 def : Pat<(i32 (and (not (shiftop<shl> 1, (i64 GPR:$rs2))), GPR:$rs1)),
822 def : Pat<(i32 (or (shiftop<shl> 1, (i64 GPR:$rs2)), GPR:$rs1)),
824 def : Pat<(i32 (xor (shiftop<shl> 1, (i64 GPR:$rs2)), GPR:$rs1)),
831 def : Pat<(i32 (shiftop<shl> 1, (i64 GPR:$rs2))),
833 def : Pat<(i32 (not (shiftop<shl> -1, (i64 GPR:$rs2)))),