Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DISDOpcodes.h859 FP_TO_FP16, enumerator
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeFloatTypes.cpp823 case ISD::FP_TO_FP16: // Same as FP_ROUND for softening purposes in SoftenFloatOperand()
873 assert(N->getOpcode() == ISD::FP_ROUND || N->getOpcode() == ISD::FP_TO_FP16 || in SoftenFloatOp_FP_ROUND()
880 EVT FloatRVT = N->getOpcode() == ISD::FP_TO_FP16 ? MVT::f16 : RVT; in SoftenFloatOp_FP_ROUND()
2056 return ISD::FP_TO_FP16; in GetPromotionOpcode()
2216 case ISD::FP_TO_FP16: in PromoteFloatResult()
2738 return DAG.getNode(ISD::FP_TO_FP16, dl, MVT::i16, Res); in SoftPromoteHalfRes_FMAD()
2752 return DAG.getNode(ISD::FP_TO_FP16, dl, MVT::i16, Res); in SoftPromoteHalfRes_FPOWI()
2764 return DAG.getNode(ISD::FP_TO_FP16, SDLoc(N), MVT::i16, N->getOperand(0)); in SoftPromoteHalfRes_FP_ROUND()
2805 return DAG.getNode(ISD::FP_TO_FP16, dl, MVT::i16, Res); in SoftPromoteHalfRes_XINT_TO_FP()
2823 return DAG.getNode(ISD::FP_TO_FP16, dl, MVT::i16, Res); in SoftPromoteHalfRes_UnaryOp()
[all …]
H A DSelectionDAGDumper.cpp362 case ISD::FP_TO_FP16: return "fp_to_fp16"; in getOperationName()
H A DLegalizeDAG.cpp1002 case ISD::FP_TO_FP16: in LegalizeOp()
3186 case ISD::FP_TO_FP16: in ExpandNode()
3192 TLI.isOperationLegalOrCustom(ISD::FP_TO_FP16, MVT::f32)) { in ExpandNode()
3198 DAG.getNode(ISD::FP_TO_FP16, dl, Node->getValueType(0), FloatVal)); in ExpandNode()
4144 case ISD::FP_TO_FP16: { in ConvertNodeToLibcall()
H A DLegalizeIntegerTypes.cpp138 case ISD::FP_TO_FP16: Res = PromoteIntRes_FP_TO_FP16(N); break; in PromoteIntegerResult()
363 return DAG.getNode(ISD::FP_TO_FP16, dl, NOutVT, GetPromotedFloat(InOp)); in PromoteIntRes_BITCAST()
H A DSelectionDAG.cpp4791 case ISD::FP_TO_FP16: { in getNode()
H A DDAGCombiner.cpp1725 case ISD::FP_TO_FP16: return visitFP_TO_FP16(N); in visit()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.h461 FP_TO_FP16, enumerator
H A DAMDGPUInstrInfo.td134 def AMDGPUfp_to_f16 : SDNode<"AMDGPUISD::FP_TO_FP16" , SDTFPToIntOp>;
H A DAMDGPUISelLowering.cpp397 setOperationAction(ISD::FP_TO_FP16, MVT::f64, Custom); in AMDGPUTargetLowering()
398 setOperationAction(ISD::FP_TO_FP16, MVT::f32, Custom); in AMDGPUTargetLowering()
1306 case ISD::FP_TO_FP16: return LowerFP_TO_FP16(Op, DAG); in LowerOperation()
2718 return DAG.getNode(AMDGPUISD::FP_TO_FP16, DL, Op.getValueType(), N0); in LowerFP_TO_FP16()
4418 NODE_NAME_CASE(FP_TO_FP16) in getTargetNodeName()
4548 case AMDGPUISD::FP_TO_FP16: { in computeKnownBitsForTargetNode()
4694 case AMDGPUISD::FP_TO_FP16: in ComputeNumSignBitsForTargetNode()
H A DSIISelLowering.cpp571 setOperationAction(ISD::FP_TO_FP16, MVT::i16, Promote); in SITargetLowering()
572 AddPromotedToType(ISD::FP_TO_FP16, MVT::i16, MVT::i32); in SITargetLowering()
5175 SDValue FpToFp16 = DAG.getNode(ISD::FP_TO_FP16, DL, MVT::i32, Src); in lowerFP_ROUND()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcISelLowering.cpp1526 setOperationAction(ISD::FP_TO_FP16, MVT::f32, Expand); in SparcTargetLowering()
1528 setOperationAction(ISD::FP_TO_FP16, MVT::f64, Expand); in SparcTargetLowering()
1530 setOperationAction(ISD::FP_TO_FP16, MVT::f128, Expand); in SparcTargetLowering()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp132 setOperationAction(ISD::FP_TO_FP16, T, Expand); in WebAssemblyTargetLowering()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsISelLowering.cpp452 setOperationAction(ISD::FP_TO_FP16, MVT::f32, Expand); in MipsTargetLowering()
454 setOperationAction(ISD::FP_TO_FP16, MVT::f64, Expand); in MipsTargetLowering()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.cpp214 setOperationAction(ISD::FP_TO_FP16, FPVT, Expand); in initSPUActions()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetSelectionDAG.td509 def fp_to_f16 : SDNode<"ISD::FP_TO_FP16" , SDTFPToIntOp>;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp195 setOperationAction(ISD::FP_TO_FP16, MVT::f64, Expand); in PPCTargetLowering()
198 setOperationAction(ISD::FP_TO_FP16, MVT::f32, Expand); in PPCTargetLowering()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp309 ISD::FP_TO_FP16}; in RISCVTargetLowering()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp1417 setOperationAction(ISD::FP_TO_FP16, MVT::f64, Expand); in ARMTargetLowering()
1423 setOperationAction(ISD::FP_TO_FP16, MVT::f32, Expand); in ARMTargetLowering()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp403 for (auto Op : {ISD::FP16_TO_FP, ISD::STRICT_FP16_TO_FP, ISD::FP_TO_FP16, in X86TargetLowering()
30491 case ISD::FP_TO_FP16: in LowerOperation()
50973 if (N->getOperand(0).getOpcode() != ISD::FP_TO_FP16) in combineFP16_TO_FP()