Jlm
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
jlm::hls::BranchOperation Class Referencefinal

#include <hls.hpp>

Inheritance diagram for jlm::hls::BranchOperation:
Inheritance graph
[legend]
Collaboration diagram for jlm::hls::BranchOperation:
Collaboration graph
[legend]

Public Member Functions

 ~BranchOperation () noexcept override
 
 BranchOperation (size_t nalternatives, const std::shared_ptr< const jlm::rvsdg::Type > &type, bool loop)
 
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::vector< jlm::rvsdg::Output * > create (jlm::rvsdg::Output &predicate, jlm::rvsdg::Output &value, bool loop=false)
 

Public Attributes

bool loop
 

Detailed Description

Definition at line 31 of file hls.hpp.

Constructor & Destructor Documentation

◆ ~BranchOperation()

jlm::hls::BranchOperation::~BranchOperation ( )
overridedefaultnoexcept

◆ BranchOperation()

jlm::hls::BranchOperation::BranchOperation ( size_t  nalternatives,
const std::shared_ptr< const jlm::rvsdg::Type > &  type,
bool  loop 
)
inline

Definition at line 36 of file hls.hpp.

Member Function Documentation

◆ copy()

std::unique_ptr<Operation> jlm::hls::BranchOperation::copy ( ) const
inlineoverridevirtual

Implements jlm::rvsdg::Operation.

Definition at line 62 of file hls.hpp.

◆ create()

static std::vector<jlm::rvsdg::Output *> jlm::hls::BranchOperation::create ( jlm::rvsdg::Output predicate,
jlm::rvsdg::Output value,
bool  loop = false 
)
inlinestatic

Definition at line 68 of file hls.hpp.

◆ debug_string()

std::string jlm::hls::BranchOperation::debug_string ( ) const
inlineoverridevirtual

Implements jlm::rvsdg::Operation.

Definition at line 56 of file hls.hpp.

◆ operator==()

bool jlm::hls::BranchOperation::operator== ( const Operation other) const
inlineoverridevirtualnoexcept

Implements jlm::rvsdg::Operation.

Definition at line 47 of file hls.hpp.

Member Data Documentation

◆ loop

bool jlm::hls::BranchOperation::loop

Definition at line 81 of file hls.hpp.


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