clang: clang::FPOptions Class Reference (original) (raw)

#include "[clang/Basic/LangOptions.h](LangOptions%5F8h%5Fsource.html)"

Public Types
using storage_type = uint32_t
using RoundingMode = llvm::RoundingMode
Public Member Functions
FPOptions ()
FPOptions (const LangOptions &LO)
bool allowFPContractWithinStatement () const
void setAllowFPContractWithinStatement ()
bool allowFPContractAcrossStatement () const
void setAllowFPContractAcrossStatement ()
bool isFPConstrained () const
RoundingMode getRoundingMode () const
LangOptions::FPExceptionModeKind getExceptionMode () const
bool operator== (FPOptions other) const
storage_type getAsOpaqueInt () const
FPOptionsOverride getChangesFrom (const FPOptions &Base) const
Return difference with the given option set.
void applyChanges (FPOptionsOverride FPO)
LLVM_DUMP_METHOD void dump ()
Static Public Attributes
static constexpr unsigned StorageBitSize = 8 * sizeof(storage_type)
static constexpr storage_type FirstShift = 0
static constexpr storage_type FirstWidth = 0
static constexpr storage_type TotalWidth

Definition at line 789 of file LangOptions.h.

RoundingMode

using clang::FPOptions::RoundingMode = llvm::RoundingMode

storage_type

using clang::FPOptions::storage_type = uint32_t

clang::FPOptions::FPOptions ( ) inline

FPOptions() [2/2]

clang::FPOptions::FPOptions ( const LangOptions & LO) inlineexplicit

allowFPContractAcrossStatement()

bool clang::FPOptions::allowFPContractAcrossStatement ( ) const inline

allowFPContractWithinStatement()

bool clang::FPOptions::allowFPContractWithinStatement ( ) const inline

applyChanges()

defaultWithoutTrailingStorage()

dump()

LLVM_DUMP_METHOD void FPOptions::dump ( )

getAsOpaqueInt()

storage_type clang::FPOptions::getAsOpaqueInt ( ) const inline

getChangesFrom()

getExceptionMode()

getFromOpaqueInt()

FPOptions clang::FPOptions::getFromOpaqueInt ( storage_type Value) inlinestatic

Definition at line 905 of file LangOptions.h.

References FPOptions().

Referenced by clang::interp::Addf(), clang::FPOptionsOverride::applyOverrides(), clang::interp::CastFloatingIntegral(), clang::interp::CastFloatingIntegralAP(), clang::interp::CastFloatingIntegralAPS(), clang::interp::CastIntegralFloating(), clang::interp::Divf(), clang::FPOptionsOverride::getFromOpaqueInt(), clang::interp::IncDecFloatHelper(), clang::interp::Mulf(), clang::ASTReader::ReadLateParsedTemplates(), and clang::interp::Subf().

getRoundingMode()

RoundingMode clang::FPOptions::getRoundingMode ( ) const inline

isFPConstrained()

bool clang::FPOptions::isFPConstrained ( ) const inline

operator==()

bool clang::FPOptions::operator== ( FPOptions other) const inline

setAllowFPContractAcrossStatement()

void clang::FPOptions::setAllowFPContractAcrossStatement ( ) inline

setAllowFPContractWithinStatement()

void clang::FPOptions::setAllowFPContractWithinStatement ( ) inline

FirstShift

storage_type clang::FPOptions::FirstShift = 0 staticconstexpr

FirstWidth

storage_type clang::FPOptions::FirstWidth = 0 static

StorageBitSize

unsigned clang::FPOptions::StorageBitSize = 8 * sizeof(storage_type) staticconstexpr

TotalWidth

storage_type clang::FPOptions::TotalWidth staticconstexpr

Initial value:

= 0

#define FP_OPTION(NAME, TYPE, WIDTH, PREVIOUS)

Definition at line 809 of file LangOptions.h.


The documentation for this class was generated from the following files: