clang 17.0.0git
|
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/Interp/Floating.h"
Public Member Functions | |
Floating () | |
Zero-initializes a Floating. | |
Floating (const APFloat &F) | |
const APFloat & | getAPFloat () const |
bool | operator< (Floating RHS) const |
bool | operator> (Floating RHS) const |
bool | operator<= (Floating RHS) const |
bool | operator>= (Floating RHS) const |
bool | operator== (Floating RHS) const |
bool | operator!= (Floating RHS) const |
Floating | operator- () const |
APFloat::opStatus | convertToInteger (APSInt &Result) const |
Floating | toSemantics (const llvm::fltSemantics *Sem, llvm::RoundingMode RM) const |
Floating | toSemantics (const Floating &Other, llvm::RoundingMode RM) const |
Convert this Floating to one with the same semantics as \Other. | |
APSInt | toAPSInt (unsigned NumBits=0) const |
APValue | toAPValue () const |
void | print (llvm::raw_ostream &OS) const |
unsigned | bitWidth () const |
bool | isSigned () const |
bool | isNegative () const |
bool | isPositive () const |
bool | isZero () const |
bool | isNonZero () const |
bool | isMin () const |
bool | isMinusOne () const |
bool | isNan () const |
bool | isFinite () const |
ComparisonCategoryResult | compare (const Floating &RHS) const |
Static Public Member Functions | |
static Floating | getInf (const llvm::fltSemantics &Sem) |
static APFloat::opStatus | fromIntegral (APSInt Val, const llvm::fltSemantics &Sem, llvm::RoundingMode RM, Floating &Result) |
static APFloat::opStatus | add (const Floating &A, const Floating &B, llvm::RoundingMode RM, Floating *R) |
static APFloat::opStatus | increment (const Floating &A, llvm::RoundingMode RM, Floating *R) |
static APFloat::opStatus | sub (const Floating &A, const Floating &B, llvm::RoundingMode RM, Floating *R) |
static APFloat::opStatus | decrement (const Floating &A, llvm::RoundingMode RM, Floating *R) |
static APFloat::opStatus | mul (const Floating &A, const Floating &B, llvm::RoundingMode RM, Floating *R) |
static APFloat::opStatus | div (const Floating &A, const Floating &B, llvm::RoundingMode RM, Floating *R) |
static bool | neg (const Floating &A, Floating *R) |
Definition at line 26 of file Floating.h.
|
inline |
Zero-initializes a Floating.
Definition at line 33 of file Floating.h.
Referenced by add(), decrement(), div(), fromIntegral(), getInf(), increment(), mul(), operator-(), sub(), and toSemantics().
|
inline |
Definition at line 34 of file Floating.h.
|
inlinestatic |
Definition at line 108 of file Floating.h.
References Floating().
Referenced by clang::interp::Addf().
|
inline |
Definition at line 80 of file Floating.h.
|
inline |
Definition at line 92 of file Floating.h.
References clang::interp::Compare().
|
inline |
Definition at line 50 of file Floating.h.
References clang::Result.
Referenced by clang::interp::CastFloatingIntegral().
|
inlinestatic |
Definition at line 127 of file Floating.h.
References Floating().
Referenced by clang::interp::IncDecFloatHelper().
|
inlinestatic |
Definition at line 140 of file Floating.h.
References Floating().
Referenced by clang::interp::Divf().
|
inlinestatic |
Definition at line 96 of file Floating.h.
References Floating(), and clang::Result.
Referenced by clang::interp::CastIntegralFloating().
|
inline |
Definition at line 40 of file Floating.h.
Referenced by clang::interp::CastFloatingIntegral().
|
inlinestatic |
Definition at line 37 of file Floating.h.
References Floating().
|
inlinestatic |
Definition at line 114 of file Floating.h.
References Floating().
Referenced by clang::interp::IncDecFloatHelper().
|
inline |
Definition at line 90 of file Floating.h.
Referenced by clang::interp::CastFloatingIntegral().
|
inline |
Definition at line 87 of file Floating.h.
|
inline |
Definition at line 88 of file Floating.h.
|
inline |
Definition at line 89 of file Floating.h.
|
inline |
Definition at line 83 of file Floating.h.
|
inline |
Definition at line 86 of file Floating.h.
Referenced by clang::interp::CastFloatingIntegral().
|
inline |
Definition at line 84 of file Floating.h.
|
inline |
Definition at line 82 of file Floating.h.
|
inline |
Definition at line 85 of file Floating.h.
|
inlinestatic |
Definition at line 134 of file Floating.h.
References Floating().
Referenced by clang::interp::Mulf().
Definition at line 146 of file Floating.h.
Definition at line 47 of file Floating.h.
|
inline |
Definition at line 48 of file Floating.h.
References Floating().
Definition at line 42 of file Floating.h.
Definition at line 44 of file Floating.h.
Definition at line 46 of file Floating.h.
Definition at line 43 of file Floating.h.
Definition at line 45 of file Floating.h.
|
inline |
Definition at line 73 of file Floating.h.
Referenced by clang::interp::operator<<().
|
inlinestatic |
Definition at line 121 of file Floating.h.
References Floating().
Referenced by clang::interp::Subf().
Definition at line 69 of file Floating.h.
|
inline |
Definition at line 72 of file Floating.h.
|
inline |
Convert this Floating to one with the same semantics as \Other.
Definition at line 65 of file Floating.h.
References toSemantics().
|
inline |
Definition at line 55 of file Floating.h.
References Floating().
Referenced by clang::interp::CastFP(), and toSemantics().