Jlm
Public Member Functions | Static Private Member Functions | List of all members
jlm::rvsdg::BitConcatOperation Class Referencefinal

#include <concat.hpp>

Inheritance diagram for jlm::rvsdg::BitConcatOperation:
Inheritance graph
[legend]
Collaboration diagram for jlm::rvsdg::BitConcatOperation:
Collaboration graph
[legend]

Public Member Functions

 ~BitConcatOperation () noexcept override
 
 BitConcatOperation (const std::vector< std::shared_ptr< const BitType >> types)
 
bool operator== (const Operation &other) const noexcept override
 
binop_reduction_path_t can_reduce_operand_pair (const jlm::rvsdg::Output *arg1, const jlm::rvsdg::Output *arg2) const noexcept override
 
jlm::rvsdg::Outputreduce_operand_pair (binop_reduction_path_t path, jlm::rvsdg::Output *arg1, jlm::rvsdg::Output *arg2) const override
 
enum BinaryOperation::flags flags () const noexcept override
 
std::string debug_string () const override
 
std::unique_ptr< Operationcopy () const override
 
- Public Member Functions inherited from jlm::rvsdg::BinaryOperation
 ~BinaryOperation () noexcept override
 
 BinaryOperation (const std::vector< std::shared_ptr< const jlm::rvsdg::Type >> operands, std::shared_ptr< const jlm::rvsdg::Type > result)
 
bool is_associative () const noexcept
 
bool is_commutative () const noexcept
 
- 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
 
bool operator!= (const Operation &other) const noexcept
 

Static Private Member Functions

static std::shared_ptr< const BitTypeaggregate_arguments (const std::vector< std::shared_ptr< const BitType >> &types) noexcept
 

Additional Inherited Members

- Public Types inherited from jlm::rvsdg::BinaryOperation
enum class  flags { none = 0 , associative = 1 , commutative = 2 }
 

Detailed Description

Definition at line 19 of file concat.hpp.

Constructor & Destructor Documentation

◆ ~BitConcatOperation()

jlm::rvsdg::BitConcatOperation::~BitConcatOperation ( )
overridedefaultnoexcept

◆ BitConcatOperation()

jlm::rvsdg::BitConcatOperation::BitConcatOperation ( const std::vector< std::shared_ptr< const BitType >>  types)
inlineexplicit

Definition at line 24 of file concat.hpp.

Member Function Documentation

◆ aggregate_arguments()

std::shared_ptr< const BitType > jlm::rvsdg::BitConcatOperation::aggregate_arguments ( const std::vector< std::shared_ptr< const BitType >> &  types)
staticprivatenoexcept

Definition at line 26 of file concat.cpp.

◆ can_reduce_operand_pair()

binop_reduction_path_t jlm::rvsdg::BitConcatOperation::can_reduce_operand_pair ( const jlm::rvsdg::Output arg1,
const jlm::rvsdg::Output arg2 
) const
overridevirtualnoexcept

Implements jlm::rvsdg::BinaryOperation.

Definition at line 56 of file concat.cpp.

◆ copy()

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

Implements jlm::rvsdg::Operation.

Definition at line 137 of file concat.cpp.

◆ debug_string()

std::string jlm::rvsdg::BitConcatOperation::debug_string ( ) const
overridevirtual

Implements jlm::rvsdg::Operation.

Definition at line 131 of file concat.cpp.

◆ flags()

enum BinaryOperation::flags jlm::rvsdg::BitConcatOperation::flags ( ) const
overridevirtualnoexcept

Reimplemented from jlm::rvsdg::BinaryOperation.

Definition at line 94 of file concat.cpp.

◆ operator==()

bool jlm::rvsdg::BitConcatOperation::operator== ( const Operation other) const
overridevirtualnoexcept

Implements jlm::rvsdg::Operation.

Definition at line 40 of file concat.cpp.

◆ reduce_operand_pair()

jlm::rvsdg::Output * jlm::rvsdg::BitConcatOperation::reduce_operand_pair ( binop_reduction_path_t  path,
jlm::rvsdg::Output arg1,
jlm::rvsdg::Output arg2 
) const
overridevirtual

Implements jlm::rvsdg::BinaryOperation.

Definition at line 94 of file concat.cpp.


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