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

References

lib/CodeGen/SelectionDAG/DAGCombiner.cpp
12517   ConstantFPSDNode *N1CFP = dyn_cast<ConstantFPSDNode>(N1);
12530     return DAG.getNode(ISD::FDIV, SDLoc(N), VT, N0, N1, Flags);
12560     if (N1.getOpcode() == ISD::FSQRT) {
12561       if (SDValue RV = buildRsqrtEstimate(N1.getOperand(0), Flags))
12563     } else if (N1.getOpcode() == ISD::FP_EXTEND &&
12564                N1.getOperand(0).getOpcode() == ISD::FSQRT) {
12565       if (SDValue RV = buildRsqrtEstimate(N1.getOperand(0).getOperand(0),
12567         RV = DAG.getNode(ISD::FP_EXTEND, SDLoc(N1), VT, RV);
12571     } else if (N1.getOpcode() == ISD::FP_ROUND &&
12572                N1.getOperand(0).getOpcode() == ISD::FSQRT) {
12573       if (SDValue RV = buildRsqrtEstimate(N1.getOperand(0).getOperand(0),
12575         RV = DAG.getNode(ISD::FP_ROUND, SDLoc(N1), VT, RV, N1.getOperand(1));
12575         RV = DAG.getNode(ISD::FP_ROUND, SDLoc(N1), VT, RV, N1.getOperand(1));
12579     } else if (N1.getOpcode() == ISD::FMUL) {
12584       if (N1.getOperand(0).getOpcode() == ISD::FSQRT) {
12585         SqrtOp = N1.getOperand(0);
12586         OtherOp = N1.getOperand(1);
12587       } else if (N1.getOperand(1).getOpcode() == ISD::FSQRT) {
12588         SqrtOp = N1.getOperand(1);
12589         OtherOp = N1.getOperand(0);
12595           RV = DAG.getNode(ISD::FDIV, SDLoc(N1), VT, RV, OtherOp, Flags);
12603     if (SDValue RV = BuildDivEstimate(N0, N1, Flags))
12608   if (isCheaperToUseNegatedFPOps(N0, N1))
12612         TLI.getNegatedExpression(N1, DAG, LegalOperations, ForCodeSize), Flags);