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

#include <IntegerOperations.hpp>

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

Public Member Functions

 ~IntegerSgtOperation () noexcept override
 
 IntegerSgtOperation (const std::size_t numBits)
 
bool operator== (const Operation &other) const noexcept override
 
std::string debug_string () const override
 
std::unique_ptr< Operation > copy () const override
 
rvsdg::binop_reduction_path_t can_reduce_operand_pair (const rvsdg::Output *op1, const rvsdg::Output *op2) const noexcept override
 
rvsdg::Outputreduce_operand_pair (rvsdg::binop_reduction_path_t path, rvsdg::Output *op1, rvsdg::Output *op2) const override
 
enum flags flags () const noexcept override
 
- Public Member Functions inherited from jlm::llvm::IntegerBinaryOperation
 ~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)
 
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
 
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

This operation is equivalent to LLVM's 'icmp' instruction with condition 'sgt' for integer operands. See LLVM Language Reference Manual for more details.

Definition at line 653 of file IntegerOperations.hpp.

Constructor & Destructor Documentation

◆ ~IntegerSgtOperation()

jlm::llvm::IntegerSgtOperation::~IntegerSgtOperation ( )
overridedefaultnoexcept

◆ IntegerSgtOperation()

jlm::llvm::IntegerSgtOperation::IntegerSgtOperation ( const std::size_t  numBits)
inlineexplicit

Definition at line 658 of file IntegerOperations.hpp.

Member Function Documentation

◆ can_reduce_operand_pair()

rvsdg::binop_reduction_path_t jlm::llvm::IntegerSgtOperation::can_reduce_operand_pair ( const rvsdg::Output op1,
const rvsdg::Output op2 
) const
overridevirtualnoexcept

Implements jlm::rvsdg::BinaryOperation.

Definition at line 747 of file IntegerOperations.cpp.

◆ copy()

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

Implements jlm::rvsdg::Operation.

Definition at line 741 of file IntegerOperations.cpp.

◆ debug_string()

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

Implements jlm::rvsdg::Operation.

Definition at line 735 of file IntegerOperations.cpp.

◆ flags()

Reimplemented from jlm::rvsdg::BinaryOperation.

Definition at line 754 of file IntegerOperations.cpp.

◆ operator==()

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

Definition at line 728 of file IntegerOperations.cpp.

◆ reduce_operand_pair()

rvsdg::Output * jlm::llvm::IntegerSgtOperation::reduce_operand_pair ( rvsdg::binop_reduction_path_t  path,
rvsdg::Output op1,
rvsdg::Output op2 
) const
overridevirtual

Implements jlm::rvsdg::BinaryOperation.

Definition at line 754 of file IntegerOperations.cpp.


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