Go to the documentation of this file.
15 #ifndef LLVM_IR_FPENV_H
16 #define LLVM_IR_FPENV_H
This is an optimization pass for GlobalISel generic memory operations.
Optional< StringRef > convertRoundingModeToStr(RoundingMode)
For any RoundingMode enumerator, returns a string valid as input in constrained intrinsic rounding mo...
Convenience struct for specifying and reasoning about fast-math flags.
@ ebMayTrap
This corresponds to "fpexcept.maytrap".
Intrinsic::ID getConstrainedIntrinsicID(const Instruction &Instr)
Returns constrained intrinsic id to represent the given instruction in strictfp function.
RoundingMode
Rounding mode.
Optional< StringRef > convertExceptionBehaviorToStr(fp::ExceptionBehavior)
For any ExceptionBehavior enumerator, returns a string valid as input in constrained intrinsic except...
Optional< fp::ExceptionBehavior > convertStrToExceptionBehavior(StringRef)
Returns a valid ExceptionBehavior enumerator when given a string valid as input in constrained intrin...
bool canRoundingModeBe(RoundingMode RM, RoundingMode QRM)
Returns true if the rounding mode RM may be QRM at compile time or at run time.
Optional< RoundingMode > convertStrToRoundingMode(StringRef)
Returns a valid RoundingMode enumerator when given a string that is valid as input in constrained int...
@ Dynamic
Denotes mode unknown at compile time.
bool isDefaultFPEnvironment(fp::ExceptionBehavior EB, RoundingMode RM)
Returns true if the exception handling behavior and rounding mode match what is used in the default f...
@ ebIgnore
This corresponds to "fpexcept.ignore".
ExceptionBehavior
Exception behavior used for floating point operations.
bool canIgnoreSNaN(fp::ExceptionBehavior EB, FastMathFlags FMF)
Returns true if the possibility of a signaling NaN can be safely ignored.
@ ebStrict
This corresponds to "fpexcept.strict".
@ NearestTiesToEven
roundTiesToEven.