clang
15.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 593 of file LangOptions.h.
using clang::FPOptions::RoundingMode = llvm::RoundingMode |
Definition at line 598 of file LangOptions.h.
using clang::FPOptions::storage_type = uint16_t |
Definition at line 596 of file LangOptions.h.
|
inline |
Definition at line 623 of file LangOptions.h.
References clang::LangOptions::FPE_Ignore, clang::LangOptions::FPM_Off, and clang::LangOptions::FPR_ToNearest.
|
inlineexplicit |
Definition at line 628 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 662 of file LangOptions.h.
References clang::LangOptions::FPM_Fast.
Referenced by clang::CodeGen::CodeGenFunction::SetFastMathFlags().
|
inline |
Definition at line 655 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 200 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 205 of file LangOptions.cpp.
|
inline |
Definition at line 681 of file LangOptions.h.
|
inlinestatic |
Definition at line 682 of file LangOptions.h.
Referenced by clang::FPOptionsOverride::applyOverrides(), and clang::FPOptionsOverride::getFromOpaqueInt().
|
inline |
Definition at line 669 of file LangOptions.h.
References clang::LangOptions::FPE_Ignore.
Referenced by EvaluateComparisonBinaryOperator(), HandleIntToFloatCast(), and rewriteBuiltinFunctionDecl().
Definition at line 675 of file LangOptions.h.
|
inline |
Definition at line 665 of file LangOptions.h.
References clang::LangOptions::FPM_Fast.
|
inline |
Definition at line 658 of file LangOptions.h.
References clang::LangOptions::FPM_On.
|
staticconstexpr |
Definition at line 604 of file LangOptions.h.
|
static |
Definition at line 604 of file LangOptions.h.
|
staticconstexpr |
Definition at line 600 of file LangOptions.h.
Referenced by clang::FPOptionsOverride::getAsOpaqueInt(), and clang::FPOptionsOverride::getFromOpaqueInt().
|
staticconstexpr |
Definition at line 613 of file LangOptions.h.