7 #ifndef RETDEC_LLVMIR2HLL_IR_NOT_OP_EXPR_H
8 #define RETDEC_LLVMIR2HLL_IR_NOT_OP_EXPR_H
A logical negation operator.
Definition: not_op_expr.h:27
virtual bool isEqualTo(ShPtr< Value > otherValue) const override
Returns true if this value is equal to otherValue, false otherwise.
Definition: not_op_expr.cpp:23
static ShPtr< NotOpExpr > create(ShPtr< Expression > op)
Creates a new logical negation operator.
Definition: not_op_expr.cpp:49
virtual void accept(Visitor *v) override
Visitor pattern implementation.
Definition: not_op_expr.cpp:61
virtual ShPtr< Type > getType() const override
Returns the type of the expression.
Definition: not_op_expr.cpp:36
virtual ShPtr< Value > clone() override
Returns a clone of the value.
Definition: not_op_expr.cpp:30
NotOpExpr(ShPtr< Expression > op)
Constructs a logical negation operator.
Definition: not_op_expr.cpp:20
A base class for all unary operators.
Definition: unary_op_expr.h:21
ShPtr< Expression > op
Operand.
Definition: unary_op_expr.h:42
A base class of all visitors.
Definition: visitor.h:95
A library providing API for working with back-end IR.
std::shared_ptr< T > ShPtr
An alias for a shared pointer.
Definition: smart_ptr.h:18
Definition: archive_wrapper.h:19
Declarations, aliases, macros, etc. for the use of smart pointers.
A base class for all unary operators.