Jlm
Public Member Functions | List of all members
UnaryOperation Class Referencefinal
Inheritance diagram for UnaryOperation:
Inheritance graph
[legend]
Collaboration diagram for UnaryOperation:
Collaboration graph
[legend]

Public Member Functions

 UnaryOperation (const std::shared_ptr< const jlm::rvsdg::Type > &operandType, const std::shared_ptr< const jlm::rvsdg::Type > &resultType)
 
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
 
bool operator== (const Operation &) const noexcept override
 
std::string debug_string () const override
 
std::unique_ptr< Operationcopy () 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
 

Detailed Description

Definition at line 14 of file UnaryOperationTests.cpp.

Constructor & Destructor Documentation

◆ UnaryOperation()

UnaryOperation::UnaryOperation ( const std::shared_ptr< const jlm::rvsdg::Type > &  operandType,
const std::shared_ptr< const jlm::rvsdg::Type > &  resultType 
)
inline

Definition at line 17 of file UnaryOperationTests.cpp.

Member Function Documentation

◆ can_reduce_operand()

jlm::rvsdg::unop_reduction_path_t UnaryOperation::can_reduce_operand ( const jlm::rvsdg::Output operand) const
inlineoverridevirtualnoexcept

Implements jlm::rvsdg::UnaryOperation.

Definition at line 24 of file UnaryOperationTests.cpp.

◆ copy()

std::unique_ptr<Operation> UnaryOperation::copy ( ) const
inlineoverridevirtual

Implements jlm::rvsdg::Operation.

Definition at line 61 of file UnaryOperationTests.cpp.

◆ debug_string()

std::string UnaryOperation::debug_string ( ) const
inlineoverridevirtual

Implements jlm::rvsdg::Operation.

Definition at line 55 of file UnaryOperationTests.cpp.

◆ operator==()

bool UnaryOperation::operator== ( const Operation ) const
inlineoverridenoexcept

Definition at line 49 of file UnaryOperationTests.cpp.

◆ reduce_operand()

jlm::rvsdg::Output* UnaryOperation::reduce_operand ( jlm::rvsdg::unop_reduction_path_t  path,
jlm::rvsdg::Output operand 
) const
inlineoverridevirtual

Implements jlm::rvsdg::UnaryOperation.

Definition at line 37 of file UnaryOperationTests.cpp.


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