Lines Matching refs:ROTL
1224 case ISD::ROTL: return visitRotate(N);
3157 /// => (rotl (bswap x), 16)
3219 if (TLI.isOperationLegalOrCustom(ISD::ROTL, VT))
3220 return DAG.getNode(ISD::ROTL, SDLoc(N), VT, BSwap, ShAmt);
3330 // Recognize halfword bswaps as (bswap + rotl 16) or (bswap + shl 16)
3573 // (rotl x, y) or (rotr x, (sub 32, y))
3577 // (rotr x, y) or (rotl x, (sub 32, y))
3597 bool HasROTL = TLI.isOperationLegalOrCustom(ISD::ROTL, VT);
3631 // fold (or (shl x, C1), (srl x, C2)) -> (rotl x, C1)
3640 SDValue Rot = DAG.getNode(HasROTL ? ISD::ROTL : ISD::ROTR, DL, VT,
3683 LExtOp0, RExtOp0, ISD::ROTL, ISD::ROTR, DL);
3688 RExtOp0, LExtOp0, ISD::ROTR, ISD::ROTL, DL);
5922 // Form (sext_inreg (bswap >> 16)) or (sext_inreg (rotl (bswap) 16))