reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
898 assert(N->getOpcode() == ISD::FP_ROUND || N->getOpcode() == ISD::FP_TO_FP16); 898 assert(N->getOpcode() == ISD::FP_ROUND || N->getOpcode() == ISD::FP_TO_FP16); 900 EVT SVT = N->getOperand(0).getValueType(); 901 EVT RVT = N->getValueType(0); 902 EVT FloatRVT = N->getOpcode() == ISD::FP_TO_FP16 ? MVT::f16 : RVT; 907 SDValue Op = GetSoftenedFloat(N->getOperand(0)); 909 EVT OpsVT[1] = { N->getOperand(0).getValueType() }; 910 CallOptions.setTypeListBeforeSoften(OpsVT, N->getValueType(0), true); 911 return TLI.makeLibCall(DAG, LC, RVT, Op, CallOptions, SDLoc(N)).first;