3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

move parameters from ast/rewriter to params

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-08-29 11:11:16 -07:00
parent 507b4c7848
commit 11c90cc142
15 changed files with 15 additions and 16 deletions

View file

@ -41,11 +41,4 @@ z3_add_component(rewriter
params params
automata automata
polynomial polynomial
PYG_FILES
array_rewriter_params.pyg
bool_rewriter_params.pyg
fpa_rewriter_params.pyg
poly_rewriter_params.pyg
rewriter_params.pyg
seq_rewriter_params.pyg
) )

View file

@ -17,12 +17,12 @@ Notes:
--*/ --*/
#include "ast/rewriter/array_rewriter.h" #include "ast/rewriter/array_rewriter.h"
#include "ast/rewriter/array_rewriter_params.hpp"
#include "ast/ast_lt.h" #include "ast/ast_lt.h"
#include "ast/ast_util.h" #include "ast/ast_util.h"
#include "ast/ast_pp.h" #include "ast/ast_pp.h"
#include "ast/ast_ll_pp.h" #include "ast/ast_ll_pp.h"
#include "ast/rewriter/var_subst.h" #include "ast/rewriter/var_subst.h"
#include "params/array_rewriter_params.hpp"
void array_rewriter::updt_params(params_ref const & _p) { void array_rewriter::updt_params(params_ref const & _p) {
array_rewriter_params p(_p); array_rewriter_params p(_p);

View file

@ -17,7 +17,7 @@ Notes:
--*/ --*/
#include "ast/rewriter/bool_rewriter.h" #include "ast/rewriter/bool_rewriter.h"
#include "ast/rewriter/bool_rewriter_params.hpp" #include "params/bool_rewriter_params.hpp"
#include "ast/rewriter/rewriter_def.h" #include "ast/rewriter/rewriter_def.h"
#include "ast/ast_lt.h" #include "ast/ast_lt.h"
#include <algorithm> #include <algorithm>

View file

@ -17,7 +17,7 @@ Notes:
--*/ --*/
#include "ast/rewriter/fpa_rewriter.h" #include "ast/rewriter/fpa_rewriter.h"
#include "ast/rewriter/fpa_rewriter_params.hpp" #include "params/fpa_rewriter_params.hpp"
#include "ast/ast_smt2_pp.h" #include "ast/ast_smt2_pp.h"
fpa_rewriter::fpa_rewriter(ast_manager & m, params_ref const & p) : fpa_rewriter::fpa_rewriter(ast_manager & m, params_ref const & p) :

View file

@ -19,7 +19,7 @@ Notes:
#include "util/container_util.h" #include "util/container_util.h"
#include "ast/rewriter/poly_rewriter.h" #include "ast/rewriter/poly_rewriter.h"
#include "ast/rewriter/poly_rewriter_params.hpp" #include "params/poly_rewriter_params.hpp"
#include "params/arith_rewriter_params.hpp" #include "params/arith_rewriter_params.hpp"
#include "ast/ast_lt.h" #include "ast/ast_lt.h"
#include "ast/ast_ll_pp.h" #include "ast/ast_ll_pp.h"

View file

@ -27,7 +27,7 @@ Author:
#include "ast/well_sorted.h" #include "ast/well_sorted.h"
#include "ast/rewriter/var_subst.h" #include "ast/rewriter/var_subst.h"
#include "ast/rewriter/expr_safe_replace.h" #include "ast/rewriter/expr_safe_replace.h"
#include "ast/rewriter/seq_rewriter_params.hpp" #include "params/seq_rewriter_params.hpp"
#include "math/automata/automaton.h" #include "math/automata/automaton.h"
#include "math/automata/symbolic_automata_def.h" #include "math/automata/symbolic_automata_def.h"

View file

@ -16,8 +16,8 @@ Author:
Notes: Notes:
--*/ --*/
#include "params/rewriter_params.hpp"
#include "ast/rewriter/th_rewriter.h" #include "ast/rewriter/th_rewriter.h"
#include "ast/rewriter/rewriter_params.hpp"
#include "ast/rewriter/bool_rewriter.h" #include "ast/rewriter/bool_rewriter.h"
#include "ast/rewriter/arith_rewriter.h" #include "ast/rewriter/arith_rewriter.h"
#include "ast/rewriter/bv_rewriter.h" #include "ast/rewriter/bv_rewriter.h"

View file

@ -6,9 +6,15 @@ z3_add_component(params
util util
ast ast
PYG_FILES PYG_FILES
pattern_inference_params_helper.pyg
bv_rewriter_params.pyg
arith_rewriter_params.pyg arith_rewriter_params.pyg
array_rewriter_params.pyg
bool_rewriter_params.pyg
bv_rewriter_params.pyg
fpa_rewriter_params.pyg
pattern_inference_params_helper.pyg
poly_rewriter_params.pyg
rewriter_params.pyg
seq_rewriter_params.pyg
EXTRA_REGISTER_MODULE_HEADERS EXTRA_REGISTER_MODULE_HEADERS
context_params.h context_params.h
) )

View file

@ -16,10 +16,10 @@
--*/ --*/
#include "tactic/bv/bv_bound_chk_tactic.h" #include "tactic/bv/bv_bound_chk_tactic.h"
#include "ast/ast.h" #include "ast/ast.h"
#include "params/rewriter_params.hpp"
#include "ast/rewriter/rewriter.h" #include "ast/rewriter/rewriter.h"
#include "ast/rewriter/rewriter_def.h" #include "ast/rewriter/rewriter_def.h"
#include "ast/rewriter/bv_bounds.h" #include "ast/rewriter/bv_bounds.h"
#include "ast/rewriter/rewriter_params.hpp"
#include "ast/rewriter/bool_rewriter.h" #include "ast/rewriter/bool_rewriter.h"
struct bv_bound_chk_stats { struct bv_bound_chk_stats {