27 op.size() *
u_times == bv.size(),
28 "result bitvector width shall be equal to the operand bitvector width times"
29 "the number of replications");
33 for(std::size_t i = 0; i <
u_times; i++)
35 for(
const auto &
bit : op)
API to expression classes for bitvectors.
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
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...
virtual std::size_t boolbv_width(const typet &type) const
virtual bvt convert_replication(const replication_exprt &expr)
typet & type()
Return the type of the expression.
std::vector< literalt > bvt
#define INVARIANT(CONDITION, REASON)
This macro uses the wrapper function 'invariant_violated_string'.