cprover
value_set_domain_fivrns.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Value Set Domain (Flow Insensitive, Validity Regions)
4 
5 Author: Daniel Kroening, kroening@kroening.com
6  CM Wintersteiger
7 
8 \*******************************************************************/
9 
12 
13 #ifndef CPROVER_POINTER_ANALYSIS_VALUE_SET_DOMAIN_FIVRNS_H
14 #define CPROVER_POINTER_ANALYSIS_VALUE_SET_DOMAIN_FIVRNS_H
15 
17 
18 #include "value_set_fivrns.h"
19 
22 {
23 public:
25 
26  // overloading
27 
28  virtual void output(
29  const namespacet &ns,
30  std::ostream &out) const
31  {
32  value_set.output(ns, out);
33  }
34 
35  virtual void initialize(
36  const namespacet &ns)
37  {
38  value_set.clear();
39  }
40 
41  virtual bool transform(
42  const namespacet &ns,
43  locationt from_l,
44  locationt to_l);
45 
46  virtual void get_reference_set(
47  const namespacet &ns,
48  const exprt &expr,
49  expr_sett &expr_set)
50  {
51  value_set.get_reference_set(expr, expr_set, ns);
52  }
53 
54  virtual void clear(void)
55  {
56  value_set.clear();
57  }
58 };
59 
60 #endif // CPROVER_POINTER_ANALYSIS_VALUE_SET_DOMAIN_FIVRNS_H
virtual void output(const namespacet &ns, std::ostream &out) const
void output(const namespacet &ns, std::ostream &out) const
std::unordered_set< exprt, irep_hash > expr_sett
virtual void initialize(const namespacet &ns)
TO_BE_DOCUMENTED.
Definition: namespace.h:74
Value Set (Flow Insensitive, Validity Regions)
virtual bool transform(const namespacet &ns, locationt from_l, locationt to_l)
Flow Insensitive Static Analysis.
Base class for all expressions.
Definition: expr.h:42
void get_reference_set(const exprt &expr, expr_sett &expr_set, const namespacet &ns) const
virtual void get_reference_set(const namespacet &ns, const exprt &expr, expr_sett &expr_set)