Home
last modified time | relevance | path

Searched refs:fltSemantics (Results 1 – 25 of 71) sorted by relevance

123

/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DAPFloat.h35 struct fltSemantics;
170 static const llvm::fltSemantics &EnumToSemantics(Semantics S);
171 static Semantics SemanticsToEnum(const llvm::fltSemantics &Sem);
173 static const fltSemantics &IEEEhalf() LLVM_READNONE;
174 static const fltSemantics &BFloat() LLVM_READNONE;
175 static const fltSemantics &IEEEsingle() LLVM_READNONE;
176 static const fltSemantics &IEEEdouble() LLVM_READNONE;
177 static const fltSemantics &IEEEquad() LLVM_READNONE;
178 static const fltSemantics &PPCDoubleDouble() LLVM_READNONE;
179 static const fltSemantics &Float8E5M2() LLVM_READNONE;
[all …]
H A DAPFixedPoint.h28 struct fltSemantics;
101 bool fitsInFloatSemantics(const fltSemantics &FloatSema) const;
232 APFloat convertToFloat(const fltSemantics &FloatSema) const;
266 static const fltSemantics *promoteFloatSemantics(const fltSemantics *S);
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DAPFloat.cpp71 struct fltSemantics { struct
92 bool isRepresentableBy(const fltSemantics &S) const { in isRepresentableBy() argument
98 static const fltSemantics semIEEEhalf = {15, -14, 11, 16};
99 static const fltSemantics semBFloat = {127, -126, 8, 16};
100 static const fltSemantics semIEEEsingle = {127, -126, 24, 32};
101 static const fltSemantics semIEEEdouble = {1023, -1022, 53, 64};
102 static const fltSemantics semIEEEquad = {16383, -16382, 113, 128};
103 static const fltSemantics semFloat8E5M2 = {15, -14, 3, 8};
104 static const fltSemantics semFloat8E4M3FN = {8, -6, 4, 8,
106 static const fltSemantics semX87DoubleExtended = {16383, -16382, 64, 80};
[all …]
H A DAPFixedPoint.cpp133 const fltSemantics &FloatSema) const { in fitsInFloatSemantics()
475 const fltSemantics *APFixedPoint::promoteFloatSemantics(const fltSemantics *S) { in promoteFloatSemantics()
487 APFloat APFixedPoint::convertToFloat(const fltSemantics &FloatSema) const { in convertToFloat()
496 const fltSemantics *OpSema = &FloatSema; in convertToFloat()
542 const fltSemantics &FloatSema = Value.getSemantics(); in getFromFloatValue()
553 const fltSemantics *OpSema = &FloatSema; in getFromFloatValue()
H A DZ3Solver.cpp231 static const llvm::fltSemantics &getFloatSemantics(unsigned BitWidth) { in getFloatSemantics()
248 static bool areEquivalent(const llvm::fltSemantics &LHS, in areEquivalent()
249 const llvm::fltSemantics &RHS) { in areEquivalent()
791 const llvm::fltSemantics &Semantics = in toAPFloat()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DLowLevelType.h26 struct fltSemantics;
42 const llvm::fltSemantics &getFltSemanticForLLT(LLT Ty);
/openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/
H A DRegisterValue.cpp16 static APFloat getFloatValue(const fltSemantics &FltSemantics, in getFloatValue()
45 APInt bitcastFloatValue(const fltSemantics &FltSemantics, in bitcastFloatValue()
H A DRegisterValue.h46 APInt bitcastFloatValue(const fltSemantics &FltSemantics,
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DTargetInfo.h44 struct fltSemantics;
131 const llvm::fltSemantics *HalfFormat, *BFloat16Format, *FloatFormat,
709 const llvm::fltSemantics &getHalfFormat() const { return *HalfFormat; } in getHalfFormat()
714 const llvm::fltSemantics &getFloatFormat() const { return *FloatFormat; } in getFloatFormat()
719 const llvm::fltSemantics &getBFloat16Format() const { return *BFloat16Format; } in getBFloat16Format()
724 const llvm::fltSemantics &getDoubleFormat() const { return *DoubleFormat; } in getDoubleFormat()
730 const llvm::fltSemantics &getLongDoubleFormat() const { in getLongDoubleFormat()
738 const llvm::fltSemantics &getFloat128Format() const { in getFloat128Format()
746 const llvm::fltSemantics &getIbm128Format() const { return *Ibm128Format; } in getIbm128Format()
/openbsd-src/gnu/llvm/llvm/include/llvm/Target/
H A DTargetOptions.h23 struct fltSemantics;
436 DenormalMode getDenormalMode(const fltSemantics &FPType) const;
/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DType.h30 struct fltSemantics;
198 const fltSemantics &getFltSemantics() const;
484 static Type *getFloatingPointTy(LLVMContext &C, const fltSemantics &S);
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DInitPreprocessor.cpp97 static T PickFP(const llvm::fltSemantics *Sem, T IEEEHalfVal, T IEEESingleVal, in PickFP()
100 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEhalf()) in PickFP()
102 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEsingle()) in PickFP()
104 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEdouble()) in PickFP()
106 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::x87DoubleExtended()) in PickFP()
108 if (Sem == (const llvm::fltSemantics*)&llvm::APFloat::PPCDoubleDouble()) in PickFP()
110 assert(Sem == (const llvm::fltSemantics*)&llvm::APFloat::IEEEquad()); in PickFP()
115 const llvm::fltSemantics *Sem, StringRef Ext) { in DefineFloatMacros()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DLowLevelType.cpp72 const llvm::fltSemantics &llvm::getFltSemanticForLLT(LLT Ty) { in getFltSemanticForLLT()
/openbsd-src/gnu/llvm/lldb/source/Utility/
H A DScalar.cpp42 Scalar::PromotionKey Scalar::GetFloatPromoKey(const llvm::fltSemantics &sem) { in GetFloatPromoKey()
43 static const llvm::fltSemantics *const order[] = { in GetFloatPromoKey()
193 bool Scalar::FloatPromote(const llvm::fltSemantics &semantics) { in FloatPromote()
677 const llvm::fltSemantics &sem = in SetValueFromCString()
/openbsd-src/gnu/llvm/lldb/include/lldb/Utility/
H A DScalar.h112 bool FloatPromote(const llvm::fltSemantics &semantics);
201 static PromotionKey GetFloatPromoKey(const llvm::fltSemantics &semantics);
/openbsd-src/gnu/llvm/clang/lib/Driver/ToolChains/
H A DLinux.h64 const llvm::fltSemantics *FPType = nullptr) const override;
H A DAMDGPU.h88 const llvm::fltSemantics *FPType = nullptr) const override;
H A DPS4CPU.h96 const llvm::fltSemantics *FPType) const override { in getDefaultDenormalModeForType()
H A DCuda.h194 const llvm::fltSemantics *FPType = nullptr) const override;
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp160 const llvm::fltSemantics &Sema = AC.getFloatTypeSemantics(DestType); in isLossOfPrecision()
/openbsd-src/gnu/llvm/clang/include/clang/Serialization/
H A DASTRecordReader.h294 llvm::APFloat readAPFloat(const llvm::fltSemantics &Sem);
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DDumpDataExtractor.cpp319 static const llvm::fltSemantics &GetFloatSemantics(const TargetSP &target_sp, in GetFloatSemantics()
660 const llvm::fltSemantics &semantics = in DumpDataExtractor()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DType.cpp66 const fltSemantics &Type::getFltSemantics() const { in getFltSemantics()
83 Type *Type::getFloatingPointTy(LLVMContext &C, const fltSemantics &S) { in getFloatingPointTy()
/openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/
H A DMasmParser.cpp558 bool parseRealValue(const fltSemantics &Semantics, APInt &Res);
870 bool emitRealValues(const fltSemantics &Semantics, unsigned *Count = nullptr);
871 bool addRealField(StringRef Name, const fltSemantics &Semantics, size_t Size);
872 bool parseDirectiveRealValue(StringRef IDVal, const fltSemantics &Semantics,
875 const fltSemantics &Semantics, SmallVectorImpl<APInt> &Values,
878 const fltSemantics &Semantics,
3845 bool MasmParser::parseRealValue(const fltSemantics &Semantics, APInt &Res) { in parseRealValue()
3907 bool MasmParser::parseRealInstList(const fltSemantics &Semantics, in parseRealInstList()
3953 bool MasmParser::emitRealValues(const fltSemantics &Semantics, in emitRealValues()
3971 bool MasmParser::addRealField(StringRef Name, const fltSemantics &Semantics, in addRealField()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp105 void convertToFpType(const fltSemantics &Sem);
110 APFloat createAPFloatFromInt(const fltSemantics &Sem, int Val);
242 void FAddendCoef::convertToFpType(const fltSemantics &Sem) { in convertToFpType()
256 APFloat FAddendCoef::createAPFloatFromInt(const fltSemantics &Sem, int Val) { in createAPFloatFromInt()
310 const fltSemantics &Semantic = in operator *=()

123