CBMC
Loading...
Searching...
No Matches
goto_convert_functions.h
Go to the documentation of this file.
1/*******************************************************************\
2
3Module: Goto Programs with Functions
4
5Author: Daniel Kroening
6
7Date: June 2003
8
9\*******************************************************************/
10
13
14#ifndef CPROVER_GOTO_PROGRAMS_GOTO_CONVERT_FUNCTIONS_H
15#define CPROVER_GOTO_PROGRAMS_GOTO_CONVERT_FUNCTIONS_H
16
17#include "goto_convert_class.h"
18
20
21class goto_modelt;
22
23// convert it all!
24void goto_convert(
26 goto_functionst &functions,
28
29// convert it all!
31
32// just convert a specific function
33void goto_convert(
34 const irep_idt &identifier,
36 goto_functionst &functions,
38
40{
41public:
42 void goto_convert(goto_functionst &functions);
44 const irep_idt &identifier,
46
50
52
53protected:
54 static bool hide(const goto_programt &);
55
56 //
57 // function calls
58 //
59 void add_return(
61 const typet &return_type,
62 const source_locationt &);
63};
64
65#endif // CPROVER_GOTO_PROGRAMS_GOTO_CONVERT_FUNCTIONS_H
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Definition ai.h:562
dstringt has one field, an unsigned integer no which is an index into a static table of strings.
Definition dstring.h:38
void add_return(goto_functionst::goto_functiont &, const typet &return_type, const source_locationt &)
void goto_convert(goto_functionst &functions)
void convert_function(const irep_idt &identifier, goto_functionst::goto_functiont &result)
static bool hide(const goto_programt &)
A collection of goto functions.
::goto_functiont goto_functiont
symbol_tablet symbol_table
Symbol table.
Definition goto_model.h:31
A generic container class for the GOTO intermediate representation of one function.
mstreamt & result() const
Definition message.h:401
The symbol table base class interface.
The type of an expression, extends irept.
Definition type.h:29
Program Transformation.
void goto_convert(symbol_table_baset &symbol_table, goto_functionst &functions, message_handlert &)
Goto Programs with Functions.