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

#include "MLIR/Interfaces/EnzymeLogic.h"

Public Member Functions

 FloatTruncation (FloatRepresentation From, FloatRepresentation To, TruncateMode mode)
 
TruncateMode getMode ()
 
FloatRepresentation getTo ()
 
unsigned getFromTypeWidth ()
 
unsigned getToTypeWidth ()
 
llvm::Type * getFromType (llvm::LLVMContext &ctx)
 
bool isToFPRT ()
 
llvm::Type * getToType (llvm::LLVMContext &ctx)
 
auto getTuple () const
 
bool operator== (const FloatTruncation &other) const
 
bool operator< (const FloatTruncation &other) const
 
std::string mangleTruncation () const
 
std::string mangleFrom () const
 

Detailed Description

Definition at line 401 of file EnzymeLogic.h.

Constructor & Destructor Documentation

◆ FloatTruncation()

FloatTruncation::FloatTruncation ( FloatRepresentation From,
FloatRepresentation To,
TruncateMode mode )
inline

Definition at line 407 of file EnzymeLogic.h.

Member Function Documentation

◆ getFromType()

llvm::Type * FloatTruncation::getFromType ( llvm::LLVMContext & ctx)
inline

Definition at line 428 of file EnzymeLogic.h.

◆ getFromTypeWidth()

unsigned FloatTruncation::getFromTypeWidth ( )
inline

Definition at line 426 of file EnzymeLogic.h.

◆ getMode()

TruncateMode FloatTruncation::getMode ( )
inline

Definition at line 424 of file EnzymeLogic.h.

◆ getTo()

FloatRepresentation FloatTruncation::getTo ( )
inline

Definition at line 425 of file EnzymeLogic.h.

◆ getToType()

llvm::Type * FloatTruncation::getToType ( llvm::LLVMContext & ctx)
inline

Definition at line 436 of file EnzymeLogic.h.

◆ getToTypeWidth()

unsigned FloatTruncation::getToTypeWidth ( )
inline

Definition at line 427 of file EnzymeLogic.h.

◆ getTuple()

auto FloatTruncation::getTuple ( ) const
inline

Definition at line 437 of file EnzymeLogic.h.

◆ isToFPRT()

bool FloatTruncation::isToFPRT ( )
inline

Definition at line 431 of file EnzymeLogic.h.

◆ mangleFrom()

std::string FloatTruncation::mangleFrom ( ) const
inline

Definition at line 447 of file EnzymeLogic.h.

◆ mangleTruncation()

std::string FloatTruncation::mangleTruncation ( ) const
inline

Definition at line 444 of file EnzymeLogic.h.

◆ operator<()

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

Definition at line 441 of file EnzymeLogic.h.

◆ operator==()

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

Definition at line 438 of file EnzymeLogic.h.


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