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

References

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
 2426     return DAG.getNode(ISD::SUB, DL, VT, N0,
 2427                        DAG.getNode(ISD::SHL, DL, VT,
 2438   if (!TLI.preferIncOfAddToSubOfNot(VT) && N0.hasOneUse() &&
 2440     SDValue Not = DAG.getNode(ISD::XOR, DL, VT, N0.getOperand(0),
 2441                               DAG.getAllOnesConstant(DL, VT));
 2442     return DAG.getNode(ISD::SUB, DL, VT, N1, Not);
 2450     SDValue Add = DAG.getNode(ISD::ADD, DL, VT, N0.getOperand(0), N1);
 2451     return DAG.getNode(ISD::SUB, DL, VT, Add, N0.getOperand(1));
 2457     SDValue Sub = DAG.getNode(ISD::SUB, DL, VT, N1, N0.getOperand(1));
 2458     return DAG.getNode(ISD::ADD, DL, VT, Sub, N0.getOperand(0));
 2466       TLI.getBooleanContents(VT) == TargetLowering::ZeroOrOneBooleanContent) {
 2467     SDValue ZExt = DAG.getNode(ISD::ZERO_EXTEND, DL, VT, N0.getOperand(0));
 2468     return DAG.getNode(ISD::SUB, DL, VT, N1, ZExt);
 2475       SDValue ZExt = DAG.getNode(ISD::AND, DL, VT, N1.getOperand(0),
 2476                                  DAG.getConstant(1, DL, VT));
 2477       return DAG.getNode(ISD::SUB, DL, VT, N0, ZExt);
 2488   if (TLI.isOperationLegalOrCustom(ISD::ADDCARRY, VT))
 2491                          DAG.getVTList(VT, Carry.getValueType()), N0,
 2492                          DAG.getConstant(0, DL, VT), Carry);