Home
last modified time | relevance | path

Searched refs:IEEEhalf (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXMCExpr.cpp35 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
H A DNVPTXTargetTransformInfo.cpp348 Action.IsHalfTy ? APFloat::IEEEhalf() : APFloat::IEEEsingle()); in simplifyNvvmIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowLevelTypeUtils.cpp76 return APFloat::IEEEhalf(); in getFltSemanticForLLT()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCombinerHelper.cpp144 static const APFloat KF16(APFloat::IEEEhalf(), APInt(16, 0x3118)); in isInv2Pi()
411 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &LosesInfo); in isFPExtFromF16OrConst()
H A DAMDGPUInstCombineIntrinsic.cpp78 FloatValue.convert(APFloat::IEEEhalf(), APFloat::rmTowardZero, in canSafelyConvertTo16Bit()
368 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &LosesInfo); in matchFPExtFromF16()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DTargetInfo.cpp144 HalfFormat = &llvm::APFloat::IEEEhalf(); in TargetInfo()
438 HalfFormat = &llvm::APFloat::IEEEhalf(); in adjust()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.cpp256 &FPImm.getSemantics() == &APFloat::IEEEhalf()) && in getLoadFPImm()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp72 case HalfTyID: return APFloat::IEEEhalf(); in getFltSemantics()
95 if (&S == &APFloat::IEEEhalf()) in getFloatingPointTy()
H A DConstants.cpp1528 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType()
1530 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1546 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1555 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1561 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1567 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
2973 return APFloat(APFloat::IEEEhalf(), APInt(16, EltVal)); in getElementAsAPFloat()
H A DAsmWriter.cpp1498 } else if (&APF.getSemantics() == &APFloat::IEEEhalf()) { in WriteConstantInternal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp478 else if (S == &APFloat::IEEEhalf()) in promoteFloatSemantics()
H A DZ3Solver.cpp237 return llvm::APFloat::IEEEhalf(); in getFloatSemantics()
H A DAPFloat.cpp186 return IEEEhalf(); in EnumToSemantics()
217 if (&Sem == &llvm::APFloat::IEEEhalf()) in SemanticsToEnum()
247 const fltSemantics &APFloatBase::IEEEhalf() { return semIEEEhalf; } in IEEEhalf() function in llvm::APFloatBase
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp216 if (&format == &llvm::APFloat::IEEEhalf()) { in getTypeForFormat()
H A DCGExprConstant.cpp2115 if (&Init.getSemantics() == &llvm::APFloat::IEEEhalf() && in tryEmitPrivate()
/freebsd-14.2/contrib/llvm-project/lldb/source/Core/
H A DDumpDataExtractor.cpp332 return llvm::APFloat::IEEEhalf(); in GetFloatSemantics()
/freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp1040 APFloatVal = APFloat(APFloat::IEEEhalf(), in Lex0x()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h199 static const fltSemantics &IEEEhalf() LLVM_READNONE;
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp100 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEhalf()) in PickFP()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp641 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in getAPFloatFromSize()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp2053 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1()
2415 APFloat Val(APFloat::IEEEhalf(), Op->getValue()); in ConstantFoldScalarCall1()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h1848 case MVT::f16: return APFloat::IEEEhalf();
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1544 if (fitsInFPType(CFP, APFloat::IEEEhalf())) in shrinkFPConstant()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1871 return &APFloat::IEEEhalf(); in getFltSemantics()
1917 return &APFloat::IEEEhalf(); in getOpFltSemantics()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp6129 APFloat FPV(Opcode == ISD::FP16_TO_FP ? APFloat::IEEEhalf() in FoldConstantArithmetic()
6145 return getConstantFP(APFloat(APFloat::IEEEhalf(), Val), DL, VT); in FoldConstantArithmetic()
6208 (void)V.convert(Opcode == ISD::FP_TO_FP16 ? APFloat::IEEEhalf() in FoldConstantArithmetic()

12