reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 9421     return DAG.getNode(ISD::SIGN_EXTEND, DL, VT, N0.getOperand(0));
 9441     unsigned DestBits = VT.getScalarSizeInBits();
 9453         return DAG.getNode(ISD::SIGN_EXTEND, DL, VT, Op);
 9458         return DAG.getNode(ISD::TRUNCATE, DL, VT, Op);
 9465         Op = DAG.getNode(ISD::ANY_EXTEND, SDLoc(N0), VT, Op);
 9467         Op = DAG.getNode(ISD::TRUNCATE, SDLoc(N0), VT, Op);
 9468       return DAG.getNode(ISD::SIGN_EXTEND_INREG, DL, VT, Op,
 9475           tryToFoldExtOfLoad(DAG, *this, TLI, VT, LegalOperations, N, N0,
 9480       tryToFoldExtOfMaskedLoad(DAG, TLI, VT, N, N0, ISD::SEXTLOAD,
 9491           DAG, *this, TLI, VT, LegalOperations, N, N0, ISD::SEXTLOAD))
 9500       (!LegalOperations && TLI.isOperationLegal(N0.getOpcode(), VT))) {
 9503     if (TLI.isLoadExtLegal(ISD::SEXTLOAD, VT, MemVT) &&
 9506       bool DoXform = ExtendUsesToFormExtLoad(VT, N0.getNode(), N0.getOperand(0),
 9509         SDValue ExtLoad = DAG.getExtLoad(ISD::SEXTLOAD, SDLoc(LN00), VT,
 9514         Mask = Mask.sext(VT.getSizeInBits());
 9515         SDValue And = DAG.getNode(N0.getOpcode(), DL, VT,
 9516                                   ExtLoad, DAG.getConstant(Mask, DL, VT));
 9550     if (VT.isVector() && !LegalOperations &&
 9565         if (VT.getSizeInBits() == SVT.getSizeInBits())
 9566           return DAG.getSetCC(DL, VT, N00, N01, CC);
 9574           return DAG.getSExtOrTrunc(VsetCC, DL, VT);
 9592                              ? DAG.getAllOnesConstant(DL, VT)
 9593                              : DAG.getBoolConstant(true, DL, VT, N00VT);
 9594     SDValue Zero = DAG.getConstant(0, DL, VT);
 9599     if (!VT.isVector() && !TLI.convertSelectOfConstantsToMath(VT)) {
 9599     if (!VT.isVector() && !TLI.convertSelectOfConstantsToMath(VT)) {
 9608         return DAG.getSelect(DL, VT, SetCC, ExtTrueVal, Zero);
 9614   if ((!LegalOperations || TLI.isOperationLegal(ISD::ZERO_EXTEND, VT)) &&
 9616     return DAG.getNode(ISD::ZERO_EXTEND, DL, VT, N0);
 9626       TLI.isOperationLegalOrCustom(ISD::SUB, VT)) {
 9627     SDValue Zext = DAG.getZExtOrTrunc(N0.getOperand(1).getOperand(0), DL, VT);
 9628     return DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), Zext);
 9628     return DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT), Zext);
 9635       TLI.isOperationLegalOrCustom(ISD::ADD, VT)) {
 9636     SDValue Zext = DAG.getZExtOrTrunc(N0.getOperand(0).getOperand(0), DL, VT);
 9637     return DAG.getNode(ISD::ADD, DL, VT, Zext, DAG.getAllOnesConstant(DL, VT));
 9637     return DAG.getNode(ISD::ADD, DL, VT, Zext, DAG.getAllOnesConstant(DL, VT));