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

#include <operators.hpp>

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

Public Member Functions

 ~BitCastOperation () noexcept override
 
 BitCastOperation (std::shared_ptr< const jlm::rvsdg::Type > srctype, std::shared_ptr< const jlm::rvsdg::Type > dsttype)
 
 BitCastOperation (const BitCastOperation &)=default
 
 BitCastOperation (Operation &&)=delete
 
BitCastOperationoperator= (const Operation &)=delete
 
BitCastOperationoperator= (Operation &&)=delete
 
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 *output) const noexcept override
 
jlm::rvsdg::Outputreduce_operand (jlm::rvsdg::unop_reduction_path_t path, jlm::rvsdg::Output *output) 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, std::shared_ptr< const jlm::rvsdg::Type > type)
 
static jlm::rvsdg::Outputcreate (jlm::rvsdg::Output *operand, std::shared_ptr< const jlm::rvsdg::Type > rtype)
 

Static Private Member Functions

static std::pair< std::shared_ptr< const jlm::rvsdg::Type >, std::shared_ptr< const jlm::rvsdg::Type > > check_types (const std::shared_ptr< const jlm::rvsdg::Type > &otype, const std::shared_ptr< const jlm::rvsdg::Type > &rtype)
 

Detailed Description

Definition at line 1462 of file operators.hpp.

Constructor & Destructor Documentation

◆ ~BitCastOperation()

jlm::llvm::BitCastOperation::~BitCastOperation ( )
overridedefaultnoexcept

◆ BitCastOperation() [1/3]

jlm::llvm::BitCastOperation::BitCastOperation ( std::shared_ptr< const jlm::rvsdg::Type srctype,
std::shared_ptr< const jlm::rvsdg::Type dsttype 
)
inline

Definition at line 1467 of file operators.hpp.

◆ BitCastOperation() [2/3]

jlm::llvm::BitCastOperation::BitCastOperation ( const BitCastOperation )
default

◆ BitCastOperation() [3/3]

jlm::llvm::BitCastOperation::BitCastOperation ( Operation &&  )
explicitdelete

Member Function Documentation

◆ can_reduce_operand()

rvsdg::unop_reduction_path_t jlm::llvm::BitCastOperation::can_reduce_operand ( const jlm::rvsdg::Output output) const
overridevirtualnoexcept

Implements jlm::rvsdg::UnaryOperation.

Definition at line 742 of file operators.cpp.

◆ check_types()

static std::pair<std::shared_ptr<const jlm::rvsdg::Type>, std::shared_ptr<const jlm::rvsdg::Type> > jlm::llvm::BitCastOperation::check_types ( const std::shared_ptr< const jlm::rvsdg::Type > &  otype,
const std::shared_ptr< const jlm::rvsdg::Type > &  rtype 
)
inlinestaticprivate

Definition at line 1519 of file operators.hpp.

◆ copy()

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

Implements jlm::rvsdg::Operation.

Definition at line 736 of file operators.cpp.

◆ create() [1/2]

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

Definition at line 1502 of file operators.hpp.

◆ create() [2/2]

static jlm::rvsdg::Output* jlm::llvm::BitCastOperation::create ( jlm::rvsdg::Output operand,
std::shared_ptr< const jlm::rvsdg::Type rtype 
)
inlinestatic

Definition at line 1511 of file operators.hpp.

◆ debug_string()

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

Implements jlm::rvsdg::Operation.

Definition at line 725 of file operators.cpp.

◆ operator=() [1/2]

BitCastOperation& jlm::llvm::BitCastOperation::operator= ( const Operation &  )
delete

◆ operator=() [2/2]

BitCastOperation& jlm::llvm::BitCastOperation::operator= ( Operation &&  )
delete

◆ operator==()

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

Definition at line 718 of file operators.cpp.

◆ reduce_operand()

rvsdg::Output * jlm::llvm::BitCastOperation::reduce_operand ( jlm::rvsdg::unop_reduction_path_t  path,
jlm::rvsdg::Output output 
) const
overridevirtual

Implements jlm::rvsdg::UnaryOperation.

Definition at line 748 of file operators.cpp.


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