LLVM 23.0.0git
llvm::DenormalFPEnv Struct Reference

Represents the full denormal controls for a function, including the default mode and the f32 specific override. More...

#include "llvm/ADT/FloatingPointMode.h"

Public Member Functions

constexpr DenormalFPEnv (DenormalMode BaseMode, DenormalMode FloatMode=DenormalMode::getInvalid())
constexpr uint32_t toIntValue () const
constexpr bool operator== (DenormalFPEnv Other) const
constexpr bool operator!= (DenormalFPEnv Other) const
LLVM_ABI void print (raw_ostream &OS, bool OmitIfSame=true) const
DenormalFPEnv mergeCalleeMode (DenormalFPEnv Callee) const

Static Public Member Functions

static constexpr DenormalFPEnv getDefault ()
static constexpr DenormalFPEnv createFromIntValue (uint32_t Data)

Public Attributes

DenormalMode DefaultMode
DenormalMode F32Mode

Detailed Description

Represents the full denormal controls for a function, including the default mode and the f32 specific override.

Definition at line 279 of file FloatingPointMode.h.

Constructor & Destructor Documentation

◆ DenormalFPEnv()

llvm::DenormalFPEnv::DenormalFPEnv ( DenormalMode BaseMode,
DenormalMode FloatMode = DenormalMode::getInvalid() )
inlineconstexpr

Member Function Documentation

◆ createFromIntValue()

constexpr DenormalFPEnv llvm::DenormalFPEnv::createFromIntValue ( uint32_t Data)
inlinestaticconstexpr

◆ getDefault()

constexpr DenormalFPEnv llvm::DenormalFPEnv::getDefault ( )
inlinestaticconstexpr

Definition at line 297 of file FloatingPointMode.h.

References DenormalFPEnv(), and llvm::DenormalMode::getIEEE().

◆ mergeCalleeMode()

DenormalFPEnv llvm::DenormalFPEnv::mergeCalleeMode ( DenormalFPEnv Callee) const
inline

Definition at line 325 of file FloatingPointMode.h.

References DefaultMode, DenormalFPEnv(), and F32Mode.

◆ operator!=()

bool llvm::DenormalFPEnv::operator!= ( DenormalFPEnv Other) const
inlineconstexpr

Definition at line 319 of file FloatingPointMode.h.

References DenormalFPEnv(), and llvm::Other.

◆ operator==()

bool llvm::DenormalFPEnv::operator== ( DenormalFPEnv Other) const
inlineconstexpr

Definition at line 315 of file FloatingPointMode.h.

References DefaultMode, DenormalFPEnv(), F32Mode, and llvm::Other.

◆ print()

void DenormalFPEnv::print ( raw_ostream & OS,
bool OmitIfSame = true ) const

◆ toIntValue()

uint32_t llvm::DenormalFPEnv::toIntValue ( ) const
inlineconstexpr

Definition at line 301 of file FloatingPointMode.h.

References assert(), llvm::Data, DefaultMode, F32Mode, and llvm::isUInt().

Referenced by LLVMCreateDenormalFPEnvAttribute().

Member Data Documentation

◆ DefaultMode

◆ F32Mode


The documentation for this struct was generated from the following files: