Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXMCExpr.cpp36 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
H A DNVPTXTargetTransformInfo.cpp358 Action.IsHalfTy ? APFloat::IEEEhalf() : APFloat::IEEEsingle()); in convertNvvmIntrinsicToLlvm()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLowLevelTypeUtils.cpp78 return APFloat::IEEEhalf(); in getFltSemanticForLLT()
H A DValueTypes.cpp320 case MVT::f16: return APFloat::IEEEhalf(); in getFltSemantics()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCombinerHelper.cpp151 static const APFloat KF16(APFloat::IEEEhalf(), APInt(16, 0x3118)); in isInv2Pi()
418 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &LosesInfo); in isFPExtFromF16OrConst()
H A DAMDGPUInstCombineIntrinsic.cpp79 FloatValue.convert(APFloat::IEEEhalf(), APFloat::rmTowardZero, in canSafelyConvertTo16Bit()
423 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &LosesInfo); in matchFPExtFromF16()
846 Val.convert(APFloat::IEEEhalf(), APFloat::rmTowardZero, &LosesInfo); in instCombineIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVBaseInfo.cpp195 &FPImm.getSemantics() == &APFloat::IEEEhalf()) && in getLoadFPImm()
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DTargetInfo.cpp150 HalfFormat = &llvm::APFloat::IEEEhalf(); in TargetInfo()
475 HalfFormat = &llvm::APFloat::IEEEhalf(); in adjust()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp1625 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType()
1627 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1643 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1652 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1658 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1664 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
3149 return APFloat(APFloat::IEEEhalf(), APInt(16, EltVal)); in getElementAsAPFloat()
H A DType.cpp109 case HalfTyID: return APFloat::IEEEhalf(); in getFltSemantics()
128 if (&S == &APFloat::IEEEhalf()) in getFloatingPointTy()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPFixedPoint.cpp501 else if (S == &APFloat::IEEEhalf()) in promoteFloatSemantics()
H A DZ3Solver.cpp242 return llvm::APFloat::IEEEhalf(); in getFloatSemantics()
H A DAPFloat.cpp175 return IEEEhalf(); in EnumToSemantics()
220 if (&Sem == &llvm::APFloat::IEEEhalf()) in SemanticsToEnum()
264 const fltSemantics &APFloatBase::IEEEhalf() { return semIEEEhalf; } in IEEEhalf() function in llvm::APFloatBase
/freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/
H A DCIRTypes.cpp506 return llvm::APFloat::IEEEhalf(); in getFloatSemantics()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExprConstant.cpp691 if (&init.getSemantics() == &llvm::APFloat::IEEEhalf() && in tryEmitPrivate()
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDumpDataExtractor.cpp333 return llvm::APFloat::IEEEhalf(); in GetFloatSemantics()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTypes.cpp281 if (&format == &llvm::APFloat::IEEEhalf()) { in getTypeForFormat()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLLexer.cpp1122 APFloatVal = APFloat(APFloat::IEEEhalf(), in Lex0x()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp2274 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1()
2768 APFloat Val(APFloat::IEEEhalf(), Op->getValue()); in ConstantFoldScalarCall1()
3206 Res.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, in ConstantFoldIntrinsicCall2()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h260 LLVM_ABI static const fltSemantics &IEEEhalf() LLVM_READNONE;
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp100 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEhalf()) in PickFP()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp660 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in getAPFloatFromSize()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1988 return &APFloat::IEEEhalf(); in getFltSemantics()
2029 return &APFloat::IEEEhalf(); in getOpFltSemantics()
2118 FPLiteral.convert(APFloatBase::IEEEhalf(), APFloat::rmNearestTiesToEven, in isInlinableImm()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp1823 return APFloat::getZero(APFloat::IEEEhalf()); in getZeroFP()
1837 return APFloat::getOne(APFloat::IEEEhalf()); in getOneFP()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1633 if (!PreferBFloat && fitsInFPType(CFP, APFloat::IEEEhalf())) in shrinkFPConstant()

12