Home
last modified time | relevance | path

Searched refs:FP_TO_FP16 (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h897 FP_TO_FP16, enumerator
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp836 case ISD::FP_TO_FP16: // Same as FP_ROUND for softening purposes in SoftenFloatOperand()
887 assert(N->getOpcode() == ISD::FP_ROUND || N->getOpcode() == ISD::FP_TO_FP16 || in SoftenFloatOp_FP_ROUND()
897 if (N->getOpcode() == ISD::FP_TO_FP16 || in SoftenFloatOp_FP_ROUND()
2077 return ISD::FP_TO_FP16; in GetPromotionOpcode()
2241 case ISD::FP_TO_FP16: in PromoteFloatResult()
2763 return DAG.getNode(ISD::FP_TO_FP16, dl, MVT::i16, Res); in SoftPromoteHalfRes_FMAD()
2777 return DAG.getNode(ISD::FP_TO_FP16, dl, MVT::i16, Res); in SoftPromoteHalfRes_FPOWI()
2789 return DAG.getNode(ISD::FP_TO_FP16, SDLoc(N), MVT::i16, N->getOperand(0)); in SoftPromoteHalfRes_FP_ROUND()
2830 return DAG.getNode(ISD::FP_TO_FP16, dl, MVT::i16, Res); in SoftPromoteHalfRes_XINT_TO_FP()
2848 return DAG.getNode(ISD::FP_TO_FP16, dl, MVT::i16, Res); in SoftPromoteHalfRes_UnaryOp()
[all …]
H A DSelectionDAGDumper.cpp366 case ISD::FP_TO_FP16: return "fp_to_fp16"; in getOperationName()
H A DLegalizeDAG.cpp1000 case ISD::FP_TO_FP16: in LegalizeOp()
3245 case ISD::FP_TO_FP16: in ExpandNode()
3251 TLI.isOperationLegalOrCustom(ISD::FP_TO_FP16, MVT::f32)) { in ExpandNode()
3257 DAG.getNode(ISD::FP_TO_FP16, dl, Node->getValueType(0), FloatVal)); in ExpandNode()
4229 case ISD::FP_TO_FP16: { in ConvertNodeToLibcall()
H A DLegalizeIntegerTypes.cpp151 case ISD::FP_TO_FP16: Res = PromoteIntRes_FP_TO_FP16(N); break; in PromoteIntegerResult()
402 return DAG.getNode(ISD::FP_TO_FP16, dl, NOutVT, GetPromotedFloat(InOp)); in PromoteIntRes_BITCAST()
H A DSelectionDAG.cpp5111 case ISD::FP_TO_FP16: in getNode()
5116 (void)V.convert(Opcode == ISD::FP_TO_FP16 ? APFloat::IEEEhalf() in getNode()
H A DDAGCombiner.cpp1795 case ISD::FP_TO_FP16: return visitFP_TO_FP16(N); in visit()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.h469 FP_TO_FP16, enumerator
H A DAMDGPUInstrInfo.td131 def AMDGPUfp_to_f16 : SDNode<"AMDGPUISD::FP_TO_FP16" , SDTFPToIntOp>;
H A DAMDGPUISelLowering.cpp329 setOperationAction(ISD::FP_TO_FP16, {MVT::f64, MVT::f32}, Custom); in AMDGPUTargetLowering()
1170 case ISD::FP_TO_FP16: return LowerFP_TO_FP16(Op, DAG); in LowerOperation()
2592 return DAG.getNode(AMDGPUISD::FP_TO_FP16, DL, Op.getValueType(), N0); in LowerFP_TO_FP16()
4357 NODE_NAME_CASE(FP_TO_FP16) in getTargetNodeName()
4502 case AMDGPUISD::FP_TO_FP16: { in computeKnownBitsForTargetNode()
4664 case AMDGPUISD::FP_TO_FP16: in ComputeNumSignBitsForTargetNode()
H A DSIISelLowering.cpp477 setOperationAction(ISD::FP_TO_FP16, MVT::i16, Promote); in SITargetLowering()
478 AddPromotedToType(ISD::FP_TO_FP16, MVT::i16, MVT::i32); in SITargetLowering()
5301 SDValue FpToFp16 = DAG.getNode(ISD::FP_TO_FP16, DL, MVT::i32, Src); in lowerFP_ROUND()
/llvm-project-15.0.7/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1621 setOperationAction(ISD::FP_TO_FP16, MVT::f32, Expand); in SparcTargetLowering()
1623 setOperationAction(ISD::FP_TO_FP16, MVT::f64, Expand); in SparcTargetLowering()
1625 setOperationAction(ISD::FP_TO_FP16, MVT::f128, Expand); in SparcTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.cpp1778 setOperationAction(ISD::FP_TO_FP16, MVT::f32, Expand); in HexagonTargetLowering()
1779 setOperationAction(ISD::FP_TO_FP16, MVT::f64, Expand); in HexagonTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp438 setOperationAction(ISD::FP_TO_FP16, MVT::f32, Expand); in MipsTargetLowering()
440 setOperationAction(ISD::FP_TO_FP16, MVT::f64, Expand); in MipsTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp136 setOperationAction(ISD::FP_TO_FP16, T, Expand); in WebAssemblyTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/VE/
H A DVEISelLowering.cpp217 setOperationAction(ISD::FP_TO_FP16, FPVT, Expand); in initSPUActions()
/llvm-project-15.0.7/llvm/include/llvm/Target/
H A DTargetSelectionDAG.td519 def fp_to_f16 : SDNode<"ISD::FP_TO_FP16" , SDTFPToIntOp>;
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp205 setOperationAction(ISD::FP_TO_FP16, MVT::f64, Expand); in PPCTargetLowering()
208 setOperationAction(ISD::FP_TO_FP16, MVT::f32, Expand); in PPCTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp1461 setOperationAction(ISD::FP_TO_FP16, MVT::f64, Expand); in ARMTargetLowering()
1467 setOperationAction(ISD::FP_TO_FP16, MVT::f32, Expand); in ARMTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp317 ISD::FREM, ISD::FP16_TO_FP, ISD::FP_TO_FP16}; in RISCVTargetLowering()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp401 for (auto Op : {ISD::FP16_TO_FP, ISD::STRICT_FP16_TO_FP, ISD::FP_TO_FP16, in X86TargetLowering()
32270 case ISD::FP_TO_FP16: in LowerOperation()
54809 if (N->getOperand(0).getOpcode() != ISD::FP_TO_FP16) in combineFP16_TO_FP()