Jlm
Public Member Functions | Private Attributes | List of all members
jlm::rvsdg::SimpleOperation Class Reference

#include <operation.hpp>

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

Public Member Functions

 ~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
 
virtual std::string debug_string () const =0
 
virtual std::unique_ptr< Operationcopy () const =0
 
bool operator!= (const Operation &other) const noexcept
 

Private Attributes

std::vector< std::shared_ptr< const rvsdg::Type > > operands_
 
std::vector< std::shared_ptr< const rvsdg::Type > > results_
 

Detailed Description

Definition at line 56 of file operation.hpp.

Constructor & Destructor Documentation

◆ ~SimpleOperation()

jlm::rvsdg::SimpleOperation::~SimpleOperation ( )
overridedefaultnoexcept

◆ SimpleOperation()

jlm::rvsdg::SimpleOperation::SimpleOperation ( std::vector< std::shared_ptr< const jlm::rvsdg::Type >>  operands,
std::vector< std::shared_ptr< const jlm::rvsdg::Type >>  results 
)
inline

Definition at line 61 of file operation.hpp.

Member Function Documentation

◆ argument()

const std::shared_ptr< const rvsdg::Type > & jlm::rvsdg::SimpleOperation::argument ( size_t  index) const
noexcept

Definition at line 23 of file operation.cpp.

◆ narguments()

size_t jlm::rvsdg::SimpleOperation::narguments ( ) const
noexcept

Definition at line 17 of file operation.cpp.

◆ nresults()

size_t jlm::rvsdg::SimpleOperation::nresults ( ) const
noexcept

Definition at line 30 of file operation.cpp.

◆ result()

const std::shared_ptr< const rvsdg::Type > & jlm::rvsdg::SimpleOperation::result ( size_t  index) const
noexcept

Definition at line 36 of file operation.cpp.

Member Data Documentation

◆ operands_

std::vector<std::shared_ptr<const rvsdg::Type> > jlm::rvsdg::SimpleOperation::operands_
private

Definition at line 81 of file operation.hpp.

◆ results_

std::vector<std::shared_ptr<const rvsdg::Type> > jlm::rvsdg::SimpleOperation::results_
private

Definition at line 82 of file operation.hpp.


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