Jlm
Public Member Functions | List of all members
jlm::llvm::IntegerBinaryOperation Class Reference

#include <IntegerOperations.hpp>

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

Public Member Functions

 ~IntegerBinaryOperation () noexcept override
 
 IntegerBinaryOperation (const std::size_t numArgumentBits, const std::size_t numResultBits) noexcept
 
const rvsdg::BitTypeType () const noexcept
 
- Public Member Functions inherited from jlm::rvsdg::BinaryOperation
 ~BinaryOperation () noexcept override
 
 BinaryOperation (const std::vector< std::shared_ptr< const jlm::rvsdg::Type >> operands, std::shared_ptr< const jlm::rvsdg::Type > result)
 
virtual binop_reduction_path_t can_reduce_operand_pair (const jlm::rvsdg::Output *op1, const jlm::rvsdg::Output *op2) const noexcept=0
 
virtual jlm::rvsdg::Outputreduce_operand_pair (binop_reduction_path_t path, jlm::rvsdg::Output *op1, jlm::rvsdg::Output *op2) const =0
 
virtual BinaryOperation::flags flags () const noexcept
 
bool is_associative () const noexcept
 
bool is_commutative () 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
 
virtual std::string debug_string () const =0
 
virtual std::unique_ptr< Operationcopy () const =0
 
bool operator!= (const Operation &other) const noexcept
 

Additional Inherited Members

- Public Types inherited from jlm::rvsdg::BinaryOperation
enum class  flags { none = 0 , associative = 1 , commutative = 2 }
 

Detailed Description

Represents an LLVM integer binary operation

Definition at line 68 of file IntegerOperations.hpp.

Constructor & Destructor Documentation

◆ ~IntegerBinaryOperation()

jlm::llvm::IntegerBinaryOperation::~IntegerBinaryOperation ( )
overridedefaultnoexcept

◆ IntegerBinaryOperation()

jlm::llvm::IntegerBinaryOperation::IntegerBinaryOperation ( const std::size_t  numArgumentBits,
const std::size_t  numResultBits 
)
inlinenoexcept

Definition at line 73 of file IntegerOperations.hpp.

Member Function Documentation

◆ Type()

const rvsdg::BitType& jlm::llvm::IntegerBinaryOperation::Type ( ) const
inlinenoexcept

Definition at line 82 of file IntegerOperations.hpp.


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