Go to the documentation of this file.
18 if(type.
id()==ID_unsignedbv ||
19 type.
id()==ID_signedbv)
virtual bvt new_variables(std::size_t width)
generates a bitvector of given width with new variables
The type of an expression, extends irept.
std::vector< literalt > bvt
A base class for binary expressions.
bvt select(literalt s, const bvt &a, const bvt &b)
If s is true, selects a otherwise selects b.
static bvt shift(const bvt &op, const shiftt shift, std::size_t distance)
typet & type()
Return the type of the expression.
virtual std::size_t boolbv_width(const typet &type) const
virtual const bvt & convert_bv(const exprt &expr, const optionalt< std::size_t > expected_width={})
Convert expression to vector of literalts, using an internal cache to speed up conversion if availabl...
const irep_idt & id() const
static bvt build_constant(const mp_integer &i, std::size_t width)
bvt conversion_failed(const exprt &expr)
Print that the expression of x has failed conversion, then return a vector of x's width.
literalt equal(const bvt &op0, const bvt &op1)
Bit-blasting ID_equal and use in other encodings.
virtual bvt convert_power(const binary_exprt &expr)