7 #ifndef RETDEC_LLVMIR2HLL_IR_EXPRESSION_H
8 #define RETDEC_LLVMIR2HLL_IR_EXPRESSION_H
A base class of all expressions.
Definition: expression.h:23
virtual ShPtr< Type > getType() const =0
Returns the type of the expression.
static void replaceExpression(ShPtr< Expression > oldExpr, ShPtr< Expression > newExpr)
Replaces oldExpr with newExpr.
Definition: expression.cpp:35
virtual void replace(ShPtr< Expression > oldExpr, ShPtr< Expression > newExpr)=0
Replaces all occurrences of oldExpr with newExpr in the current expression.
A base class of all objects a module can contain.
Definition: value.h:32
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 of all objects a module can contain.