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

#include <operators.hpp>

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

Public Member Functions

 ~ControlToIntOperation () noexcept override
 
 ControlToIntOperation (std::shared_ptr< const rvsdg::ControlType > srctype, std::shared_ptr< const jlm::rvsdg::BitType > dsttype)
 
bool operator== (const Operation &other) const noexcept override
 
std::string debug_string () const override
 
std::unique_ptr< Operation > copy () 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
 
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 (const Variable *operand, const std::shared_ptr< const jlm::rvsdg::Type > &type)
 

Detailed Description

Definition at line 357 of file operators.hpp.

Constructor & Destructor Documentation

◆ ~ControlToIntOperation()

jlm::llvm::ControlToIntOperation::~ControlToIntOperation ( )
overridedefaultnoexcept

◆ ControlToIntOperation()

jlm::llvm::ControlToIntOperation::ControlToIntOperation ( std::shared_ptr< const rvsdg::ControlType srctype,
std::shared_ptr< const jlm::rvsdg::BitType dsttype 
)
inline

Definition at line 362 of file operators.hpp.

Member Function Documentation

◆ copy()

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

Implements jlm::rvsdg::Operation.

Definition at line 194 of file operators.cpp.

◆ create()

static std::unique_ptr<llvm::ThreeAddressCode> jlm::llvm::ControlToIntOperation::create ( const Variable operand,
const std::shared_ptr< const jlm::rvsdg::Type > &  type 
)
inlinestatic

Definition at line 378 of file operators.hpp.

◆ debug_string()

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

Implements jlm::rvsdg::Operation.

Definition at line 188 of file operators.cpp.

◆ operator==()

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

Definition at line 181 of file operators.cpp.


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