|
clang 22.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 780 of file LangOptions.h.
| using clang::FPOptions::RoundingMode = llvm::RoundingMode |
Definition at line 785 of file LangOptions.h.
| using clang::FPOptions::storage_type = uint32_t |
Definition at line 783 of file LangOptions.h.
|
inline |
Definition at line 812 of file LangOptions.h.
References clang::LangOptionsBase::FPE_Default, and clang::LangOptionsBase::FPM_Off.
Referenced by defaultWithoutTrailingStorage(), getChangesFrom(), getFromOpaqueInt(), and operator==().
|
inlineexplicit |
Definition at line 817 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 853 of file LangOptions.h.
References clang::LangOptionsBase::FPM_Fast.
Referenced by clang::CodeGen::CodeGenFunction::SetFastMathFlags().
|
inline |
Definition at line 846 of file LangOptions.h.
References clang::LangOptionsBase::FPM_On.
Referenced by clang::BinaryOperator::isFPContractableWithinStatement(), clang::ConvertVectorExpr::isFPContractableWithinStatement(), and clang::UnaryOperator::isFPContractableWithinStatement().
|
inline |
Definition at line 1048 of file LangOptions.h.
References clang::FPOptionsOverride::applyOverrides().
|
static |
Return the default value of FPOptions that's used when trailing storage isn't required.
Definition at line 223 of file LangOptions.cpp.
References FPOptions().
Referenced by clang::BinaryOperator::getFPFeaturesInEffect(), clang::CallExpr::getFPFeaturesInEffect(), clang::CastExpr::getFPFeaturesInEffect(), clang::ConvertVectorExpr::getFPFeaturesInEffect(), clang::Expr::getFPFeaturesInEffect(), and clang::UnaryOperator::getFPFeaturesInEffect().
| LLVM_DUMP_METHOD void FPOptions::dump | ( | ) |
Definition at line 237 of file LangOptions.cpp.
|
inline |
Definition at line 895 of file LangOptions.h.
|
inline |
Return difference with the given option set.
Definition at line 1042 of file LangOptions.h.
References FPOptions().
Referenced by clang::Sema::ActOnCompoundStmt(), and clang::Sema::resetFPOptions().
|
inline |
Definition at line 878 of file LangOptions.h.
References clang::LangOptionsBase::FPE_Default, clang::LangOptionsBase::FPE_Ignore, and clang::LangOptionsBase::FPE_Strict.
Referenced by checkFloatingPointResult(), clang::interp::CheckFloatResult(), FPOptions(), isFPConstrained(), and shouldEmitBuiltinAsIR().
|
inlinestatic |
Definition at line 896 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().
|
inline |
Definition at line 866 of file LangOptions.h.
Referenced by BuildFloatingLiteral(), checkFloatingPointResult(), clang::interp::CheckFloatResult(), FPOptions(), getActiveRoundingMode(), clang::interp::getRoundingMode(), and isFPConstrained().
|
inline |
Definition at line 860 of file LangOptions.h.
References clang::LangOptionsBase::FPE_Ignore, getExceptionMode(), and getRoundingMode().
Referenced by addBlockPointerConversion(), addFunctionPointerConversion(), CreateNewFunctionDecl(), EvaluateComparisonBinaryOperator(), InsertOCLBuiltinDeclarationsFromTable(), and rewriteBuiltinFunctionDecl().
Definition at line 889 of file LangOptions.h.
References FPOptions().
|
inline |
Definition at line 856 of file LangOptions.h.
References clang::LangOptionsBase::FPM_Fast.
|
inline |
Definition at line 849 of file LangOptions.h.
References clang::LangOptionsBase::FPM_On.
|
staticconstexpr |
Definition at line 791 of file LangOptions.h.
|
static |
Definition at line 791 of file LangOptions.h.
|
staticconstexpr |
Definition at line 787 of file LangOptions.h.
Referenced by clang::FPOptionsOverride::getAsOpaqueInt(), and clang::FPOptionsOverride::getFromOpaqueInt().
|
staticconstexpr |
Definition at line 800 of file LangOptions.h.