3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-10 13:10:50 +00:00

count internal nodes, use to block expanding use of hoist, #6683

This commit is contained in:
Nikolaj Bjorner 2023-04-12 19:40:19 -07:00
parent 444238bc53
commit e8222433c3
3 changed files with 63 additions and 2 deletions

View file

@ -163,6 +163,8 @@ struct for_each_expr_proc : public EscapeProc {
unsigned get_num_exprs(expr * n);
unsigned get_num_exprs(expr * n, expr_mark & visited);
unsigned get_num_exprs(expr * n, expr_fast_mark1 & visited);
unsigned get_num_internal_exprs(expr * n);
unsigned get_num_internal_exprs(unsigned sz, expr * const * args);
bool has_skolem_functions(expr * n);