cprover
|
Base class of bitvector types. More...
#include <std_types.h>
Public Member Functions | |
bitvector_typet (const irep_idt &_id) | |
bitvector_typet (const irep_idt &_id, const typet &_subtype) | |
bitvector_typet (const irep_idt &_id, const typet &_subtype, std::size_t width) | |
bitvector_typet (const irep_idt &_id, std::size_t width) | |
std::size_t | get_width () const |
void | set_width (std::size_t width) |
![]() | |
type_with_subtypet () | |
type_with_subtypet (const irep_idt &_id) | |
type_with_subtypet (const irep_idt &_id, const typet &_subtype) | |
![]() | |
typet () | |
typet (const irep_idt &_id) | |
typet (const irep_idt &_id, const typet &_subtype) | |
const typet & | subtype () const |
typet & | subtype () |
subtypest & | subtypes () |
const subtypest & | subtypes () const |
bool | has_subtypes () const |
bool | has_subtype () const |
void | remove_subtype () |
void | move_to_subtypes (typet &type) |
void | copy_to_subtypes (const typet &type) |
const source_locationt & | source_location () const |
source_locationt & | add_source_location () |
typet & | add_type (const irep_namet &name) |
const typet & | find_type (const irep_namet &name) const |
![]() | |
bool | is_nil () const |
bool | is_not_nil () const |
irept (const irep_idt &_id) | |
irept () | |
irept (const irept &irep) | |
irept (irept &&irep) | |
irept & | operator= (const irept &irep) |
irept & | operator= (irept &&irep) |
~irept () | |
const irep_idt & | id () const |
const std::string & | id_string () const |
void | id (const irep_idt &_data) |
const irept & | find (const irep_namet &name) const |
irept & | add (const irep_namet &name) |
irept & | add (const irep_namet &name, const irept &irep) |
const std::string & | get_string (const irep_namet &name) const |
const irep_idt & | get (const irep_namet &name) const |
bool | get_bool (const irep_namet &name) const |
signed int | get_int (const irep_namet &name) const |
unsigned int | get_unsigned_int (const irep_namet &name) const |
std::size_t | get_size_t (const irep_namet &name) const |
long long | get_long_long (const irep_namet &name) const |
void | set (const irep_namet &name, const irep_idt &value) |
void | set (const irep_namet &name, const irept &irep) |
void | set (const irep_namet &name, const long long value) |
void | remove (const irep_namet &name) |
void | move_to_sub (irept &irep) |
void | move_to_named_sub (const irep_namet &name, irept &irep) |
bool | operator== (const irept &other) const |
bool | operator!= (const irept &other) const |
void | swap (irept &irep) |
bool | operator< (const irept &other) const |
defines ordering on the internal representation More... | |
bool | ordering (const irept &other) const |
defines ordering on the internal representation More... | |
int | compare (const irept &i) const |
defines ordering on the internal representation More... | |
void | clear () |
void | make_nil () |
subt & | get_sub () |
const subt & | get_sub () const |
named_subt & | get_named_sub () |
const named_subt & | get_named_sub () const |
named_subt & | get_comments () |
const named_subt & | get_comments () const |
std::size_t | hash () const |
std::size_t | full_hash () const |
bool | full_eq (const irept &other) const |
std::string | pretty (unsigned indent=0, unsigned max_indent=0) const |
const dt & | read () const |
dt & | write () |
Additional Inherited Members | |
![]() | |
typedef std::vector< typet > | subtypest |
![]() | |
typedef std::vector< irept > | subt |
typedef std::map< irep_namet, irept > | named_subt |
![]() | |
void | detach () |
![]() | |
static bool | is_comment (const irep_namet &name) |
static void | remove_ref (dt *old_data) |
static void | nonrecursive_destructor (dt *old_data) |
Does the same as remove_ref, but using an explicit stack instead of recursion. More... | |
![]() | |
dt * | data |
![]() | |
static dt | empty_d |
Base class of bitvector types.
Definition at line 1111 of file std_types.h.
|
inlineexplicit |
Definition at line 1114 of file std_types.h.
Definition at line 1118 of file std_types.h.
|
inline |
Definition at line 1123 of file std_types.h.
References set_width().
|
inline |
Definition at line 1132 of file std_types.h.
References set_width().
|
inline |
Definition at line 1138 of file std_types.h.
References irept::get_size_t().
Referenced by add_padding_gcc(), invariant_sett::add_type_bounds(), c_bit_field_replacement_type(), goto_checkt::conversion_check(), float_bvt::convert(), dump_ct::convert_compound(), smt2_convt::convert_expr(), smt2_convt::convert_floatbv_typecast(), boolbvt::convert_floatbv_typecast(), expr2ct::convert_rec(), smt2_convt::convert_type(), smt2_convt::convert_typecast(), value_set_dereferencet::dereference_type_compare(), pointer_typet::difference_type(), expr_initializert< nondet >::expr_initializer_rec(), fixedbv_spect::fixedbv_spect(), from_integer(), ieee_float_spect::from_type(), smt2_parsert::function_application(), floatbv_typet::get_e(), boolbv_widtht::get_entry(), fixedbv_typet::get_fraction_bits(), c_typecastt::implicit_typecast_arithmetic(), is_char_type(), string_abstractiont::is_char_type(), float_bvt::is_zero(), java_char_from_type(), join_types(), json(), unsignedbv_typet::largest(), signedbv_typet::largest(), max_printed_string_length(), c_typecastt::minimum_promotion(), pointer_offset_bits(), float_bvt::sign_bit(), simplify_exprt::simplify_extractbit(), simplify_exprt::simplify_typecast(), size_of_expr(), signedbv_typet::smallest(), c_typecheck_baset::typecheck_c_bit_field_type(), underlying_width(), validate_type(), and xml().
|
inline |
Definition at line 1143 of file std_types.h.
Referenced by bitvector_typet(), bv_typet::bv_typet(), c_bit_field_replacement_type(), fixedbvt::to_expr(), ieee_float_spect::to_type(), and c_typecheck_baset::typecheck_c_bit_field_type().