12 #ifndef CPROVER_ANALYSES_INTERVAL_DOMAIN_H 13 #define CPROVER_ANALYSES_INTERVAL_DOMAIN_H 82 "If the domain is bottom the value maps must be empty");
99 return src.
id()==ID_signedbv || src.
id()==ID_unsignedbv;
104 return src.
id()==ID_floatbv;
114 typedef std::map<irep_idt, integer_intervalt>
int_mapt;
128 #endif // CPROVER_ANALYSES_INTERVAL_DOMAIN_H The type of an expression.
static bool is_float(const typet &src)
std::map< irep_idt, integer_intervalt > int_mapt
void havoc_rec(const exprt &)
interval_templatet< mp_integer > integer_intervalt
void assume(const exprt &, const namespacet &)
void make_top() final override
void transform(locationt from, locationt to, ai_baset &ai, const namespacet &ns) final override
void make_entry() final override
ieee_float_intervalt get_float_rec(const exprt &)
const irep_idt & id() const
std::map< irep_idt, ieee_float_intervalt > float_mapt
void output(std::ostream &out, const ai_baset &ai, const namespacet &ns) const override
void assign(const class code_assignt &assignment)
bool merge(const interval_domaint &b, locationt from, locationt to)
integer_intervalt get_int_rec(const exprt &)
interval_templatet< ieee_floatt > ieee_float_intervalt
void assume_rec(const exprt &, bool negation=false)
bool is_top() const override final
exprt make_expression(const symbol_exprt &) const
void make_bottom() final override
virtual bool ai_simplify(exprt &condition, const namespacet &ns) const override
Uses the abstract state to simplify a given expression using context- specific information.
bool join(const interval_domaint &b)
Sets *this to the mathematical join between the two domains.
Base class for all expressions.
goto_programt::const_targett locationt
Expression to hold a symbol (variable)
static bool is_int(const typet &src)
bool is_bottom() const override final
#define DATA_INVARIANT(CONDITION, REASON)