class FPOptions
Declaration
class FPOptions { /* full declaration omitted */ };
Declared at: clang/include/clang/Basic/LangOptions.h:627
Member Variables
- private clang::FPOptions::storage_type Value
- public static const unsigned int StorageBitSize = 8 * sizeof(unsigned int)
- public static const clang::FPOptions::storage_type FirstShift = 0
- public static const clang::FPOptions::storage_type FirstWidth = 0
- public static const clang::FPOptions::storage_type FPContractModeShift = FirstShift + FirstWidth
- public static const clang::FPOptions::storage_type FPContractModeWidth = 2
- public static const clang::FPOptions::storage_type FPContractModeMask = ((1 << FPContractModeWidth) - 1) << FPContractModeShift
- public static const clang::FPOptions::storage_type RoundingMathShift = FPContractModeShift + FPContractModeWidth
- public static const clang::FPOptions::storage_type RoundingMathWidth = 1
- public static const clang::FPOptions::storage_type RoundingMathMask = ((1 << RoundingMathWidth) - 1) << RoundingMathShift
- public static const clang::FPOptions::storage_type ConstRoundingModeShift = RoundingMathShift + RoundingMathWidth
- public static const clang::FPOptions::storage_type ConstRoundingModeWidth = 3
- public static const clang::FPOptions::storage_type ConstRoundingModeMask = ((1 << ConstRoundingModeWidth) - 1) << ConstRoundingModeShift
- public static const clang::FPOptions::storage_type SpecifiedExceptionModeShift = ConstRoundingModeShift + ConstRoundingModeWidth
- public static const clang::FPOptions::storage_type SpecifiedExceptionModeWidth = 2
- public static const clang::FPOptions::storage_type SpecifiedExceptionModeMask = ((1 << SpecifiedExceptionModeWidth) - 1) << SpecifiedExceptionModeShift
- public static const clang::FPOptions::storage_type AllowFEnvAccessShift = SpecifiedExceptionModeShift + SpecifiedExceptionModeWidth
- public static const clang::FPOptions::storage_type AllowFEnvAccessWidth = 1
- public static const clang::FPOptions::storage_type AllowFEnvAccessMask = ((1 << AllowFEnvAccessWidth) - 1) << AllowFEnvAccessShift
- public static const clang::FPOptions::storage_type AllowFPReassociateShift = AllowFEnvAccessShift + AllowFEnvAccessWidth
- public static const clang::FPOptions::storage_type AllowFPReassociateWidth = 1
- public static const clang::FPOptions::storage_type AllowFPReassociateMask = ((1 << AllowFPReassociateWidth) - 1) << AllowFPReassociateShift
- public static const clang::FPOptions::storage_type NoHonorNaNsShift = AllowFPReassociateShift + AllowFPReassociateWidth
- public static const clang::FPOptions::storage_type NoHonorNaNsWidth = 1
- public static const clang::FPOptions::storage_type NoHonorNaNsMask = ((1 << NoHonorNaNsWidth) - 1) << NoHonorNaNsShift
- public static const clang::FPOptions::storage_type NoHonorInfsShift = NoHonorNaNsShift + NoHonorNaNsWidth
- public static const clang::FPOptions::storage_type NoHonorInfsWidth = 1
- public static const clang::FPOptions::storage_type NoHonorInfsMask = ((1 << NoHonorInfsWidth) - 1) << NoHonorInfsShift
- public static const clang::FPOptions::storage_type NoSignedZeroShift = NoHonorInfsShift + NoHonorInfsWidth
- public static const clang::FPOptions::storage_type NoSignedZeroWidth = 1
- public static const clang::FPOptions::storage_type NoSignedZeroMask = ((1 << NoSignedZeroWidth) - 1) << NoSignedZeroShift
- public static const clang::FPOptions::storage_type AllowReciprocalShift = NoSignedZeroShift + NoSignedZeroWidth
- public static const clang::FPOptions::storage_type AllowReciprocalWidth = 1
- public static const clang::FPOptions::storage_type AllowReciprocalMask = ((1 << AllowReciprocalWidth) - 1) << AllowReciprocalShift
- public static const clang::FPOptions::storage_type AllowApproxFuncShift = AllowReciprocalShift + AllowReciprocalWidth
- public static const clang::FPOptions::storage_type AllowApproxFuncWidth = 1
- public static const clang::FPOptions::storage_type AllowApproxFuncMask = ((1 << AllowApproxFuncWidth) - 1) << AllowApproxFuncShift
- public static const clang::FPOptions::storage_type FPEvalMethodShift = AllowApproxFuncShift + AllowApproxFuncWidth
- public static const clang::FPOptions::storage_type FPEvalMethodWidth = 2
- public static const clang::FPOptions::storage_type FPEvalMethodMask = ((1 << FPEvalMethodWidth) - 1) << FPEvalMethodShift
- public static const clang::FPOptions::storage_type TotalWidth = 0 + 2 + 1 + 3 + 2 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 2
Method Overview
- public FPOptions()
- public FPOptions(const clang::LangOptions & LO)
- public bool allowFPContractAcrossStatement() const
- public bool allowFPContractWithinStatement() const
- public static clang::FPOptions defaultWithoutTrailingStorage(const clang::LangOptions & LO)
- public void dump()
- public clang::FPOptions::storage_type getAsOpaqueInt() const
- public clang::FPOptionsOverride getChangesFrom(const clang::FPOptions & Base) const
- private clang::FPOptionsOverride getChangesSlow(const clang::FPOptions & Base) const
- public LangOptions::FPExceptionModeKind getExceptionMode() const
- public static clang::FPOptions getFromOpaqueInt(clang::FPOptions::storage_type Value)
- public clang::FPOptions::RoundingMode getRoundingMode() const
- public bool isFPConstrained() const
- public void setAllowFPContractAcrossStatement()
- public void setAllowFPContractWithinStatement()
Methods
¶FPOptions()
FPOptions()
Declared at: clang/include/clang/Basic/LangOptions.h:659
¶FPOptions(const clang::LangOptions& LO)
FPOptions(const clang::LangOptions& LO)
Declared at: clang/include/clang/Basic/LangOptions.h:664
Parameters
- const clang::LangOptions& LO
¶bool allowFPContractAcrossStatement() const
bool allowFPContractAcrossStatement() const
Declared at: clang/include/clang/Basic/LangOptions.h:699
¶bool allowFPContractWithinStatement() const
bool allowFPContractWithinStatement() const
Declared at: clang/include/clang/Basic/LangOptions.h:692
¶static clang::FPOptions
defaultWithoutTrailingStorage(
const clang::LangOptions& LO)
static clang::FPOptions
defaultWithoutTrailingStorage(
const clang::LangOptions& LO)
Description
Return the default value of FPOptions that's used when trailing storage isn't required.
Declared at: clang/include/clang/Basic/LangOptions.h:739
Parameters
- const clang::LangOptions& LO
¶void dump()
void dump()
Declared at: clang/include/clang/Basic/LangOptions.h:760
¶clang::FPOptions::storage_type getAsOpaqueInt()
const
clang::FPOptions::storage_type getAsOpaqueInt()
const
Declared at: clang/include/clang/Basic/LangOptions.h:741
¶clang::FPOptionsOverride getChangesFrom(
const clang::FPOptions& Base) const
clang::FPOptionsOverride getChangesFrom(
const clang::FPOptions& Base) const
Description
Return difference with the given option set.
Declared at: clang/include/clang/Basic/LangOptions.h:749
Parameters
- const clang::FPOptions& Base
¶clang::FPOptionsOverride getChangesSlow(
const clang::FPOptions& Base) const
clang::FPOptionsOverride getChangesSlow(
const clang::FPOptions& Base) const
Declared at: clang/include/clang/Basic/LangOptions.h:656
Parameters
- const clang::FPOptions& Base
¶LangOptions::FPExceptionModeKind
getExceptionMode() const
LangOptions::FPExceptionModeKind
getExceptionMode() const
Declared at: clang/include/clang/Basic/LangOptions.h:724
¶static clang::FPOptions getFromOpaqueInt(
clang::FPOptions::storage_type Value)
static clang::FPOptions getFromOpaqueInt(
clang::FPOptions::storage_type Value)
Declared at: clang/include/clang/Basic/LangOptions.h:742
Parameters
- clang::FPOptions::storage_type Value
¶clang::FPOptions::RoundingMode getRoundingMode()
const
clang::FPOptions::RoundingMode getRoundingMode()
const
Declared at: clang/include/clang/Basic/LangOptions.h:712
¶bool isFPConstrained() const
bool isFPConstrained() const
Declared at: clang/include/clang/Basic/LangOptions.h:706
¶void setAllowFPContractAcrossStatement()
void setAllowFPContractAcrossStatement()
Declared at: clang/include/clang/Basic/LangOptions.h:702
¶void setAllowFPContractWithinStatement()
void setAllowFPContractWithinStatement()
Declared at: clang/include/clang/Basic/LangOptions.h:695