LLVM 22.0.0git
llvm::SPIRV::FPFastMathDefaultInfo Struct Reference

#include "Target/SPIRV/SPIRVUtils.h"

Public Member Functions

 FPFastMathDefaultInfo ()=default
 FPFastMathDefaultInfo (const Type *Ty, unsigned FastMathFlags)
bool operator== (const FPFastMathDefaultInfo &Other) const

Public Attributes

const TypeTy = nullptr
unsigned FastMathFlags = 0
bool ContractionOff = false
bool SignedZeroInfNanPreserve = false
bool FPFastMathDefault = false

Detailed Description

Definition at line 117 of file SPIRVUtils.h.

Constructor & Destructor Documentation

◆ FPFastMathDefaultInfo() [1/2]

llvm::SPIRV::FPFastMathDefaultInfo::FPFastMathDefaultInfo ( )
default

Referenced by operator==().

◆ FPFastMathDefaultInfo() [2/2]

llvm::SPIRV::FPFastMathDefaultInfo::FPFastMathDefaultInfo ( const Type * Ty,
unsigned FastMathFlags )
inline

Definition at line 134 of file SPIRVUtils.h.

References FastMathFlags, and Ty.

Member Function Documentation

◆ operator==()

bool llvm::SPIRV::FPFastMathDefaultInfo::operator== ( const FPFastMathDefaultInfo & Other) const
inline

Member Data Documentation

◆ ContractionOff

bool llvm::SPIRV::FPFastMathDefaultInfo::ContractionOff = false

Definition at line 129 of file SPIRVUtils.h.

Referenced by operator==().

◆ FastMathFlags

unsigned llvm::SPIRV::FPFastMathDefaultInfo::FastMathFlags = 0

Definition at line 119 of file SPIRVUtils.h.

Referenced by FPFastMathDefaultInfo(), and operator==().

◆ FPFastMathDefault

bool llvm::SPIRV::FPFastMathDefaultInfo::FPFastMathDefault = false

Definition at line 131 of file SPIRVUtils.h.

Referenced by operator==().

◆ SignedZeroInfNanPreserve

bool llvm::SPIRV::FPFastMathDefaultInfo::SignedZeroInfNanPreserve = false

Definition at line 130 of file SPIRVUtils.h.

Referenced by operator==().

◆ Ty

const Type* llvm::SPIRV::FPFastMathDefaultInfo::Ty = nullptr

Definition at line 118 of file SPIRVUtils.h.

Referenced by FPFastMathDefaultInfo(), and operator==().


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