12 #ifndef CPROVER_ANALYSES_VARIABLE_SENSITIVITY_CONSTANT_ABSTRACT_VALUE_H
13 #define CPROVER_ANALYSES_VARIABLE_SENSITIVITY_CONSTANT_ABSTRACT_VALUE_H
54 const std::vector<abstract_object_pointert> &operands,
79 std::dynamic_pointer_cast<const constant_abstract_valuet>(other);
80 return cast_other &&
value == cast_other->value;
std::shared_ptr< const T > sharing_ptrt
Merge is designed to allow different abstractions to be merged gracefully.
std::set< abstract_object_pointert > abstract_object_visitedt
sharing_ptrt< class abstract_objectt > abstract_object_pointert
Common behaviour for abstract objects modelling values - constants, intervals, etc.
std::shared_ptr< index_ranget > index_range_ptrt
typet t
To enforce copy-on-write these are private and have read-only accessors.
This is the basic interface of the abstract interpreter with default implementations of the core func...
abstract_object_pointert merge_constant_constant(const constant_abstract_value_pointert &other) const
Merges another constant abstract value into this one.
void output(std::ostream &out, const class ai_baset &ai, const class namespacet &ns) const override
sharing_ptrt< constant_abstract_valuet > constant_abstract_value_pointert
void get_statistics(abstract_object_statisticst &statistics, abstract_object_visitedt &visited, const abstract_environmentt &env, const namespacet &ns) const override
size_t internal_hash() const override
abstract_object_pointert expression_transform(const exprt &expr, const std::vector< abstract_object_pointert > &operands, const abstract_environmentt &environment, const namespacet &ns) const override
Interface for transforms.
~constant_abstract_valuet() override=default
constant_abstract_valuet(const typet &t)
CLONE abstract_object_pointert merge(abstract_object_pointert other) const override
Attempts to do a constant/constant merge if both are constants, otherwise falls back to the parent me...
index_range_ptrt index_range(const namespacet &ns) const override
exprt to_constant() const override
Converts to a constant expression if possible.
bool internal_equality(const abstract_object_pointert &other) const override
abstract_object_pointert try_transform_expr_with_all_rounding_modes(const exprt &expr, const abstract_environmentt &environment, const namespacet &ns) const
Base class for all expressions.
std::string pretty(unsigned indent=0, unsigned max_indent=0) const
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
The type of an expression, extends irept.
API to expression classes.