Go to the documentation of this file.
45 if(i_it->is_function_call())
60 for(std::size_t nr=0; nr<code_type.
parameters().size(); nr++)
64 if(p_identifier.
empty())
67 if(nr <
as_const(*i_it).call_arguments().size())
81 for(; count!=0; count--) i_it++;
#define Forall_goto_program_instructions(it, program)
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
static exprt conditional_cast(const exprt &expr, const typet &type)
typet type
Type of symbol.
void parameter_assignments(symbol_tablet &symbol_table, goto_functionst &goto_functions)
removes returns
targett add(instructiont &&instruction)
Adds a given instruction at the end.
Base class for all expressions.
void do_function_calls(goto_programt &goto_program)
turns x=f(...) into f(...); lhs=f::return_value;
void operator()(goto_functionst &goto_functions)
function_mapt function_map
Expression to hold a symbol (variable)
static instructiont make_assignment(const code_assignt &_code, const source_locationt &l=source_locationt::nil())
Create an assignment instruction.
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
typet & type()
Return the type of the expression.
bool lookup(const irep_idt &name, const symbolt *&symbol) const override
See documentation for namespace_baset::lookup().
const code_typet & to_code_type(const typet &type)
Cast a typet to a code_typet.
const T & as_const(T &value)
Return a reference to the same object but ensures the type is const.
#define PRECONDITION(CONDITION)
const irep_idt & get_identifier() const
class symbol_exprt symbol_expr() const
Produces a symbol_exprt for a symbol.
const symbol_exprt & to_symbol_expr(const exprt &expr)
Cast an exprt to a symbol_exprt.
const parameterst & parameters() const
instructionst instructions
The list of instructions in the goto program.
A collection of goto functions.
goto_functionst goto_functions
GOTO functions.
A generic container class for the GOTO intermediate representation of one function.
parameter_assignmentst(symbol_tablet &_symbol_table)
void insert_before_swap(targett target)
Insertion that preserves jumps to "target".
A goto_instruction_codet representing an assignment in the program.
symbol_tablet & symbol_table
const source_locationt & source_location() const
symbol_tablet symbol_table
Symbol table.