34 switch (UseRounding) {
36 RoundingStr =
"round.dynamic";
39 RoundingStr =
"round.tonearest";
42 RoundingStr =
"round.downward";
45 RoundingStr =
"round.upward";
48 RoundingStr =
"round.towardzero";
66 ExceptStr =
"fpexcept.strict";
69 ExceptStr =
"fpexcept.ignore";
72 ExceptStr =
"fpexcept.maytrap";
This class represents lattice values for constants.
This corresponds to "fpround.tonearest".
ExceptionBehavior
Exception behavior used for floating point operations.
RoundingMode
Rounding mode used for floating point operations.
StringSwitch & Case(StringLiteral S, T Value)
LLVM_NODISCARD R Default(T Value)
Optional< fp::RoundingMode > StrToRoundingMode(StringRef)
Returns a valid RoundingMode enumerator when given a string that is valid as input in constrained int...
This corresponds to "fpexcept.maytrap".
A switch()-like statement whose cases are string literals.
Optional< fp::ExceptionBehavior > StrToExceptionBehavior(StringRef)
Returns a valid ExceptionBehavior enumerator when given a string valid as input in constrained intrin...
Optional< StringRef > ExceptionBehaviorToStr(fp::ExceptionBehavior)
For any ExceptionBehavior enumerator, returns a string valid as input in constrained intrinsic except...
This corresponds to "fpround.dynamic".
This corresponds to "fpexcept.ignore".
This corresponds to "fpround.tozero".
This file contains the declarations of entities that describe floating point environment and related ...
Optional< StringRef > RoundingModeToStr(fp::RoundingMode)
For any RoundingMode enumerator, returns a string valid as input in constrained intrinsic rounding mo...
This corresponds to "fpexcept.strict".
This corresponds to "fpround.downward".
StringRef - Represent a constant reference to a string, i.e.
This corresponds to "fpround.upward".