Go to the documentation of this file.
44 const exprt &
function,
47 if(
function.
id() == ID_symbol)
51 function_mapt::const_iterator fm_it =
function_map.find(identifier);
56 assigns.insert(fm_it->second.begin(), fm_it->second.end());
60 goto_functionst::function_mapt::const_iterator f_it =
73 else if(
function.
id() == ID_if)
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
void get_assigns_lhs(const local_may_aliast &local_may_alias, goto_programt::const_targett t, const exprt &lhs, assignst &assigns)
const if_exprt & to_if_expr(const exprt &expr)
Cast an exprt to an if_exprt.
Base class for all expressions.
function_mapt function_map
void get_assigns_function(const exprt &, assignst &)
const goto_functionst & goto_functions
const irep_idt & get_identifier() const
const symbol_exprt & to_symbol_expr(const exprt &expr)
Cast an exprt to a symbol_exprt.
const exprt & call_lhs() const
Get the lhs of a FUNCTION_CALL (may be nil)
function_mapt function_map
std::set< exprt > assignst
const exprt & assign_lhs() const
Get the lhs of the assignment for ASSIGN.
A generic container class for the GOTO intermediate representation of one function.
instructionst::const_iterator const_targett
bool is_function_call() const
void get_assigns(const local_may_aliast &local_may_alias, const goto_programt::const_targett, assignst &)
This class represents an instruction in the GOTO intermediate representation.
const exprt & call_function() const
Get the function that is called for FUNCTION_CALL.
#define forall_goto_program_instructions(it, program)