|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/CodeGen/SelectionDAG/DAGCombiner.cpp 2081 if (VT.isVector()) {
2102 return DAG.getNode(ISD::ADD, DL, VT, N1, N0);
2104 return DAG.FoldConstantArithmetic(ISD::ADD, DL, VT, N0.getNode(),
2116 SDValue Sub = DAG.FoldConstantArithmetic(ISD::SUB, DL, VT, N1.getNode(),
2119 return DAG.getNode(ISD::ADD, DL, VT, N0.getOperand(0), Sub);
2125 SDValue Add = DAG.FoldConstantArithmetic(ISD::ADD, DL, VT, N1.getNode(),
2128 return DAG.getNode(ISD::SUB, DL, VT, Add, N0.getOperand(1));
2140 TLI.isOperationLegal(ISD::ZERO_EXTEND, VT))) &&
2143 return DAG.getNode(ISD::ZERO_EXTEND, DL, VT, Not);
2152 SDValue Add0 = DAG.getNode(ISD::ADD, DL, VT, N1, N0.getOperand(1));
2153 return DAG.getNode(ISD::ADD, DL, VT, N0.getOperand(0), Add0);
2167 return DAG.getNode(ISD::SUB, DL, VT, N1, N0.getOperand(1));
2171 return DAG.getNode(ISD::SUB, DL, VT, N0, N1.getOperand(1));
2184 return DAG.getNode(ISD::SUB, DL, VT, N1.getOperand(0),
2190 return DAG.getNode(ISD::SUB, DL, VT, N0.getOperand(0),
2196 return DAG.getNode(ISD::SUB, DL, VT, N1.getOperand(0),
2202 return DAG.getNode(ISD::SUB, DL, VT, N1.getOperand(0),
2209 return DAG.getNode(N1.getOpcode(), DL, VT, N1.getOperand(0).getOperand(0),
2220 return DAG.getNode(ISD::SUB, DL, VT,
2221 DAG.getNode(ISD::ADD, SDLoc(N0), VT, N00, N10),
2222 DAG.getNode(ISD::ADD, SDLoc(N1), VT, N01, N11));
2226 if (N0.getOpcode() == ISD::UMAX && hasOperation(ISD::USUBSAT, VT)) {
2233 return DAG.getNode(ISD::USUBSAT, DL, VT, N0.getOperand(0),
2243 return DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT),
2243 return DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, DL, VT),
2261 return DAG.getNode(ISD::SUB, DL, VT, A, Xor.getOperand(0));
2268 if (!TLI.preferIncOfAddToSubOfNot(VT) && N0.hasOneUse() &&
2270 SDValue Not = DAG.getNode(ISD::XOR, DL, VT, N0.getOperand(0),
2271 DAG.getAllOnesConstant(DL, VT));
2272 return DAG.getNode(ISD::SUB, DL, VT, N0.getOperand(1), Not);
2279 SDValue Xor = DAG.getNode(ISD::XOR, DL, VT, N0.getOperand(1), N1);
2280 return DAG.getNode(ISD::ADD, DL, VT, Xor, N0.getOperand(0));