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

#include <TestOperations.hpp>

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

Public Member Functions

 ~TestUnaryOperation () noexcept override
 
 TestUnaryOperation (std::shared_ptr< const Type > operandType, std::shared_ptr< const Type > resultType) noexcept
 
bool operator== (const Operation &other) const noexcept override
 
unop_reduction_path_t can_reduce_operand (const Output *operand) const noexcept override
 
Outputreduce_operand (unop_reduction_path_t path, Output *operand) const 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
 
bool operator!= (const Operation &other) const noexcept
 

Static Public Member Functions

static Nodecreate (Region *, std::shared_ptr< const Type > operandType, Output *operand, std::shared_ptr< const Type > resultType)
 
static Outputcreate_normalized (std::shared_ptr< const Type > operandType, Output *operand, std::shared_ptr< const Type > resultType)
 

Detailed Description

Definition at line 43 of file TestOperations.hpp.

Constructor & Destructor Documentation

◆ ~TestUnaryOperation()

jlm::rvsdg::TestUnaryOperation::~TestUnaryOperation ( )
overridedefaultnoexcept

◆ TestUnaryOperation()

jlm::rvsdg::TestUnaryOperation::TestUnaryOperation ( std::shared_ptr< const Type operandType,
std::shared_ptr< const Type resultType 
)
inlinenoexcept

Definition at line 48 of file TestOperations.hpp.

Member Function Documentation

◆ can_reduce_operand()

unop_reduction_path_t jlm::rvsdg::TestUnaryOperation::can_reduce_operand ( const Output operand) const
overridevirtualnoexcept

Implements jlm::rvsdg::UnaryOperation.

Definition at line 21 of file TestOperations.cpp.

◆ copy()

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

Implements jlm::rvsdg::Operation.

Definition at line 39 of file TestOperations.cpp.

◆ create()

static Node* jlm::rvsdg::TestUnaryOperation::create ( Region ,
std::shared_ptr< const Type operandType,
Output operand,
std::shared_ptr< const Type resultType 
)
inlinestatic

Definition at line 70 of file TestOperations.hpp.

◆ create_normalized()

static Output* jlm::rvsdg::TestUnaryOperation::create_normalized ( std::shared_ptr< const Type operandType,
Output operand,
std::shared_ptr< const Type resultType 
)
inlinestatic

Definition at line 83 of file TestOperations.hpp.

◆ debug_string()

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

Implements jlm::rvsdg::Operation.

Definition at line 33 of file TestOperations.cpp.

◆ operator==()

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

Implements jlm::rvsdg::Operation.

Definition at line 14 of file TestOperations.cpp.

◆ reduce_operand()

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

Implements jlm::rvsdg::UnaryOperation.

Definition at line 27 of file TestOperations.cpp.


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