Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:FP_ROUND

442   case ISD::FP_ROUND:
521 case ISD::FP_ROUND:
522 return DAG.getNode(ISD::FP_ROUND, Op.getDebugLoc(), Op.getValueType(),
1141 case ISD::FP_ROUND: return visitFP_ROUND(N);
5866 // copysign(x, fp_round(y)) -> copysign(x, y)
5867 if (N1.getOpcode() == ISD::FP_EXTEND || N1.getOpcode() == ISD::FP_ROUND)
5954 // fold (fp_round c1fp) -> c1fp
5956 return DAG.getNode(ISD::FP_ROUND, N->getDebugLoc(), VT, N0, N1);
5958 // fold (fp_round (fp_extend x)) -> x
5962 // fold (fp_round (fp_round x)) -> (fp_round x)
5963 if (N0.getOpcode() == ISD::FP_ROUND) {
5967 return DAG.getNode(ISD::FP_ROUND, N->getDebugLoc(), VT, N0.getOperand(0),
5971 // fold (fp_round (copysign X, Y)) -> (copysign (fp_round X), Y)
5973 SDValue Tmp = DAG.getNode(ISD::FP_ROUND, N0.getDebugLoc(), VT,
6003 // If this is fp_round(fpextend), don't fold it, allow ourselves to be folded.
6005 N->use_begin()->getOpcode() == ISD::FP_ROUND)
6012 // Turn fp_extend(fp_round(X, 1)) -> x since the fp_round doesn't affect the
6014 if (N0.getOpcode() == ISD::FP_ROUND
6019 return DAG.getNode(ISD::FP_ROUND, N->getDebugLoc(), VT,
6037 DAG.getNode(ISD::FP_ROUND, N0.getDebugLoc(),
7213 // If this is an FP_ROUND or TRUNC followed by a store, fold this into a
7215 if ((Value.getOpcode() == ISD::FP_ROUND || Value.getOpcode() == ISD::TRUNCATE)