Jlm
Public Member Functions | Static Public Member Functions | List of all members
jlm::llvm::UIToFPOperation Class Referencefinal

#include <operators.hpp>

Inheritance diagram for jlm::llvm::UIToFPOperation:
Inheritance graph
[legend]
Collaboration diagram for jlm::llvm::UIToFPOperation:
Collaboration graph
[legend]

Public Member Functions

 ~UIToFPOperation () noexcept override
 
 UIToFPOperation (std::shared_ptr< const jlm::rvsdg::BitType > srctype, std::shared_ptr< const FloatingPointType > dsttype)
 
 UIToFPOperation (std::shared_ptr< const jlm::rvsdg::Type > optype, std::shared_ptr< const jlm::rvsdg::Type > restype)
 
bool operator== (const Operation &other) const noexcept override
 
std::string debug_string () const override
 
std::unique_ptr< Operation > copy () const override
 
jlm::rvsdg::unop_reduction_path_t can_reduce_operand (const jlm::rvsdg::Output *operand) const noexcept override
 
jlm::rvsdg::Outputreduce_operand (jlm::rvsdg::unop_reduction_path_t path, jlm::rvsdg::Output *operand) const override
 
- Public Member Functions inherited from jlm::rvsdg::UnaryOperation
 ~UnaryOperation () noexcept override
 
 UnaryOperation (std::shared_ptr< const jlm::rvsdg::Type > operand, std::shared_ptr< const jlm::rvsdg::Type > result)
 
- Public Member Functions inherited from jlm::rvsdg::SimpleOperation
 ~SimpleOperation () noexcept override
 
 SimpleOperation (std::vector< std::shared_ptr< const jlm::rvsdg::Type >> operands, std::vector< std::shared_ptr< const jlm::rvsdg::Type >> results)
 
size_t narguments () const noexcept
 
const std::shared_ptr< const rvsdg::Type > & argument (size_t index) const noexcept
 
size_t nresults () const noexcept
 
const std::shared_ptr< const rvsdg::Type > & result (size_t index) const noexcept
 
- Public Member Functions inherited from jlm::rvsdg::Operation
virtual ~Operation () noexcept
 
virtual bool operator== (const Operation &other) const noexcept=0
 
bool operator!= (const Operation &other) const noexcept
 

Static Public Member Functions

static std::unique_ptr< llvm::ThreeAddressCodecreate (const Variable *operand, const std::shared_ptr< const jlm::rvsdg::Type > &type)
 

Detailed Description

Definition at line 1690 of file operators.hpp.

Constructor & Destructor Documentation

◆ ~UIToFPOperation()

jlm::llvm::UIToFPOperation::~UIToFPOperation ( )
overridedefaultnoexcept

◆ UIToFPOperation() [1/2]

jlm::llvm::UIToFPOperation::UIToFPOperation ( std::shared_ptr< const jlm::rvsdg::BitType srctype,
std::shared_ptr< const FloatingPointType dsttype 
)
inline

Definition at line 1695 of file operators.hpp.

◆ UIToFPOperation() [2/2]

jlm::llvm::UIToFPOperation::UIToFPOperation ( std::shared_ptr< const jlm::rvsdg::Type optype,
std::shared_ptr< const jlm::rvsdg::Type restype 
)
inline

Definition at line 1701 of file operators.hpp.

Member Function Documentation

◆ can_reduce_operand()

rvsdg::unop_reduction_path_t jlm::llvm::UIToFPOperation::can_reduce_operand ( const jlm::rvsdg::Output operand) const
overridevirtualnoexcept

Implements jlm::rvsdg::UnaryOperation.

Definition at line 832 of file operators.cpp.

◆ copy()

std::unique_ptr< rvsdg::Operation > jlm::llvm::UIToFPOperation::copy ( ) const
overridevirtual

Implements jlm::rvsdg::Operation.

Definition at line 826 of file operators.cpp.

◆ create()

static std::unique_ptr<llvm::ThreeAddressCode> jlm::llvm::UIToFPOperation::create ( const Variable operand,
const std::shared_ptr< const jlm::rvsdg::Type > &  type 
)
inlinestatic

Definition at line 1732 of file operators.hpp.

◆ debug_string()

std::string jlm::llvm::UIToFPOperation::debug_string ( ) const
overridevirtual

Implements jlm::rvsdg::Operation.

Definition at line 820 of file operators.cpp.

◆ operator==()

bool jlm::llvm::UIToFPOperation::operator== ( const Operation &  other) const
overridenoexcept

Definition at line 813 of file operators.cpp.

◆ reduce_operand()

rvsdg::Output * jlm::llvm::UIToFPOperation::reduce_operand ( jlm::rvsdg::unop_reduction_path_t  path,
jlm::rvsdg::Output operand 
) const
overridevirtual

Implements jlm::rvsdg::UnaryOperation.

Definition at line 838 of file operators.cpp.


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