1 #ifndef __SYN_HPP_DEFINED__ 2 #define __SYN_HPP_DEFINED__ 42 int i = (int)op->
nArgs() - 2;
43 ILA_ASSERT(i >= 0,
"Choice has too few args!");
bool getChoiceBool(z3::model &m, const ChoiceExpr< T > *op, int i)
Definition: smt.hpp:111
std::unordered_map< const Node *, nptr_t, decltype(&nodeHash), decltype(&nodeEqual)> expr_map_t
Definition: synrewriter.hpp:15
Definition: synrewriter.hpp:10
void operator()(const Node *n)
z3::model & m
Definition: synrewriter.hpp:21
std::vector< nptr_t > nptr_vec_t
Definition: node.hpp:27
#define ILA_ASSERT(b, msg)
Definition: util.hpp:9
Definition: choice.hpp:47
SynRewriter(z3::model &m, Z3ExprAdapter &a)
boost::shared_ptr< Node > nptr_t
Definition: node.hpp:24
bool nodeEqual(const Node *left, const Node *right)
void getNewArgs(const Node *n, nptr_vec_t &args)
size_t nodeHash(const Node *n)
Definition: abstraction.hpp:21
virtual unsigned nArgs() const
Definition: choice.hpp:86
void _synChoiceExpr(const ChoiceExpr< T > *op)
Definition: synrewriter.hpp:41
Z3ExprAdapter & adapter
Definition: synrewriter.hpp:23
nptr_t rewrite(const Node *n)
expr_map_t exprmap
Definition: synrewriter.hpp:19