cprover
goto_rw.h File Reference
#include <iosfwd>
#include <limits>
#include <map>
#include <memory>
#include <util/guard.h>
#include <goto-programs/goto_model.h>
Include dependency graph for goto_rw.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  range_domain_baset
 
class  range_domaint
 
class  rw_range_sett
 
class  rw_range_set_value_sett
 
class  guarded_range_domaint
 
class  rw_guarded_range_set_value_sett
 

Macros

#define forall_rw_range_set_r_objects(it, rw_set)
 
#define forall_rw_range_set_w_objects(it, rw_set)
 

Typedefs

typedef int range_spect
 

Functions

void goto_rw (goto_programt::const_targett target, rw_range_sett &rw_set)
 
void goto_rw (const goto_programt &, rw_range_sett &rw_set)
 
void goto_rw (const goto_functionst &, const irep_idt &function, rw_range_sett &rw_set)
 
range_spect to_range_spect (const mp_integer &size)
 
std::ostream & operator<< (std::ostream &out, const rw_range_sett &rw_set)
 

Macro Definition Documentation

◆ forall_rw_range_set_r_objects

#define forall_rw_range_set_r_objects (   it,
  rw_set 
)
Value:
for(rw_range_sett::objectst::const_iterator it=(rw_set).get_r_set().begin(); \
it!=(rw_set).get_r_set().end(); ++it)

Definition at line 24 of file goto_rw.h.

Referenced by dep_graph_domaint::data_dependencies(), and rw_range_sett::output().

◆ forall_rw_range_set_w_objects

#define forall_rw_range_set_w_objects (   it,
  rw_set 
)
Value:
for(rw_range_sett::objectst::const_iterator it=(rw_set).get_w_set().begin(); \
it!=(rw_set).get_w_set().end(); ++it)

Definition at line 28 of file goto_rw.h.

Referenced by rw_range_sett::output(), rd_range_domaint::transform(), and rd_range_domaint::transform_assign().

Typedef Documentation

◆ range_spect

typedef int range_spect

Definition at line 61 of file goto_rw.h.

Function Documentation

◆ goto_rw() [1/3]

◆ goto_rw() [2/3]

void goto_rw ( const goto_programt ,
rw_range_sett rw_set 
)

Definition at line 793 of file goto_rw.cpp.

References forall_goto_program_instructions, goto_program, and goto_rw().

◆ goto_rw() [3/3]

void goto_rw ( const goto_functionst ,
const irep_idt function,
rw_range_sett rw_set 
)

Definition at line 799 of file goto_rw.cpp.

References goto_functionst::function_map, and goto_rw().

◆ operator<<()

std::ostream& operator<< ( std::ostream &  out,
const rw_range_sett rw_set 
)
inline

Definition at line 241 of file goto_rw.h.

References rw_range_sett::output().

◆ to_range_spect()