clang 20.0.0git
|
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/AST/ByteCode/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 ASTContext &) const |
void | print (llvm::raw_ostream &OS) const |
std::string | toDiagnosticString (const ASTContext &Ctx) 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 | isSignaling () const |
bool | isInf () const |
bool | isFinite () const |
bool | isNormal () const |
bool | isDenormal () const |
llvm::FPClassTest | classify () const |
APFloat::fltCategory | getCategory () const |
ComparisonCategoryResult | compare (const Floating &RHS) const |
size_t | bytesToSerialize () const |
void | serialize (std::byte *Buff) 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 Floating | bitcastFromMemory (const std::byte *Buff, const llvm::fltSemantics &Sem) |
static Floating | deserialize (const std::byte *Buff) |
static Floating | abs (const Floating &F) |
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 abs(), add(), bitcastFromMemory(), decrement(), div(), fromIntegral(), getInf(), increment(), mul(), operator-(), sub(), and toSemantics().
|
inline |
Definition at line 34 of file Floating.h.
Definition at line 159 of file Floating.h.
References Floating(), and V.
Referenced by clang::interp::interp__builtin_fabs().
|
inlinestatic |
Definition at line 168 of file Floating.h.
References Floating().
Referenced by clang::interp::Addf().
|
inlinestatic |
|
inline |
Definition at line 86 of file Floating.h.
Referenced by serialize().
|
inline |
Definition at line 139 of file Floating.h.
Referenced by clang::interp::ReadArg< Floating >(), and ReadArg< Floating >().
|
inline |
Definition at line 101 of file Floating.h.
Referenced by clang::interp::interp__builtin_isfpclass().
|
inline |
Definition at line 104 of file Floating.h.
References clang::Equal, clang::Greater, clang::Less, and clang::Unordered.
Referenced by clang::interp::interp_floating_comparison().
|
inline |
Definition at line 50 of file Floating.h.
References clang::Result.
Referenced by clang::interp::CastFloatingIntegral(), clang::interp::CastFloatingIntegralAP(), and clang::interp::CastFloatingIntegralAPS().
|
inlinestatic |
Definition at line 187 of file Floating.h.
References Floating().
Referenced by clang::interp::IncDecFloatHelper().
|
inlinestatic |
Definition at line 153 of file Floating.h.
References bitcastFromMemory().
Referenced by clang::interp::ReadArg< Floating >(), and ReadArg< Floating >().
|
inlinestatic |
Definition at line 200 of file Floating.h.
References Floating().
Referenced by clang::interp::Divf().
|
inlinestatic |
Definition at line 119 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(), clang::interp::CastFloatingIntegralAP(), clang::interp::CastFloatingIntegralAPS(), clang::interp::interp__builtin_copysign(), and clang::interp::Pointer::toRValue().
|
inline |
Definition at line 102 of file Floating.h.
Referenced by clang::interp::interp__builtin_fpclassify().
|
inlinestatic |
Definition at line 37 of file Floating.h.
References Floating().
Referenced by clang::interp::interp__builtin_inf().
|
inlinestatic |
Definition at line 174 of file Floating.h.
References Floating().
Referenced by clang::interp::IncDecFloatHelper().
|
inline |
Definition at line 100 of file Floating.h.
Referenced by clang::interp::interp__builtin_fpclassify(), and clang::interp::interp__builtin_issubnormal().
|
inline |
Definition at line 98 of file Floating.h.
Referenced by clang::interp::CastFloatingIntegralAP(), clang::interp::CastFloatingIntegralAPS(), and clang::interp::interp__builtin_isfinite().
|
inline |
Definition at line 97 of file Floating.h.
Referenced by clang::interp::interp__builtin_isinf().
|
inline |
Definition at line 93 of file Floating.h.
|
inline |
Definition at line 94 of file Floating.h.
|
inline |
Definition at line 95 of file Floating.h.
Referenced by clang::interp::interp__builtin_fmax(), clang::interp::interp__builtin_fmin(), and clang::interp::interp__builtin_isnan().
|
inline |
Definition at line 89 of file Floating.h.
Referenced by clang::interp::interp__builtin_fmax(), clang::interp::interp__builtin_fmin(), clang::interp::interp__builtin_isinf(), and clang::interp::interp__builtin_signbit().
|
inline |
Definition at line 92 of file Floating.h.
Referenced by clang::interp::CastFloatingIntegral().
|
inline |
Definition at line 99 of file Floating.h.
Referenced by clang::interp::interp__builtin_isnormal().
|
inline |
Definition at line 90 of file Floating.h.
|
inline |
Definition at line 96 of file Floating.h.
Referenced by clang::interp::interp__builtin_issignaling().
|
inline |
Definition at line 88 of file Floating.h.
|
inline |
Definition at line 91 of file Floating.h.
Referenced by clang::interp::interp__builtin_fmax(), clang::interp::interp__builtin_fmin(), and clang::interp::interp__builtin_iszero().
|
inlinestatic |
Definition at line 194 of file Floating.h.
References Floating().
Referenced by clang::interp::Mulf().
Definition at line 206 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<<(), and toDiagnosticString().
|
inline |
Definition at line 144 of file Floating.h.
References bitWidth().
|
inlinestatic |
Definition at line 181 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 |
Definition at line 79 of file Floating.h.
References print().
|
inline |
Convert this Floating to one with the same semantics as \Other.
Definition at line 65 of file Floating.h.
References clang::Other, and toSemantics().
|
inline |
Definition at line 55 of file Floating.h.
References clang::Copy, and Floating().
Referenced by clang::interp::CastFP(), and toSemantics().