|
Jlm
|
#include <IntegerOperations.hpp>


Static Public Member Functions | |
| static rvsdg::Node & | createNode (const size_t numBits, rvsdg::Output &operand1, rvsdg::Output &operand2) |
| static std::optional< std::vector< rvsdg::Output * > > | foldConstants (const IntegerSgeOperation &operation, const std::vector< rvsdg::Output * > &operands) |
| static std::optional< std::vector< rvsdg::Output * > > | normalizeIdenticalOperands (const IntegerSgeOperation &operation, const std::vector< rvsdg::Output * > &operands) |
Additional Inherited Members | |
Public Types inherited from jlm::rvsdg::BinaryOperation | |
| enum class | flags { none = 0 , associative = 1 , commutative = 2 } |
This operation is equivalent to LLVM's 'icmp' instruction with condition 'sge' for integer operands. See LLVM Language Reference Manual for more details.
Definition at line 1002 of file IntegerOperations.hpp.
|
overridedefaultnoexcept |
|
inlineexplicit |
Definition at line 1007 of file IntegerOperations.hpp.
|
overridevirtualnoexcept |
Implements jlm::rvsdg::BinaryOperation.
Definition at line 1002 of file IntegerOperations.cpp.
|
overridevirtual |
Implements jlm::rvsdg::Operation.
Definition at line 996 of file IntegerOperations.cpp.
|
inlinestatic |
Definition at line 1032 of file IntegerOperations.hpp.
|
overridevirtual |
Implements jlm::rvsdg::Operation.
Definition at line 990 of file IntegerOperations.cpp.
|
overridevirtualnoexcept |
Reimplemented from jlm::rvsdg::BinaryOperation.
Definition at line 1018 of file IntegerOperations.cpp.
|
static |
Performs constant folding by statically evaluating the two constant operands and replacing the operations result with the resulting constant.
| operation | The IntegerSgeOperation on which the transformation is performed. |
| operands | The operands of the IntegerSgeOperation node. |
Definition at line 1024 of file IntegerOperations.cpp.
|
static |
Performs the following normalization: y = IntegerSgeOperation x x => y = 1
| operation | The IntegerSgeOperation on which the transformation is performed. |
| operands | The operands of the IntegerSgeOperation node. |
Definition at line 1032 of file IntegerOperations.cpp.
|
overridenoexcept |
Definition at line 983 of file IntegerOperations.cpp.
|
overridevirtual |
Implements jlm::rvsdg::BinaryOperation.
Definition at line 1009 of file IntegerOperations.cpp.