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

References

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
11923   bool N1CFP = isConstantFPBuildVectorOrConstantFP(N1);
11936     return DAG.getNode(ISD::FADD, DL, VT, N0, N1, Flags);
11940     return DAG.getNode(ISD::FADD, DL, VT, N1, N0, Flags);
11943   ConstantFPSDNode *N1C = isConstOrConstSplatFP(N1, true);
11953       TLI.isNegatibleForFree(N1, DAG, LegalOperations, ForCodeSize) == 2)
11956         TLI.getNegatedExpression(N1, DAG, LegalOperations, ForCodeSize), Flags);
11962         ISD::FSUB, DL, VT, N1,
11976     return DAG.getNode(ISD::FSUB, DL, VT, N1, Add, Flags);
11979   if (isFMulNegTwo(N1)) {
11980     SDValue B = N1.getOperand(0);
11992     if (N0.getOpcode() == ISD::FNEG && N0.getOperand(0) == N1)
11996     if (N1.getOpcode() == ISD::FNEG && N1.getOperand(0) == N0)
11996     if (N1.getOpcode() == ISD::FNEG && N1.getOperand(0) == N0)
12009       SDValue NewC = DAG.getNode(ISD::FADD, DL, VT, N0.getOperand(1), N1, Flags);
12022         if (CFP01 && !CFP00 && N0.getOperand(0) == N1) {
12025           return DAG.getNode(ISD::FMUL, DL, VT, N1, NewCFP, Flags);
12029         if (CFP01 && !CFP00 && N1.getOpcode() == ISD::FADD &&
12030             N1.getOperand(0) == N1.getOperand(1) &&
12030             N1.getOperand(0) == N1.getOperand(1) &&
12031             N0.getOperand(0) == N1.getOperand(0)) {
12038       if (N1.getOpcode() == ISD::FMUL) {
12039         bool CFP10 = isConstantFPBuildVectorOrConstantFP(N1.getOperand(0));
12040         bool CFP11 = isConstantFPBuildVectorOrConstantFP(N1.getOperand(1));
12043         if (CFP11 && !CFP10 && N1.getOperand(0) == N0) {
12044           SDValue NewCFP = DAG.getNode(ISD::FADD, DL, VT, N1.getOperand(1),
12052             N1.getOperand(0) == N0.getOperand(0)) {
12053           SDValue NewCFP = DAG.getNode(ISD::FADD, DL, VT, N1.getOperand(1),
12055           return DAG.getNode(ISD::FMUL, DL, VT, N1.getOperand(0), NewCFP, Flags);
12063             (N0.getOperand(0) == N1)) {
12065                              N1, DAG.getConstantFP(3.0, DL, VT), Flags);
12069       if (N1.getOpcode() == ISD::FADD) {
12070         bool CFP10 = isConstantFPBuildVectorOrConstantFP(N1.getOperand(0));
12072         if (!CFP10 && N1.getOperand(0) == N1.getOperand(1) &&
12072         if (!CFP10 && N1.getOperand(0) == N1.getOperand(1) &&
12073             N1.getOperand(0) == N0) {
12080       if (N0.getOpcode() == ISD::FADD && N1.getOpcode() == ISD::FADD &&
12082           N1.getOperand(0) == N1.getOperand(1) &&
12082           N1.getOperand(0) == N1.getOperand(1) &&
12083           N0.getOperand(0) == N1.getOperand(0)) {