Go to the documentation of this file.
23 assert(!loop.empty());
26 std::map<unsigned, goto_programt::targett> loop_map;
31 loop_map[(*l_it)->location_number]=*l_it;
45 if(lhs.
id() == ID_symbol || lhs.
id() == ID_member || lhs.
id() == ID_index)
47 else if(lhs.
id()==ID_dereference)
50 for(
const auto &mod : local_may_alias.
get(t, ptr.
pointer))
53 if(mod.id() == ID_unknown)
63 else if(lhs.
id()==ID_if)
78 i_it=loop.begin(); i_it!=loop.end(); i_it++)
void get_assigns_lhs(const local_may_aliast &local_may_alias, goto_programt::const_targett t, const exprt &lhs, assignst &assigns)
const dereference_exprt & to_dereference_expr(const exprt &expr)
Cast an exprt to a dereference_exprt.
const if_exprt & to_if_expr(const exprt &expr)
Cast an exprt to an if_exprt.
Operator to dereference a pointer.
The trinary if-then-else operator.
The plus expression Associativity is not specified.
Base class for all expressions.
natural_loops_mutablet::natural_loopt loopt
typet & type()
Return the type of the expression.
loop_instructionst::const_iterator const_iterator
goto_programt::targett get_loop_exit(const loopt &loop)
const irep_idt & id() const
std::set< exprt > assignst
const exprt & call_lhs() const
Get the lhs of a FUNCTION_CALL (may be nil)
const exprt & assign_lhs() const
Get the lhs of the assignment for ASSIGN.
instructionst::const_iterator const_targett
Semantic type conversion.
bool is_function_call() const
std::set< exprt > get(const goto_programt::const_targett t, const exprt &src) const
This class represents an instruction in the GOTO intermediate representation.
instructionst::iterator targett
void get_assigns(const local_may_aliast &local_may_alias, const loopt &loop, assignst &assigns)
Thrown when an unexpected error occurs during the analysis (e.g., when the SAT solver returns an erro...