23 assert(!loop.empty());
26 std::map<unsigned, goto_programt::targett> loop_map;
31 loop_map[(*l_it)->location_number]=*l_it;
46 if(lhs.
id() == ID_symbol || lhs.
id() == ID_member || lhs.
id() == ID_index)
48 else if(lhs.
id()==ID_dereference)
51 for(
const auto &mod : local_may_alias.
get(t, ptr.
pointer))
59 else if(lhs.
id()==ID_if)
74 i_it=loop.begin(); i_it!=loop.end(); i_it++)
Operator to dereference a pointer.
Base class for all expressions.
This class represents an instruction in the GOTO intermediate representation.
const exprt & call_lhs() const
Get the lhs of a FUNCTION_CALL (may be nil)
bool is_function_call() const
const code_assignt & get_assign() const
Get the assignment for ASSIGN.
instructionst::iterator targett
instructionst::const_iterator const_targett
The trinary if-then-else operator.
const irep_idt & id() const
std::set< exprt > get(const goto_programt::const_targett t, const exprt &src) const
loop_instructionst::const_iterator const_iterator
The plus expression Associativity is not specified.
std::set< exprt > modifiest
Field-insensitive, location-sensitive may-alias analysis.
void get_modifies(const local_may_aliast &local_may_alias, const loopt &loop, modifiest &modifies)
goto_programt::targett get_loop_exit(const loopt &loop)
void get_modifies_lhs(const local_may_aliast &local_may_alias, goto_programt::const_targett t, const exprt &lhs, modifiest &modifies)
Helper functions for k-induction and loop invariants.
natural_loops_mutablet::natural_loopt loopt
API to expression classes for Pointers.
const dereference_exprt & to_dereference_expr(const exprt &expr)
Cast an exprt to a dereference_exprt.
API to expression classes.
const if_exprt & to_if_expr(const exprt &expr)
Cast an exprt to an if_exprt.