Jlm
Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
jlm::llvm::VectorUnaryOperation Class Referencefinal

#include <operators.hpp>

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

Public Member Functions

 ~VectorUnaryOperation () noexcept override
 
 VectorUnaryOperation (const rvsdg::UnaryOperation &op, const std::shared_ptr< const VectorType > &operand, const std::shared_ptr< const VectorType > &result)
 
 VectorUnaryOperation (const VectorUnaryOperation &other)
 
 VectorUnaryOperation (VectorUnaryOperation &&other) noexcept
 
VectorUnaryOperationoperator= (const VectorUnaryOperation &other)
 
VectorUnaryOperationoperator= (VectorUnaryOperation &&other) noexcept
 
const rvsdg::UnaryOperationoperation () const noexcept
 
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 rvsdg::UnaryOperation &unop, const llvm::Variable *operand, const std::shared_ptr< const jlm::rvsdg::Type > &type)
 

Private Attributes

std::unique_ptr< Operation > op_
 

Detailed Description

Definition at line 2081 of file operators.hpp.

Constructor & Destructor Documentation

◆ ~VectorUnaryOperation()

jlm::llvm::VectorUnaryOperation::~VectorUnaryOperation ( )
overridedefaultnoexcept

◆ VectorUnaryOperation() [1/3]

jlm::llvm::VectorUnaryOperation::VectorUnaryOperation ( const rvsdg::UnaryOperation op,
const std::shared_ptr< const VectorType > &  operand,
const std::shared_ptr< const VectorType > &  result 
)
inline

Definition at line 2086 of file operators.hpp.

◆ VectorUnaryOperation() [2/3]

jlm::llvm::VectorUnaryOperation::VectorUnaryOperation ( const VectorUnaryOperation other)
inline

Definition at line 2108 of file operators.hpp.

◆ VectorUnaryOperation() [3/3]

jlm::llvm::VectorUnaryOperation::VectorUnaryOperation ( VectorUnaryOperation &&  other)
inlinenoexcept

Definition at line 2113 of file operators.hpp.

Member Function Documentation

◆ copy()

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

Implements jlm::rvsdg::Operation.

Definition at line 1019 of file operators.cpp.

◆ create()

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

Definition at line 2152 of file operators.hpp.

◆ debug_string()

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

Implements jlm::rvsdg::Operation.

Definition at line 1013 of file operators.cpp.

◆ operation()

const rvsdg::UnaryOperation& jlm::llvm::VectorUnaryOperation::operation ( ) const
inlinenoexcept

Definition at line 2137 of file operators.hpp.

◆ operator=() [1/2]

VectorUnaryOperation& jlm::llvm::VectorUnaryOperation::operator= ( const VectorUnaryOperation other)
inline

Definition at line 2119 of file operators.hpp.

◆ operator=() [2/2]

VectorUnaryOperation& jlm::llvm::VectorUnaryOperation::operator= ( VectorUnaryOperation &&  other)
inlinenoexcept

Definition at line 2128 of file operators.hpp.

◆ operator==()

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

Definition at line 1006 of file operators.cpp.

Member Data Documentation

◆ op_

std::unique_ptr<Operation> jlm::llvm::VectorUnaryOperation::op_
private

Definition at line 2167 of file operators.hpp.


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