Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Target/NVPTX/
H A DNVPTXMCExpr.cpp36 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in printImpl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DTargetInfo.cpp104 HalfFormat = &llvm::APFloat::IEEEhalf(); in TargetInfo()
372 HalfFormat = &llvm::APFloat::IEEEhalf(); in adjust()
/freebsd-12.1/contrib/llvm/lib/IR/
H A DConstants.cpp271 APFloat::getZero(APFloat::IEEEhalf())); in getNullValue()
671 return &APFloat::IEEEhalf(); in TypeToFloatSemantics()
787 if (&V.getSemantics() == &APFloat::IEEEhalf()) in get()
1291 if (&Val2.getSemantics() == &APFloat::IEEEhalf()) in isValueValidForType()
1293 Val2.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &losesInfo); in isValueValidForType()
1303 if (&Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1311 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1316 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
1321 return &Val2.getSemantics() == &APFloat::IEEEhalf() || in isValueValidForType()
2736 return APFloat(APFloat::IEEEhalf(), APInt(16, EltVal)); in getElementAsAPFloat()
H A DConstantFold.cpp595 Val.convert(DestTy->isHalfTy() ? APFloat::IEEEhalf() : in ConstantFoldCastInstruction()
H A DAsmWriter.cpp1365 } else if (&APF.getSemantics() == &APFloat::IEEEhalf()) { in WriteConstantInternal()
/freebsd-12.1/contrib/llvm/lib/CodeGen/GlobalISel/
H A DUtils.cpp234 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &Ignored); in getAPFloatFromSize()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DType.h171 case HalfTyID: return APFloat::IEEEhalf(); in getFltSemantics()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DExpr.cpp843 setRawSemantics(IEEEhalf); in FloatingLiteral()
860 case IEEEhalf: in getSemantics()
861 return llvm::APFloat::IEEEhalf(); in getSemantics()
877 if (&Sem == &llvm::APFloat::IEEEhalf()) in setSemantics()
878 FloatingLiteralBits.Semantics = IEEEhalf; in setSemantics()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTypes.cpp293 if (&format == &llvm::APFloat::IEEEhalf()) { in getTypeForFormat()
H A DCGExprConstant.cpp1891 if (&Init.getSemantics() == &llvm::APFloat::IEEEhalf() && in tryEmitPrivate()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp1524 APF.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue()
1692 Val.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall()
1885 APFloat Val(APFloat::IEEEhalf(), Op->getValue()); in ConstantFoldScalarCall()
/freebsd-12.1/contrib/llvm/lib/AsmParser/
H A DLLLexer.cpp1015 APFloatVal = APFloat(APFloat::IEEEhalf(), in Lex0x()
H A DLLParser.cpp5041 ID.APFloatVal.convert(APFloat::IEEEhalf(), APFloat::rmNearestTiesToEven, in ConvertValIDToValue()
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DAPFloat.h152 static const fltSemantics &IEEEhalf() LLVM_READNONE;
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DZ3ConstraintManager.cpp234 return llvm::APFloat::IEEEhalf(); in getFloatSemantics()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DInitPreprocessor.cpp98 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEhalf()) in PickFP()
/freebsd-12.1/contrib/llvm/include/llvm/CodeGen/
H A DSelectionDAG.h1335 case MVT::f16: return APFloat::IEEEhalf();
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1190 return &APFloat::IEEEhalf(); in getFltSemantics()
1218 return &APFloat::IEEEhalf(); in getOpFltSemantics()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DStmt.h352 IEEEhalf, in alignas() enumerator
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp1463 if (fitsInFPType(CFP, APFloat::IEEEhalf())) in shrinkFPConstant()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp2243 APFloat(APFloat::IEEEhalf(), "1.44269504088896340735992468100189214"), in getLog2EVal()
3511 static const APFloat KF16(APFloat::IEEEhalf(), APInt(16, 0x3118)); in isInv2Pi()
/freebsd-12.1/contrib/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp4118 return getConstantFP(APFloat(APFloat::IEEEhalf(), Val), DL, VT); in getNode()
4148 APFloat FPV(APFloat::IEEEhalf(), in getNode()
4219 (void)V.convert(APFloat::IEEEhalf(), in getNode()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DAPFloat.cpp117 const fltSemantics &APFloatBase::IEEEhalf() { in IEEEhalf() function in llvm::APFloatBase
/freebsd-12.1/contrib/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp2224 V = ConstantFP::get(Context, APFloat(APFloat::IEEEhalf(), in parseConstants()