LLVM  10.0.0
Enumerations
llvm::fp Namespace Reference

Enumerations

enum  RoundingMode : uint8_t {
  rmDynamic, rmToNearest, rmDownward, rmUpward,
  rmTowardZero
}
 Rounding mode used for floating point operations. More...
 
enum  ExceptionBehavior : uint8_t { ebIgnore, ebMayTrap, ebStrict }
 Exception behavior used for floating point operations. More...
 

Enumeration Type Documentation

◆ ExceptionBehavior

Exception behavior used for floating point operations.

Each of these values correspond to some metadata argument value of a constrained floating point intrinsic. See the LLVM Language Reference Manual for details.

Enumerator
ebIgnore 

This corresponds to "fpexcept.ignore".

ebMayTrap 

This corresponds to "fpexcept.maytrap".

ebStrict 

This corresponds to "fpexcept.strict".

Definition at line 44 of file FPEnv.h.

◆ RoundingMode

enum llvm::fp::RoundingMode : uint8_t

Rounding mode used for floating point operations.

Each of these values correspond to some metadata argument value of a constrained floating point intrinsic. See the LLVM Language Reference Manual for details.

Enumerator
rmDynamic 

This corresponds to "fpround.dynamic".

rmToNearest 

This corresponds to "fpround.tonearest".

rmDownward 

This corresponds to "fpround.downward".

rmUpward 

This corresponds to "fpround.upward".

rmTowardZero 

This corresponds to "fpround.tozero".

Definition at line 31 of file FPEnv.h.