22 if(expr.
type().
id()==ID_vector)
24 if(expr.
id()==ID_plus || expr.
id()==ID_minus ||
25 expr.
id()==ID_mult || expr.
id()==ID_div ||
26 expr.
id()==ID_mod || expr.
id()==ID_bitxor ||
27 expr.
id()==ID_bitand || expr.
id()==ID_bitor)
29 else if(expr.
id()==ID_unary_minus || expr.
id()==ID_bitnot)
31 else if(expr.
id()==ID_vector)
47 if(type.
id()==ID_struct || type.
id()==ID_union)
52 for(struct_union_typet::componentst::const_iterator
59 else if(type.
id()==ID_pointer ||
60 type.
id()==ID_complex ||
63 else if(type.
id()==ID_vector)
80 if(expr.
type().
id()==ID_vector)
82 if(expr.
id()==ID_plus || expr.
id()==ID_minus ||
83 expr.
id()==ID_mult || expr.
id()==ID_div ||
84 expr.
id()==ID_mod || expr.
id()==ID_bitxor ||
85 expr.
id()==ID_bitand || expr.
id()==ID_bitor)
100 for(
unsigned i=0; i<array_expr.
operands().size(); i++)
111 else if(expr.
id()==ID_unary_minus || expr.
id()==ID_bitnot)
126 for(
unsigned i=0; i<array_expr.
operands().size(); i++)
136 else if(expr.
id()==ID_vector)
151 if(type.
id()==ID_struct || type.
id()==ID_union)
156 for(struct_union_typet::componentst::iterator
164 else if(type.
id()==ID_pointer ||
165 type.
id()==ID_complex ||
170 else if(type.
id()==ID_vector)
The type of an expression.
exprt value
Initial value of symbol.
const componentst & components() const
symbol_tablet symbol_table
Symbol table entry.This is a symbol in the symbol table, stored in an object of type symbol_tablet...
const struct_union_typet & to_struct_union_type(const typet &type)
Cast a generic typet to a struct_union_typet.
#define Forall_symbols(it, expr)
const irep_idt & id() const
const array_typet & to_array_type(const typet &type)
Cast a generic typet to an array_typet.
A generic base class for binary expressions.
static bool have_to_remove_vector(const typet &type)
A constant-size array type.
Generic base class for unary expressions.
const exprt & size() const
#define forall_operands(it, expr)
goto_function_templatet< goto_programt > goto_functiont
const source_locationt & source_location() const
typet type
Type of symbol.
Base type of C structs and unions, and C++ classes.
Base class for all expressions.
source_locationt & add_source_location()
#define Forall_goto_functions(it, functions)
#define Forall_operands(it, expr)
#define Forall_goto_program_instructions(it, program)
Remove the 'vector' data type by compilation into arrays.
std::size_t integer2size_t(const mp_integer &n)
const typet & subtype() const
const vector_typet & to_vector_type(const typet &type)
Cast a generic typet to a vector_typet.
goto_functionst goto_functions
static void remove_vector(typet &)
removes vector data type
array constructor from list of elements