struct DenormalMode

Declaration

struct DenormalMode { /* full declaration omitted */ };

Description

Represent subnormal handling kind for floating point instruction inputs and outputs.

Declared at: llvm/include/llvm/ADT/FloatingPointMode.h:69

Member Variables

public llvm::DenormalMode::DenormalModeKind Output = DenormalModeKind::Invalid
Denormal flushing mode for floating point instruction results in the default floating point environment.
public llvm::DenormalMode::DenormalModeKind Input = DenormalModeKind::Invalid
Denormal treatment kind for floating point instruction inputs in the default floating-point environment. If this is not DenormalModeKind::IEEE, floating-point instructions implicitly treat the input value as 0.

Method Overview

  • public DenormalMode()
  • public constexpr DenormalMode(llvm::DenormalMode::DenormalModeKind Out, llvm::DenormalMode::DenormalModeKind In)
  • public static constexpr llvm::DenormalMode getIEEE()
  • public static constexpr llvm::DenormalMode getInvalid()
  • public static constexpr llvm::DenormalMode getPositiveZero()
  • public static constexpr llvm::DenormalMode getPreserveSign()
  • public bool isSimple() const
  • public bool isValid() const
  • public inline void print(llvm::raw_ostream & OS) const
  • public inline std::string str() const

Methods

DenormalMode()

Declared at: llvm/include/llvm/ADT/FloatingPointMode.h:94

constexpr DenormalMode(
    llvm::DenormalMode::DenormalModeKind Out,
    llvm::DenormalMode::DenormalModeKind In)

Declared at: llvm/include/llvm/ADT/FloatingPointMode.h:95

Parameters

llvm::DenormalMode::DenormalModeKind Out
llvm::DenormalMode::DenormalModeKind In

static constexpr llvm::DenormalMode getIEEE()

Declared at: llvm/include/llvm/ADT/FloatingPointMode.h:103

static constexpr llvm::DenormalMode getInvalid()

Declared at: llvm/include/llvm/ADT/FloatingPointMode.h:99

static constexpr llvm::DenormalMode
getPositiveZero()

Declared at: llvm/include/llvm/ADT/FloatingPointMode.h:112

static constexpr llvm::DenormalMode
getPreserveSign()

Declared at: llvm/include/llvm/ADT/FloatingPointMode.h:107

bool isSimple() const

Declared at: llvm/include/llvm/ADT/FloatingPointMode.h:125

bool isValid() const

Declared at: llvm/include/llvm/ADT/FloatingPointMode.h:129

inline void print(llvm::raw_ostream& OS) const

Declared at: llvm/include/llvm/ADT/FloatingPointMode.h:134

Parameters

llvm::raw_ostream& OS

inline std::string str() const

Declared at: llvm/include/llvm/ADT/FloatingPointMode.h:136