19 expr.
type().
id() ==
ID_array,
"array_of expression shall have array type");
48 *size *
tmp.size() == width,
49 "total array bit width shall equal the number of elements times the "
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Array constructor from single element.
const array_typet & type() const
bool is_unbounded_array(const typet &type) const override
virtual const bvt & convert_bv(const exprt &expr, const optionalt< std::size_t > expected_width=nullopt)
Convert expression to vector of literalts, using an internal cache to speed up conversion if availabl...
virtual bvt convert_array_of(const array_of_exprt &expr)
Flatten arrays constructed from a single element.
bvt conversion_failed(const exprt &expr)
Print that the expression of x has failed conversion, then return a vector of x's width.
virtual std::size_t boolbv_width(const typet &type) const
Base class for all expressions.
const irep_idt & id() const
std::vector< literalt > bvt
#define DATA_INVARIANT(CONDITION, REASON)
This condition should be used to document that assumptions that are made on goto_functions,...
#define INVARIANT(CONDITION, REASON)
This macro uses the wrapper function 'invariant_violated_string'.