21 for(bvt::const_iterator it=op.begin(); it!=op.end(); it++)
34 "should be a onehot0 expression as other onehot expression kind has been "
35 "handled in other branch");
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
virtual literalt convert_onehot(const unary_exprt &expr)
virtual const bvt & convert_bv(const exprt &expr, const optionalt< std::size_t > expected_width={})
Convert expression to vector of literalts, using an internal cache to speed up conversion if availabl...
const irep_idt & id() const
virtual literalt land(literalt a, literalt b)=0
virtual literalt lor(literalt a, literalt b)=0
Generic base class for unary expressions.
std::vector< literalt > bvt
literalt const_literal(bool value)
#define PRECONDITION(CONDITION)
#define INVARIANT(CONDITION, REASON)
This macro uses the wrapper function 'invariant_violated_string'.