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

#include <TestOperations.hpp>

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

Public Member Functions

 ~TestOperation () noexcept override
 
 TestOperation (std::vector< std::shared_ptr< const Type >> operandTypes, std::vector< std::shared_ptr< const Type >> resultTypes)
 
 TestOperation (const TestOperation &)=default
 
bool operator== (const Operation &other) const noexcept override
 
std::string debug_string () const override
 
std::unique_ptr< Operationcopy () const override
 
- 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 std::unique_ptr< TestOperationcreate (std::vector< std::shared_ptr< const Type >> operandTypes, std::vector< std::shared_ptr< const Type >> resultTypes)
 
static SimpleNodecreateNode (Region *region, const std::vector< Output * > &operands, std::vector< std::shared_ptr< const Type >> resultTypes)
 
static SimpleNodecreateNode (Region *region, std::vector< std::shared_ptr< const Type >> operandTypes, const std::vector< rvsdg::Output * > &operands, std::vector< std::shared_ptr< const Type >> resultTypes)
 

Detailed Description

Definition at line 160 of file TestOperations.hpp.

Constructor & Destructor Documentation

◆ ~TestOperation()

jlm::rvsdg::TestOperation::~TestOperation ( )
overridedefaultnoexcept

◆ TestOperation() [1/2]

jlm::rvsdg::TestOperation::TestOperation ( std::vector< std::shared_ptr< const Type >>  operandTypes,
std::vector< std::shared_ptr< const Type >>  resultTypes 
)
inline

Definition at line 165 of file TestOperations.hpp.

◆ TestOperation() [2/2]

jlm::rvsdg::TestOperation::TestOperation ( const TestOperation )
default

Member Function Documentation

◆ copy()

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

Implements jlm::rvsdg::Operation.

Definition at line 117 of file TestOperations.cpp.

◆ create()

static std::unique_ptr<TestOperation> jlm::rvsdg::TestOperation::create ( std::vector< std::shared_ptr< const Type >>  operandTypes,
std::vector< std::shared_ptr< const Type >>  resultTypes 
)
inlinestatic

Definition at line 183 of file TestOperations.hpp.

◆ createNode() [1/2]

static SimpleNode* jlm::rvsdg::TestOperation::createNode ( Region region,
const std::vector< Output * > &  operands,
std::vector< std::shared_ptr< const Type >>  resultTypes 
)
inlinestatic

Definition at line 191 of file TestOperations.hpp.

◆ createNode() [2/2]

static SimpleNode* jlm::rvsdg::TestOperation::createNode ( Region region,
std::vector< std::shared_ptr< const Type >>  operandTypes,
const std::vector< rvsdg::Output * > &  operands,
std::vector< std::shared_ptr< const Type >>  resultTypes 
)
inlinestatic

Definition at line 204 of file TestOperations.hpp.

◆ debug_string()

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

Implements jlm::rvsdg::Operation.

Definition at line 111 of file TestOperations.cpp.

◆ operator==()

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

Implements jlm::rvsdg::Operation.

Definition at line 86 of file TestOperations.cpp.


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