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

#include <operators.hpp>

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

Public Member Functions

 ~BranchOperation () noexcept override
 
 BranchOperation (std::shared_ptr< const rvsdg::ControlType > type)
 
bool operator== (const Operation &other) const noexcept override
 
std::string debug_string () const override
 
std::unique_ptr< Operation > copy () const override
 
size_t nalternatives () const noexcept
 
- 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
 

Static Public Member Functions

static std::unique_ptr< llvm::ThreeAddressCodecreate (size_t nalternatives, const Variable *operand)
 

Detailed Description

Definition at line 393 of file operators.hpp.

Constructor & Destructor Documentation

◆ ~BranchOperation()

jlm::llvm::BranchOperation::~BranchOperation ( )
overridedefaultnoexcept

◆ BranchOperation()

jlm::llvm::BranchOperation::BranchOperation ( std::shared_ptr< const rvsdg::ControlType type)
inlineexplicit

Definition at line 398 of file operators.hpp.

Member Function Documentation

◆ copy()

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

Implements jlm::rvsdg::Operation.

Definition at line 215 of file operators.cpp.

◆ create()

static std::unique_ptr<llvm::ThreeAddressCode> jlm::llvm::BranchOperation::create ( size_t  nalternatives,
const Variable operand 
)
inlinestatic

Definition at line 418 of file operators.hpp.

◆ debug_string()

std::string jlm::llvm::BranchOperation::debug_string ( ) const
overridevirtual

Implements jlm::rvsdg::Operation.

Definition at line 209 of file operators.cpp.

◆ nalternatives()

size_t jlm::llvm::BranchOperation::nalternatives ( ) const
inlinenoexcept

Definition at line 412 of file operators.hpp.

◆ operator==()

bool jlm::llvm::BranchOperation::operator== ( const Operation &  other) const
overridenoexcept

Definition at line 202 of file operators.cpp.


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