|
Jlm
|
#include <operators.hpp>


Static Public Member Functions | |
| static std::unique_ptr< llvm::ThreeAddressCode > | create (ICmpPredicate predicateKind, const Variable *op1, const Variable *op2) |
| static rvsdg::SimpleNode & | createNode (const ICmpPredicate kind, rvsdg::Output &operand1, rvsdg::Output &operand2) |
| static std::optional< std::vector< rvsdg::Output * > > | normalizeNullPointerComparison (const PtrCmpOperation &ptrCmpOperation, const std::vector< rvsdg::Output * > &operands) |
Private Attributes | |
| ICmpPredicate | predicate_ |
Additional Inherited Members | |
Public Types inherited from jlm::rvsdg::BinaryOperation | |
| enum class | flags { none = 0 , associative = 1 , commutative = 2 } |
Definition at line 410 of file operators.hpp.
|
overridedefaultnoexcept |
|
inline |
Definition at line 415 of file operators.hpp.
|
overridevirtualnoexcept |
Implements jlm::rvsdg::BinaryOperation.
Definition at line 261 of file operators.cpp.
|
overridevirtual |
Implements jlm::rvsdg::Operation.
Definition at line 255 of file operators.cpp.
|
inlinestatic |
Definition at line 446 of file operators.hpp.
|
inlinestatic |
Definition at line 457 of file operators.hpp.
|
overridevirtual |
Implements jlm::rvsdg::Operation.
Definition at line 249 of file operators.cpp.
|
static |
Checks if the comparison is between a ConstantPointerNullOperation and an allocation side guaranteed to never return a nullptr, and normalizes the PtrCmpOperation to an IntegerConstantOperation.
| ptrCmpOperation | The PtrCmpOperation on which the transformation is performed. |
| operands | The operands of the PtrCmpOperation node. |
Definition at line 318 of file operators.cpp.
|
overridenoexcept |
Definition at line 242 of file operators.cpp.
|
inlinenoexcept |
Definition at line 440 of file operators.hpp.
|
overridevirtual |
Implements jlm::rvsdg::BinaryOperation.
Definition at line 268 of file operators.cpp.
|
private |
Definition at line 482 of file operators.hpp.