Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:FP_ROUND

503   case ISD::FP_ROUND:
582 case ISD::FP_ROUND:
583 return DAG.getNode(ISD::FP_ROUND, SDLoc(Op), Op.getValueType(),
1252 case ISD::FP_ROUND: return visitFP_ROUND(N);
7013 // copysign(x, fp_round(y)) -> copysign(x, y)
7014 if (N1.getOpcode() == ISD::FP_EXTEND || N1.getOpcode() == ISD::FP_ROUND)
7144 // fold (fp_round c1fp) -> c1fp
7146 return DAG.getNode(ISD::FP_ROUND, SDLoc(N), VT, N0, N1);
7148 // fold (fp_round (fp_extend x)) -> x
7152 // fold (fp_round (fp_round x)) -> (fp_round x)
7153 if (N0.getOpcode() == ISD::FP_ROUND) {
7157 return DAG.getNode(ISD::FP_ROUND, SDLoc(N), VT, N0.getOperand(0),
7161 // fold (fp_round (copysign X, Y)) -> (copysign (fp_round X), Y)
7163 SDValue Tmp = DAG.getNode(ISD::FP_ROUND, SDLoc(N0), VT,
7193 // If this is fp_round(fpextend), don't fold it, allow ourselves to be folded.
7195 N->use_begin()->getOpcode() == ISD::FP_ROUND)
7202 // Turn fp_extend(fp_round(X, 1)) -> x since the fp_round doesn't affect the
7204 if (N0.getOpcode() == ISD::FP_ROUND
7209 return DAG.getNode(ISD::FP_ROUND, SDLoc(N), VT,
7225 DAG.getNode(ISD::FP_ROUND, SDLoc(N0),
9677 // If this is an FP_ROUND or TRUNC followed by a store, fold this into a
9679 if ((Value.getOpcode() == ISD::FP_ROUND || Value.getOpcode() == ISD::TRUNCATE)