reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
554 EVT NVT = TLI.getTypeToTransformTo(*DAG.getContext(), N->getValueType(0)); 555 SDValue Op = N->getOperand(0); 556 if (N->getValueType(0) == MVT::f16) { 559 return DAG.getNode(ISD::FP_TO_FP16, SDLoc(N), NVT, Op); 562 RTLIB::Libcall LC = RTLIB::getFPROUND(Op.getValueType(), N->getValueType(0)); 565 EVT OpsVT[1] = { N->getOperand(0).getValueType() }; 566 CallOptions.setTypeListBeforeSoften(OpsVT, N->getValueType(0), true); 567 return TLI.makeLibCall(DAG, LC, NVT, Op, CallOptions, SDLoc(N)).first;