32 result.
name =
"integer";
37 result.
name =
"integer";
42 result.
name =
"float";
47 result.
name =
"integer";
52 result.
name =
"integer";
62 result.
name =
"fixed";
67 result.
name =
"pointer";
73 result.
name =
"boolean";
77 result.
name =
"array";
85 result.
name =
"vector";
93 result.
name =
"struct";
109 result.
name =
"union";
124 result.
name =
"unknown";
147 result.
name =
"integer";
151 const typet &underlying_type =
181 result.
name =
"integer";
196 result.
name =
"bitvector";
202 result.
name =
"fixed";
211 result.
name =
"float";
220 result.
name =
"pointer";
224 result.
data =
"NULL";
228 result.
name =
"boolean";
234 result.
name =
"unknown";
239 result.
name =
"array";
243 for(
const auto &op : expr.
operands())
253 result.
name =
"struct";
262 for(
unsigned m = 0; m < expr.
operands().size(); m++)
272 result.
name =
"union";
279 result.
name =
"unknown";
const bv_typet & to_bv_type(const typet &type)
Cast a typet to a bv_typet.
const fixedbv_typet & to_fixedbv_type(const typet &type)
Cast a typet to a fixedbv_typet.
const bitvector_typet & to_bitvector_type(const typet &type)
Cast a typet to a bitvector_typet.
const floatbv_typet & to_floatbv_type(const typet &type)
Cast a typet to a floatbv_typet.
const unsignedbv_typet & to_unsignedbv_type(const typet &type)
Cast a typet to an unsignedbv_typet.
const signedbv_typet & to_signedbv_type(const typet &type)
Cast a typet to a signedbv_typet.
const c_bit_field_typet & to_c_bit_field_type(const typet &type)
Cast a typet to a c_bit_field_typet.
const c_enum_typet & to_c_enum_type(const typet &type)
Cast a typet to a c_enum_typet.
const c_enum_tag_typet & to_c_enum_tag_type(const typet &type)
Cast a typet to a c_enum_tag_typet.
const union_typet & to_union_type(const typet &type)
Cast a typet to a union_typet.
const union_tag_typet & to_union_tag_type(const typet &type)
Cast a typet to a union_tag_typet.
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
struct configt::ansi_ct ansi_c
A constant literal expression.
Base class for all expressions.
bool is_constant() const
Return whether the expression is a constant.
typet & type()
Return the type of the expression.
std::string to_ansi_c_string() const
An IEEE 754 floating-point value, including specificiation.
std::string to_ansi_c_string() const
const irep_idt & id() const
const union_typet & follow_tag(const union_tag_typet &) const
Follow type tag of union type.
A namespacet is essentially one or two symbol tables bound together, to allow for symbol lookups in t...
Structure type, corresponds to C style structs.
std::vector< componentt > componentst
The type of an expression, extends irept.
Union constructor from single element.
xmlt & new_element(const std::string &key)
void set_attribute(const std::string &attribute, unsigned value)
const std::string & id2string(const irep_idt &d)
const std::string integer2string(const mp_integer &n, unsigned base)
const std::string integer2binary(const mp_integer &n, std::size_t width)
API to expression classes for Pointers.
const pointer_typet & to_pointer_type(const typet &type)
Cast a typet to a pointer_typet.
#define PRECONDITION(CONDITION)
auto component(T &struct_expr, const irep_idt &name, const namespacet &ns) -> decltype(struct_expr.op0())
const union_exprt & to_union_expr(const exprt &expr)
Cast an exprt to a union_exprt.
const constant_exprt & to_constant_expr(const exprt &expr)
Cast an exprt to a constant_exprt.
const vector_typet & to_vector_type(const typet &type)
Cast a typet to a vector_typet.
const struct_typet & to_struct_type(const typet &type)
Cast a typet to a struct_typet.
const struct_tag_typet & to_struct_tag_type(const typet &type)
Cast a typet to a struct_tag_typet.
const array_typet & to_array_type(const typet &type)
Cast a typet to an array_typet.
bool is_signed(const typet &t)
Convenience function – is the type signed?
xmlt xml(const typet &type, const namespacet &ns)