21 std::reverse(bv.begin(), bv.end());
API to expression classes for bitvectors.
Reverse the order of bits in a bit-vector.
virtual const bvt & convert_bv(const exprt &expr, const optionalt< std::size_t > expected_width=nullopt)
Convert expression to vector of literalts, using an internal cache to speed up conversion if availabl...
bvt conversion_failed(const exprt &expr)
Print that the expression of x has failed conversion, then return a vector of x's width.
virtual std::size_t boolbv_width(const typet &type) const
virtual bvt convert_bitreverse(const bitreverse_exprt &expr)
typet & type()
Return the type of the expression.
std::vector< literalt > bvt