clang
13.0.0git
|
#include "clang/Basic/LangOptions.h"
Public Types | |
using | storage_type = uint16_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 |
bool | operator== (FPOptions other) const |
storage_type | getAsOpaqueInt () const |
LLVM_DUMP_METHOD void | dump () |
Static Public Member Functions | |
static FPOptions | defaultWithoutTrailingStorage (const LangOptions &LO) |
Return the default value of FPOptions that's used when trailing storage isn't required. More... | |
static FPOptions | getFromOpaqueInt (storage_type Value) |
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 430 of file LangOptions.h.
using clang::FPOptions::RoundingMode = llvm::RoundingMode |
Definition at line 435 of file LangOptions.h.
using clang::FPOptions::storage_type = uint16_t |
Definition at line 433 of file LangOptions.h.
|
inline |
Definition at line 460 of file LangOptions.h.
References clang::LangOptions::FPE_Ignore, clang::LangOptions::FPM_Off, and clang::LangOptions::FPR_ToNearest.
|
inlineexplicit |
Definition at line 465 of file LangOptions.h.
References clang::LangOptions::FPE_Strict, clang::LangOptions::FPM_Fast, clang::LangOptions::FPM_FastHonorPragmas, clang::LangOptions::FPM_Off, and clang::LangOptions::FPM_On.
|
inline |
Definition at line 499 of file LangOptions.h.
References clang::LangOptions::FPM_Fast.
Referenced by clang::CodeGen::CodeGenFunction::SetFastMathFlags().
|
inline |
Definition at line 492 of file LangOptions.h.
References clang::LangOptions::FPM_On.
Referenced by clang::UnaryOperator::isFPContractableWithinStatement(), and clang::BinaryOperator::isFPContractableWithinStatement().
|
static |
Return the default value of FPOptions that's used when trailing storage isn't required.
Definition at line 51 of file LangOptions.cpp.
Referenced by clang::Expr::getFPFeaturesInEffect(), clang::UnaryOperator::getFPFeaturesInEffect(), clang::CallExpr::getFPFeaturesInEffect(), clang::CastExpr::getFPFeaturesInEffect(), and clang::BinaryOperator::getFPFeaturesInEffect().
LLVM_DUMP_METHOD void FPOptions::dump | ( | ) |
Definition at line 56 of file LangOptions.cpp.
|
inline |
Definition at line 518 of file LangOptions.h.
|
inlinestatic |
Definition at line 519 of file LangOptions.h.
Referenced by clang::FPOptionsOverride::applyOverrides(), and clang::FPOptionsOverride::getFromOpaqueInt().
|
inline |
Definition at line 506 of file LangOptions.h.
References clang::LangOptions::FPE_Ignore.
Referenced by EvaluateComparisonBinaryOperator(), and HandleIntToFloatCast().
Definition at line 512 of file LangOptions.h.
|
inline |
Definition at line 502 of file LangOptions.h.
References clang::LangOptions::FPM_Fast.
|
inline |
Definition at line 495 of file LangOptions.h.
References clang::LangOptions::FPM_On.
|
staticconstexpr |
Definition at line 441 of file LangOptions.h.
|
static |
Definition at line 441 of file LangOptions.h.
|
staticconstexpr |
Definition at line 437 of file LangOptions.h.
Referenced by clang::FPOptionsOverride::getAsOpaqueInt(), and clang::FPOptionsOverride::getFromOpaqueInt().
|
staticconstexpr |
Definition at line 450 of file LangOptions.h.