LLVM  15.0.0git
Namespaces | Enumerations | Functions
FPEnv.h File Reference
#include "llvm/ADT/FloatingPointMode.h"
#include "llvm/ADT/Optional.h"
#include "llvm/IR/FMF.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 is an optimization pass for GlobalISel generic memory operations.
 
 llvm::Intrinsic
 This namespace contains an enum with a value for every intrinsic/builtin function known by LLVM.
 
 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...
 
Intrinsic::ID llvm::getConstrainedIntrinsicID (const Instruction &Instr)
 Returns constrained intrinsic id to represent the given instruction in strictfp function. 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...
 
bool llvm::canIgnoreSNaN (fp::ExceptionBehavior EB, FastMathFlags FMF)
 Returns true if the possibility of a signaling NaN can be safely ignored. More...
 

Detailed Description

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

Definition in file FPEnv.h.