Home
last modified time | relevance | path

Searched refs:shiftop (Results 1 – 8 of 8) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoZb.td531 def : PatGprGpr<shiftop<rotl>, ROL>;
532 def : PatGprGpr<shiftop<rotr>, ROR>;
550 def : Pat<(and (not (shiftop<shl> 1, GPR:$rs2)), GPR:$rs1),
553 def : Pat<(or (shiftop<shl> 1, GPR:$rs2), GPR:$rs1),
555 def : Pat<(xor (shiftop<shl> 1, GPR:$rs2), GPR:$rs1),
557 def : Pat<(and (shiftop<srl> GPR:$rs1, GPR:$rs2), 1),
560 def : Pat<(shiftop<shl> 1, GPR:$rs2),
H A DRISCVInstrInfo.td1272 class shiftop<SDPatternOperator operator>
1279 def : PatGprGpr<shiftop<shl>, SLL>;
1280 def : PatGprGpr<shiftop<srl>, SRL>;
1281 def : PatGprGpr<shiftop<sra>, SRA>;
/openbsd-src/gnu/usr.bin/gcc/gcc/config/rs6000/
H A Drs6000.c6899 includes_lshift_p (shiftop, andop) in includes_lshift_p() argument
6900 rtx shiftop; in includes_lshift_p()
6905 shift_mask <<= INTVAL (shiftop);
6913 includes_rshift_p (shiftop, andop) in includes_rshift_p() argument
6914 rtx shiftop; in includes_rshift_p()
6919 shift_mask >>= INTVAL (shiftop);
6929 includes_rldic_lshift_p (shiftop, andop) in includes_rldic_lshift_p() argument
6930 rtx shiftop; in includes_rldic_lshift_p()
6942 shift_mask <<= INTVAL (shiftop);
6978 if (INTVAL (shiftop) > 32)
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/LoongArch/
H A DLoongArchInstrInfo.td798 class shiftop<SDPatternOperator operator>
927 def : PatGprGpr<shiftop<shl>, SLL_W>;
928 def : PatGprGpr<shiftop<sra>, SRA_W>;
929 def : PatGprGpr<shiftop<srl>, SRL_W>;
939 def : PatGprGpr<shiftop<shl>, SLL_D>;
940 def : PatGprGpr<shiftop<sra>, SRA_D>;
941 def : PatGprGpr<shiftop<srl>, SRL_D>;
/openbsd-src/gnu/llvm/llvm/lib/Target/SystemZ/
H A DSystemZInstrInfo.td1480 defm SLL : BinaryRSAndK<"sll", 0x89, 0xEBDF, shiftop<shl>, GR32>;
1481 def SLLG : BinaryRSY<"sllg", 0xEB0D, shiftop<shl>, GR64>;
1492 defm SRL : BinaryRSAndK<"srl", 0x88, 0xEBDE, shiftop<srl>, GR32>;
1493 def SRLG : BinaryRSY<"srlg", 0xEB0C, shiftop<srl>, GR64>;
1498 defm SRA : BinaryRSAndK<"sra", 0x8A, 0xEBDC, shiftop<sra>, GR32>;
1499 def SRAG : BinaryRSY<"srag", 0xEB0A, shiftop<sra>, GR64>;
1504 def RLL : BinaryRSY<"rll", 0xEB1D, shiftop<rotl>, GR32>;
1505 def RLLG : BinaryRSY<"rllg", 0xEB1C, shiftop<rotl>, GR64>;
H A DSystemZOperators.td745 class shiftop<SDPatternOperator operator>
/openbsd-src/gnu/gcc/gcc/config/rs6000/
H A Drs6000.c9671 includes_lshift_p (rtx shiftop, rtx andop) in includes_lshift_p() argument
9675 shift_mask <<= INTVAL (shiftop); in includes_lshift_p()
9683 includes_rshift_p (rtx shiftop, rtx andop) in includes_rshift_p() argument
9687 shift_mask >>= INTVAL (shiftop); in includes_rshift_p()
9697 includes_rldic_lshift_p (rtx shiftop, rtx andop) in includes_rldic_lshift_p() argument
9708 shift_mask <<= INTVAL (shiftop); in includes_rldic_lshift_p()
9744 if (INTVAL (shiftop) > 32) in includes_rldic_lshift_p()
9745 shift_mask_high <<= INTVAL (shiftop) - 32; in includes_rldic_lshift_p()
9749 if (-lsb != shift_mask_high || INTVAL (shiftop) < 32) in includes_rldic_lshift_p()
9760 shift_mask_low <<= INTVAL (shiftop); in includes_rldic_lshift_p()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/
H A DAArch64InstrFormats.td1079 class logical_shifted_reg<ValueType Ty, RegisterClass regclass, Operand shiftop>
1083 let MIOperandInfo = (ops regclass, shiftop);