Go to the documentation of this file.
28 if(it->type().id()==ID_pointer)
34 else if(src.
id()==ID_minus)
37 read(minus_src.op0());
39 minus_src.op1(), minus_src.op1().type());
42 else if(src.
id()==ID_address_of)
45 if(address_of_src.op().id() == ID_index)
55 auto new_address_of_src = address_of_src;
void copy_to_operands(const exprt &expr)
Copy the given argument to the end of exprt's operands.
static exprt conditional_cast(const exprt &expr, const typet &type)
const index_exprt & to_index_expr(const exprt &expr)
Cast an exprt to an index_exprt.
The plus expression Associativity is not specified.
Base class for all expressions.
const minus_exprt & to_minus_expr(const exprt &expr)
Cast an exprt to a minus_exprt.
typet & type()
Return the type of the expression.
void add_to_offset(const exprt &src)
#define forall_operands(it, expr)
The unary minus expression.
void read(const exprt &src)
const irep_idt & id() const
bool is_zero() const
Return whether the expression is a constant representing 0.
void make_pointer(const exprt &src)
const address_of_exprt & to_address_of_expr(const exprt &expr)
Cast an exprt to an address_of_exprt.
pointer_arithmetict(const exprt &src)