mirror of
https://github.com/Z3Prover/z3
synced 2025-08-21 02:30:23 +00:00
fix perf bugs in new value propagation
This commit is contained in:
parent
758c3b2c3b
commit
3ebbb8472a
2 changed files with 45 additions and 35 deletions
|
@ -22,6 +22,7 @@ Notes:
|
|||
|
||||
#include "ast/simplifiers/dependent_expr_state.h"
|
||||
#include "ast/rewriter/th_rewriter.h"
|
||||
#include "ast/shared_occs.h"
|
||||
|
||||
|
||||
class propagate_values : public dependent_expr_simplifier {
|
||||
|
@ -34,6 +35,11 @@ class propagate_values : public dependent_expr_simplifier {
|
|||
th_rewriter m_rewriter;
|
||||
stats m_stats;
|
||||
unsigned m_max_rounds = 4;
|
||||
shared_occs m_shared;
|
||||
expr_substitution m_subst;
|
||||
|
||||
void process_fml(unsigned i);
|
||||
void add_sub(dependent_expr const& de);
|
||||
|
||||
public:
|
||||
propagate_values(ast_manager& m, params_ref const& p, dependent_expr_state& fmls);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue