Enzyme main
Loading...
Searching...
No Matches
FloatRepresentation Struct Reference

#include "MLIR/Interfaces/EnzymeLogic.h"

Collaboration diagram for FloatRepresentation:

Public Member Functions

 FloatRepresentation (unsigned e, unsigned s)
 
unsigned getTypeWidth () const
 
bool canBeBuiltin () const
 
llvm::Type * getBuiltinType (llvm::LLVMContext &ctx) const
 
llvm::Type * getType (llvm::LLVMContext &ctx) const
 
bool operator== (const FloatRepresentation &other) const
 
bool operator< (const FloatRepresentation &other) const
 
std::string to_string () const
 

Public Attributes

unsigned exponentWidth
 
unsigned significandWidth
 

Detailed Description

Definition at line 353 of file EnzymeLogic.h.

Constructor & Destructor Documentation

◆ FloatRepresentation()

FloatRepresentation::FloatRepresentation ( unsigned e,
unsigned s )
inline

Definition at line 362 of file EnzymeLogic.h.

Member Function Documentation

◆ canBeBuiltin()

bool FloatRepresentation::canBeBuiltin ( ) const
inline

Definition at line 367 of file EnzymeLogic.h.

◆ getBuiltinType()

llvm::Type * FloatRepresentation::getBuiltinType ( llvm::LLVMContext & ctx) const
inline

Definition at line 374 of file EnzymeLogic.h.

◆ getType()

llvm::Type * FloatRepresentation::getType ( llvm::LLVMContext & ctx) const
inline

Definition at line 380 of file EnzymeLogic.h.

◆ getTypeWidth()

unsigned FloatRepresentation::getTypeWidth ( ) const
inline

Definition at line 365 of file EnzymeLogic.h.

◆ operator<()

bool FloatRepresentation::operator< ( const FloatRepresentation & other) const
inline

Definition at line 391 of file EnzymeLogic.h.

◆ operator==()

bool FloatRepresentation::operator== ( const FloatRepresentation & other) const
inline

Definition at line 387 of file EnzymeLogic.h.

◆ to_string()

std::string FloatRepresentation::to_string ( ) const
inline

Definition at line 395 of file EnzymeLogic.h.

Member Data Documentation

◆ exponentWidth

unsigned FloatRepresentation::exponentWidth

Definition at line 359 of file EnzymeLogic.h.

◆ significandWidth

unsigned FloatRepresentation::significandWidth

Definition at line 360 of file EnzymeLogic.h.


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