21 !operands.empty(),
"concatenation shall have at least one operand");
23 std::size_t offset=width;
27 for(
const auto &operand : operands)
33 "concatenation operand must fit into the result bitvector");
37 for(std::size_t i=0; i<op.size(); i++)
43 "all bits in the result bitvector must have been filled up by the "
44 "concatenation operands");
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...
virtual std::size_t boolbv_width(const typet &type) const
virtual bvt convert_concatenation(const concatenation_exprt &expr)
Concatenation of bit-vector operands.
std::vector< exprt > operandst
typet & type()
Return the type of the expression.
std::vector< literalt > bvt
#define DATA_INVARIANT(CONDITION, REASON)
This condition should be used to document that assumptions that are made on goto_functions,...