reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/ADT/APFloat.h
   35 struct fltSemantics;

References

include/llvm/ADT/APFloat.h
  159   static const llvm::fltSemantics &EnumToSemantics(Semantics S);
  160   static Semantics SemanticsToEnum(const llvm::fltSemantics &Sem);
  162   static const fltSemantics &IEEEhalf() LLVM_READNONE;
  163   static const fltSemantics &IEEEsingle() LLVM_READNONE;
  164   static const fltSemantics &IEEEdouble() LLVM_READNONE;
  165   static const fltSemantics &IEEEquad() LLVM_READNONE;
  166   static const fltSemantics &PPCDoubleDouble() LLVM_READNONE;
  167   static const fltSemantics &x87DoubleExtended() LLVM_READNONE;
  171   static const fltSemantics &Bogus() LLVM_READNONE;
  229   static unsigned int semanticsPrecision(const fltSemantics &);
  230   static ExponentType semanticsMinExponent(const fltSemantics &);
  231   static ExponentType semanticsMaxExponent(const fltSemantics &);
  232   static unsigned int semanticsSizeInBits(const fltSemantics &);
  236   static unsigned getSizeInBits(const fltSemantics &Sem);
  246   IEEEFloat(const fltSemantics &); // Default construct to 0.0
  247   IEEEFloat(const fltSemantics &, integerPart);
  248   IEEEFloat(const fltSemantics &, uninitializedTag);
  249   IEEEFloat(const fltSemantics &, const APInt &);
  294   opStatus convert(const fltSemantics &, roundingMode, bool *);
  370   const fltSemantics &getSemantics() const { return *semantics; }
  492   void initialize(const fltSemantics *);
  543   void initFromAPInt(const fltSemantics *Sem, const APInt &api);
  557   const fltSemantics *semantics;
  591   const fltSemantics *Semantics;
  601   DoubleAPFloat(const fltSemantics &S);
  602   DoubleAPFloat(const fltSemantics &S, uninitializedTag);
  603   DoubleAPFloat(const fltSemantics &S, integerPart);
  604   DoubleAPFloat(const fltSemantics &S, const APInt &I);
  605   DoubleAPFloat(const fltSemantics &S, APFloat &&First, APFloat &&Second);
  696     const fltSemantics *semantics;
  700     explicit Storage(IEEEFloat F, const fltSemantics &S);
  701     explicit Storage(DoubleAPFloat F, const fltSemantics &S)
  707     Storage(const fltSemantics &Semantics, ArgTypes &&... Args) {
  707     Storage(const fltSemantics &Semantics, ArgTypes &&... Args) {
  784   template <typename T> static bool usesLayout(const fltSemantics &Semantics) {
  836   explicit APFloat(IEEEFloat F, const fltSemantics &S) : U(std::move(F), S) {}
  837   explicit APFloat(DoubleAPFloat F, const fltSemantics &S)
  851   APFloat(const fltSemantics &Semantics) : U(Semantics) {}
  852   APFloat(const fltSemantics &Semantics, StringRef S);
  853   APFloat(const fltSemantics &Semantics, integerPart I) : U(Semantics, I) {}
  855   APFloat(const fltSemantics &Semantics, uninitializedTag)
  857   APFloat(const fltSemantics &Semantics, const APInt &I) : U(Semantics, I) {}
  870   static APFloat getZero(const fltSemantics &Sem, bool Negative = false) {
  879   static APFloat getInf(const fltSemantics &Sem, bool Negative = false) {
  890   static APFloat getNaN(const fltSemantics &Sem, bool Negative = false,
  901   static APFloat getQNaN(const fltSemantics &Sem, bool Negative = false,
  909   static APFloat getSNaN(const fltSemantics &Sem, bool Negative = false,
  919   static APFloat getLargest(const fltSemantics &Sem, bool Negative = false) {
  929   static APFloat getSmallest(const fltSemantics &Sem, bool Negative = false) {
  939   static APFloat getSmallestNormalized(const fltSemantics &Sem,
 1082   opStatus convert(const fltSemantics &ToSemantics, roundingMode RM,
 1170   const fltSemantics &getSemantics() const { return *U.semantics; }
lib/Support/APFloat.cpp
   71   static const fltSemantics semIEEEhalf = {15, -14, 11, 16};
   72   static const fltSemantics semIEEEsingle = {127, -126, 24, 32};
   73   static const fltSemantics semIEEEdouble = {1023, -1022, 53, 64};
   74   static const fltSemantics semIEEEquad = {16383, -16382, 113, 128};
   75   static const fltSemantics semX87DoubleExtended = {16383, -16382, 64, 80};
   76   static const fltSemantics semBogus = {0, 0, 0, 0};
   87   static const fltSemantics semPPCDoubleDouble = {-1, 0, 0, 0};
  113   static const fltSemantics semPPCDoubleDoubleLegacy = {1023, -1022 + 53,
  116   const llvm::fltSemantics &APFloatBase::EnumToSemantics(Semantics S) {
  135   APFloatBase::SemanticsToEnum(const llvm::fltSemantics &Sem) {
  152   const fltSemantics &APFloatBase::IEEEhalf() {
  155   const fltSemantics &APFloatBase::IEEEsingle() {
  158   const fltSemantics &APFloatBase::IEEEdouble() {
  161   const fltSemantics &APFloatBase::IEEEquad() {
  164   const fltSemantics &APFloatBase::x87DoubleExtended() {
  167   const fltSemantics &APFloatBase::Bogus() {
  170   const fltSemantics &APFloatBase::PPCDoubleDouble() {
  190   unsigned int APFloatBase::semanticsPrecision(const fltSemantics &semantics) {
  194   APFloatBase::semanticsMaxExponent(const fltSemantics &semantics) {
  198   APFloatBase::semanticsMinExponent(const fltSemantics &semantics) {
  201   unsigned int APFloatBase::semanticsSizeInBits(const fltSemantics &semantics) {
  205   unsigned APFloatBase::getSizeInBits(const fltSemantics &Sem) {
  692 void IEEEFloat::initialize(const fltSemantics *ourSemantics) {
  888 IEEEFloat::IEEEFloat(const fltSemantics &ourSemantics, integerPart value) {
  898 IEEEFloat::IEEEFloat(const fltSemantics &ourSemantics) {
  906 IEEEFloat::IEEEFloat(const fltSemantics &ourSemantics, uninitializedTag tag)
 1030     const fltSemantics *savedSemantics = semantics;
 1031     fltSemantics extendedSemantics;
 1966 IEEEFloat::opStatus IEEEFloat::convert(const fltSemantics &toSemantics,
 1973   const fltSemantics &fromSemantics = *semantics;
 2390   fltSemantics calcSemantics = { 32767, -32767, 0, 0 };
 2879   fltSemantics extendedSemantics = *semantics;
 3269 void IEEEFloat::initFromAPInt(const fltSemantics *Sem, const APInt &api) {
 3338 IEEEFloat::IEEEFloat(const fltSemantics &Sem, const APInt &API) {
 3885 DoubleAPFloat::DoubleAPFloat(const fltSemantics &S)
 3891 DoubleAPFloat::DoubleAPFloat(const fltSemantics &S, uninitializedTag)
 3898 DoubleAPFloat::DoubleAPFloat(const fltSemantics &S, integerPart I)
 3904 DoubleAPFloat::DoubleAPFloat(const fltSemantics &S, const APInt &I)
 3912 DoubleAPFloat::DoubleAPFloat(const fltSemantics &S, APFloat &&First,
 4451 APFloat::Storage::Storage(IEEEFloat F, const fltSemantics &Semantics) {
 4457     const fltSemantics& S = F.getSemantics();
 4478 APFloat::APFloat(const fltSemantics &Semantics, StringRef S)
 4483 APFloat::opStatus APFloat::convert(const fltSemantics &ToSemantics,