reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
6139 if (!TLI.isTypeLegal(VT)) 6143 bool HasROTL = hasOperation(ISD::ROTL, VT); 6144 bool HasROTR = hasOperation(ISD::ROTR, VT); 6208 unsigned EltSizeInBits = VT.getScalarSizeInBits(); 6221 SDValue Rot = DAG.getNode(HasROTL ? ISD::ROTL : ISD::ROTR, DL, VT, 6226 SDValue AllOnes = DAG.getAllOnesConstant(DL, VT); 6230 SDValue RHSBits = DAG.getNode(ISD::SRL, DL, VT, AllOnes, RHSShiftAmt); 6231 Mask = DAG.getNode(ISD::AND, DL, VT, Mask, 6232 DAG.getNode(ISD::OR, DL, VT, LHSMask, RHSBits)); 6235 SDValue LHSBits = DAG.getNode(ISD::SHL, DL, VT, AllOnes, LHSShiftAmt); 6236 Mask = DAG.getNode(ISD::AND, DL, VT, Mask, 6237 DAG.getNode(ISD::OR, DL, VT, RHSMask, LHSBits)); 6240 Rot = DAG.getNode(ISD::AND, DL, VT, Rot, Mask);