Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXMCExpr.cpp35 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowLevelType.cpp67 return APFloat::IEEEhalf(); in getFltSemanticForLLT()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h171 case HalfTyID: return APFloat::IEEEhalf(); in getFltSemantics()
448 if (&S == &APFloat::IEEEhalf()) in getFloatingPointTy()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DTargetInfo.cpp111 HalfFormat = &llvm::APFloat::IEEEhalf(); in TargetInfo()
396 HalfFormat = &llvm::APFloat::IEEEhalf(); in adjust()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp354 APFloat::getZero(APFloat::IEEEhalf())); in getNullValue()
1614 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType()
1616 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1632 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1641 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1647 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1653 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
3236 return APFloat(APFloat::IEEEhalf(), APInt(16, EltVal)); in getElementAsAPFloat()
H A DConstantFold.cpp440 Val.convert(DestTy->isHalfTy() ? APFloat::IEEEhalf() : in ConstantFoldCastInstruction()
H A DAsmWriter.cpp1425 } else if (&APF.getSemantics() == &APFloat::IEEEhalf()) { in WriteConstantInternal()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp447 else if (S == &APFloat::IEEEhalf()) in promoteFloatSemantics()
H A DZ3Solver.cpp235 return llvm::APFloat::IEEEhalf(); in getFloatSemantics()
H A DAPFloat.cpp127 return IEEEhalf(); in EnumToSemantics()
146 if (&Sem == &llvm::APFloat::IEEEhalf()) in SemanticsToEnum()
164 const fltSemantics &APFloatBase::IEEEhalf() { in IEEEhalf() function in llvm::APFloatBase
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp304 if (&format == &llvm::APFloat::IEEEhalf()) { in getTypeForFormat()
H A DCGExprConstant.cpp2063 if (&Init.getSemantics() == &llvm::APFloat::IEEEhalf() && in tryEmitPrivate()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp433 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in getAPFloatFromSize()
/freebsd-13.1/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp1057 APFloatVal = APFloat(APFloat::IEEEhalf(), in Lex0x()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp98 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEhalf()) in PickFP()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h165 static const fltSemantics &IEEEhalf() LLVM_READNONE;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp73 FloatValue.convert(APFloat::IEEEhalf(), APFloat::rmTowardZero, &LosesInfo); in canSafelyConvertTo16Bit()
H A DAMDGPUISelLowering.cpp3720 static const APFloat KF16(APFloat::IEEEhalf(), APInt(16, 0x3118)); in isInv2Pi()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1969 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1()
2323 APFloat Val(APFloat::IEEEhalf(), Op->getValue()); in ConstantFoldScalarCall1()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h1593 case MVT::f16: return APFloat::IEEEhalf();
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1624 if (fitsInFPType(CFP, APFloat::IEEEhalf())) in shrinkFPConstant()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1704 return &APFloat::IEEEhalf(); in getFltSemantics()
1745 return &APFloat::IEEEhalf(); in getOpFltSemantics()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp4687 return getConstantFP(APFloat(APFloat::IEEEhalf(), Val), DL, VT); in getNode()
4717 APFloat FPV(APFloat::IEEEhalf(), in getNode()
4795 (void)V.convert(APFloat::IEEEhalf(), in getNode()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2449 V = ConstantFP::get(Context, APFloat(APFloat::IEEEhalf(), in parseConstants()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelDAGToDAG.cpp3204 APFloat(ScalarBits == 32 ? APFloat::IEEEsingle() : APFloat::IEEEhalf(), in transformFixedFloatingPointConversion()

12