LLVM  14.0.0git
Namespaces | Enumerations | Functions
FPEnv.h File Reference
#include "llvm/ADT/FloatingPointMode.h"
#include "llvm/ADT/Optional.h"
Include dependency graph for FPEnv.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 llvm
 This file implements support for optimizing divisions by a constant.
 
 llvm::fp
 

Enumerations

enum  llvm::fp::ExceptionBehavior : uint8_t { llvm::fp::ebIgnore, llvm::fp::ebMayTrap, llvm::fp::ebStrict }
 Exception behavior used for floating point operations. More...
 

Functions

Optional< RoundingMode > llvm::convertStrToRoundingMode (StringRef)
 Returns a valid RoundingMode enumerator when given a string that is valid as input in constrained intrinsic rounding mode metadata. More...
 
Optional< StringRef > llvm::convertRoundingModeToStr (RoundingMode)
 For any RoundingMode enumerator, returns a string valid as input in constrained intrinsic rounding mode metadata. More...
 
Optional< fp::ExceptionBehavior > llvm::convertStrToExceptionBehavior (StringRef)
 Returns a valid ExceptionBehavior enumerator when given a string valid as input in constrained intrinsic exception behavior metadata. More...
 
Optional< StringRef > llvm::convertExceptionBehaviorToStr (fp::ExceptionBehavior)
 For any ExceptionBehavior enumerator, returns a string valid as input in constrained intrinsic exception behavior metadata. More...
 
bool llvm::isDefaultFPEnvironment (fp::ExceptionBehavior EB, RoundingMode RM)
 Returns true if the exception handling behavior and rounding mode match what is used in the default floating point environment. More...
 
bool llvm::canRoundingModeBe (RoundingMode RM, RoundingMode QRM)
 Returns true if the rounding mode RM may be QRM at compile time or at run time. More...
 

Detailed Description

This file contains the declarations of entities that describe floating point environment and related functions.

Definition in file FPEnv.h.