Go to the documentation of this file.
24 !operands.empty(),
"concatentation shall have at least one operand");
26 std::size_t offset=width;
30 for(
const auto &operand : operands)
36 "concatentation operand must fit into the result bitvector");
40 for(std::size_t i=0; i<op.size(); i++)
46 "all bits in the result bitvector must have been filled up by the "
47 "concatentation operands");
std::vector< literalt > bvt
Concatenation of bit-vector operands.
virtual bvt convert_concatenation(const concatenation_exprt &expr)
typet & type()
Return the type of the expression.
#define DATA_INVARIANT(CONDITION, REASON)
This condition should be used to document that assumptions that are made on goto_functions,...
virtual std::size_t boolbv_width(const typet &type) const
std::vector< exprt > operandst
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.
#define INVARIANT(CONDITION, REASON)
This macro uses the wrapper function 'invariant_violated_string'.
API to expression classes for bitvectors.