reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
6331 EVT ShVT = getShiftAmountTy(VT, DAG.getDataLayout()); 6335 if (VT.isVector() && (!isOperationLegalOrCustom(ISD::SRA, VT) || 6335 if (VT.isVector() && (!isOperationLegalOrCustom(ISD::SRA, VT) || 6336 !isOperationLegalOrCustom(ISD::ADD, VT) || 6337 !isOperationLegalOrCustomOrPromote(ISD::XOR, VT))) 6341 DAG.getNode(ISD::SRA, dl, VT, Op, 6342 DAG.getConstant(VT.getScalarSizeInBits() - 1, dl, ShVT)); 6343 SDValue Add = DAG.getNode(ISD::ADD, dl, VT, Op, Shift); 6344 Result = DAG.getNode(ISD::XOR, dl, VT, Add, Shift);