36 if(type.
id()==ID_unsignedbv)
38 else if(type.
id()==ID_signedbv)
Pre-defined bitvector types.
const bitvector_typet & to_bitvector_type(const typet &type)
Cast a typet to a bitvector_typet.
std::size_t get_width() const
bool operator==(const bv_arithmetict &other)
bool operator>=(const bv_arithmetict &other)
bool operator<(const bv_arithmetict &other)
void change_spec(const bv_spect &dest_spec)
constant_exprt to_expr() const
void from_integer(const mp_integer &i)
bv_arithmetict & operator*=(const bv_arithmetict &other)
bool operator<=(const bv_arithmetict &other)
void print(std::ostream &out) const
std::string format(const format_spect &format_spec) const
bv_arithmetict & operator+=(const bv_arithmetict &other)
bool operator!=(const bv_arithmetict &other)
void from_expr(const constant_exprt &expr)
bv_arithmetict & operator%=(const bv_arithmetict &other)
bv_arithmetict & operator-=(const bv_arithmetict &other)
std::string to_ansi_c_string() const
bv_arithmetict & operator/=(const bv_arithmetict &other)
bool operator>(const bv_arithmetict &other)
void from_type(const typet &type)
mp_integer min_value() const
mp_integer max_value() const
A constant literal expression.
const irep_idt & get_value() const
typet & type()
Return the type of the expression.
const irep_idt & id() const
Fixed-width bit-vector with two's complement interpretation.
The type of an expression, extends irept.
Fixed-width bit-vector with unsigned binary interpretation.
const std::string integer2string(const mp_integer &n, unsigned base)
#define UNREACHABLE
This should be used to mark dead code.
#define PRECONDITION(CONDITION)
API to expression classes.