mirror of
https://github.com/Z3Prover/z3
synced 2025-08-03 01:40:22 +00:00
Added facilities for dumping smt_params for debugging purposes
This commit is contained in:
parent
fad1dffbf0
commit
8bde7b8a4c
24 changed files with 300 additions and 2 deletions
|
@ -24,3 +24,10 @@ void arith_simplifier_params::updt_params(params_ref const & _p) {
|
|||
m_arith_expand_eqs = p.arith_expand_eqs();
|
||||
m_arith_process_all_eqs = p.arith_process_all_eqs();
|
||||
}
|
||||
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << std::endl;
|
||||
|
||||
void arith_simplifier_params::display(std::ostream & out) const {
|
||||
DISPLAY_PARAM(m_arith_expand_eqs);
|
||||
DISPLAY_PARAM(m_arith_process_all_eqs);
|
||||
}
|
|
@ -30,6 +30,8 @@ struct arith_simplifier_params {
|
|||
}
|
||||
|
||||
void updt_params(params_ref const & _p);
|
||||
|
||||
void display(std::ostream & out) const;
|
||||
};
|
||||
|
||||
#endif /* ARITH_SIMPLIFIER_PARAMS_H_ */
|
||||
|
|
|
@ -27,3 +27,10 @@ void bv_simplifier_params::updt_params(params_ref const & _p) {
|
|||
m_bv2int_distribute = p.bv_bv2int_distribute();
|
||||
|
||||
}
|
||||
|
||||
#define DISPLAY_PARAM(X) out << #X"=" << X << std::endl;
|
||||
|
||||
void bv_simplifier_params::display(std::ostream & out) const {
|
||||
DISPLAY_PARAM(m_hi_div0);
|
||||
DISPLAY_PARAM(m_bv2int_distribute);
|
||||
}
|
|
@ -30,6 +30,8 @@ struct bv_simplifier_params {
|
|||
}
|
||||
|
||||
void updt_params(params_ref const & _p);
|
||||
|
||||
void display(std::ostream & out) const;
|
||||
};
|
||||
|
||||
#endif /* BV_SIMPLIFIER_PARAMS_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue