CBMC
boolbv_update_bit.cpp
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module:
4 
5 Author: Daniel Kroening, dkr@amazon.com
6 
7 \*******************************************************************/
8 
9 #include <util/bitvector_expr.h>
10 
11 #include "boolbv.h"
12 
14 {
15  return convert_bv(expr.lower());
16 }
API to expression classes for bitvectors.
virtual const bvt & convert_bv(const exprt &expr, const std::optional< std::size_t > expected_width={})
Convert expression to vector of literalts, using an internal cache to speed up conversion if availabl...
Definition: boolbv.cpp:37
virtual bvt convert_update_bit(const update_bit_exprt &)
Replaces a sub-range of a bit-vector operand.
exprt lower() const
A lowering to masking, shifting, or.
std::vector< literalt > bvt
Definition: literal.h:201