clang 20.0.0git
|
#include "clang/Basic/LangOptions.h"
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 Member Functions | |
static FPOptions | defaultWithoutTrailingStorage (const LangOptions &LO) |
Return the default value of FPOptions that's used when trailing storage isn't required. | |
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 795 of file LangOptions.h.
using clang::FPOptions::RoundingMode = llvm::RoundingMode |
Definition at line 800 of file LangOptions.h.
using clang::FPOptions::storage_type = uint32_t |
Definition at line 798 of file LangOptions.h.
|
inline |
Definition at line 827 of file LangOptions.h.
References clang::LangOptionsBase::FPE_Default, and clang::LangOptionsBase::FPM_Off.
|
inlineexplicit |
Definition at line 832 of file LangOptions.h.
References clang::LangOptionsBase::FPE_Strict, clang::LangOptionsBase::FPM_Fast, clang::LangOptionsBase::FPM_FastHonorPragmas, clang::LangOptionsBase::FPM_Off, clang::LangOptionsBase::FPM_On, getExceptionMode(), and getRoundingMode().
|
inline |
Definition at line 868 of file LangOptions.h.
References clang::LangOptionsBase::FPM_Fast.
|
inline |
Definition at line 861 of file LangOptions.h.
References clang::LangOptionsBase::FPM_On.
Referenced by clang::UnaryOperator::isFPContractableWithinStatement(), and clang::BinaryOperator::isFPContractableWithinStatement().
|
inline |
Definition at line 1060 of file LangOptions.h.
References clang::FPOptionsOverride::applyOverrides().
Referenced by clang::Sema::applyFunctionAttributesBeforeParsingBody().
|
static |
Return the default value of FPOptions that's used when trailing storage isn't required.
Definition at line 213 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 227 of file LangOptions.cpp.
|
inline |
Definition at line 910 of file LangOptions.h.
|
inline |
Return difference with the given option set.
Definition at line 1054 of file LangOptions.h.
Referenced by clang::Sema::ActOnCompoundStmt(), clang::Sema::applyFunctionAttributesBeforeParsingBody(), and clang::Sema::resetFPOptions().
|
inline |
Definition at line 893 of file LangOptions.h.
References clang::LangOptionsBase::FPE_Default, clang::LangOptionsBase::FPE_Ignore, and clang::LangOptionsBase::FPE_Strict.
Referenced by clang::Sema::ActOnPragmaFloatControl(), checkFloatingPointResult(), clang::interp::CheckFloatResult(), FPOptions(), and isFPConstrained().
|
inlinestatic |
Definition at line 911 of file LangOptions.h.
Referenced by clang::FPOptionsOverride::applyOverrides(), clang::FPOptionsOverride::getFromOpaqueInt(), and clang::ASTReader::ReadLateParsedTemplates().
|
inline |
Definition at line 881 of file LangOptions.h.
Referenced by BuildFloatingLiteral(), checkFloatingPointResult(), clang::interp::CheckFloatResult(), FPOptions(), getActiveRoundingMode(), and isFPConstrained().
|
inline |
Definition at line 875 of file LangOptions.h.
References clang::LangOptionsBase::FPE_Ignore, getExceptionMode(), and getRoundingMode().
Referenced by addBlockPointerConversion(), addFunctionPointerConversion(), CreateNewFunctionDecl(), EvaluateComparisonBinaryOperator(), InsertOCLBuiltinDeclarationsFromTable(), and rewriteBuiltinFunctionDecl().
Definition at line 904 of file LangOptions.h.
|
inline |
Definition at line 871 of file LangOptions.h.
References clang::LangOptionsBase::FPM_Fast.
|
inline |
Definition at line 864 of file LangOptions.h.
References clang::LangOptionsBase::FPM_On.
|
staticconstexpr |
Definition at line 806 of file LangOptions.h.
|
static |
Definition at line 806 of file LangOptions.h.
|
staticconstexpr |
Definition at line 802 of file LangOptions.h.
Referenced by clang::FPOptionsOverride::getAsOpaqueInt(), and clang::FPOptionsOverride::getFromOpaqueInt().
|
staticconstexpr |
Definition at line 815 of file LangOptions.h.