mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
remove simplifier dependencies from cmakelist.txt files
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
f062e17037
commit
7dd28781ab
9 changed files with 25 additions and 23 deletions
|
@ -5,7 +5,7 @@ z3_add_component(fpa
|
|||
fpa2bv_rewriter.cpp
|
||||
COMPONENT_DEPENDENCIES
|
||||
ast
|
||||
simplifier
|
||||
rewriter
|
||||
model
|
||||
util
|
||||
PYG_FILES
|
||||
|
|
|
@ -5,5 +5,5 @@ z3_add_component(macros
|
|||
macro_util.cpp
|
||||
quasi_macros.cpp
|
||||
COMPONENT_DEPENDENCIES
|
||||
simplifier
|
||||
rewriter
|
||||
)
|
||||
|
|
|
@ -29,7 +29,7 @@ z3_add_component(pattern
|
|||
${CMAKE_CURRENT_BINARY_DIR}/database.h
|
||||
COMPONENT_DEPENDENCIES
|
||||
normal_forms
|
||||
simplifier
|
||||
rewriter
|
||||
smt2parser
|
||||
PYG_FILES
|
||||
pattern_inference_params_helper.pyg
|
||||
|
|
|
@ -89,6 +89,15 @@ bool smaller_pattern::operator()(unsigned num_bindings, expr * p1, expr * p2) {
|
|||
return process(p1, p2);
|
||||
}
|
||||
|
||||
|
||||
#ifdef _TRACE
|
||||
static void dump_app_vector(std::ostream & out, ptr_vector<app> const & v, ast_manager & m) {
|
||||
for (app * e : v)
|
||||
out << mk_pp(e, m) << "\n";
|
||||
}
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
pattern_inference_old::pattern_inference_old(ast_manager & m, pattern_inference_params & params):
|
||||
simplifier(m),
|
||||
m_params(params),
|
||||
|
@ -470,12 +479,6 @@ void pattern_inference_old::reset_pre_patterns() {
|
|||
m_pre_patterns.reset();
|
||||
}
|
||||
|
||||
#ifdef _TRACE
|
||||
static void dump_app_vector(std::ostream & out, ptr_vector<app> const & v, ast_manager & m) {
|
||||
for (app * e : v)
|
||||
out << mk_pp(e, m) << "\n";
|
||||
}
|
||||
#endif
|
||||
|
||||
bool pattern_inference_old::is_forbidden(app * n) const {
|
||||
func_decl const * decl = n->get_decl();
|
||||
|
@ -567,7 +570,6 @@ void pattern_inference_old::mk_patterns(unsigned num_bindings,
|
|||
m_candidates.reset();
|
||||
}
|
||||
|
||||
#include "ast/pattern/database.h"
|
||||
|
||||
void pattern_inference_old::reduce1_quantifier(quantifier * q) {
|
||||
TRACE("pattern_inference", tout << "processing:\n" << mk_pp(q, m) << "\n";);
|
||||
|
@ -729,6 +731,9 @@ void pattern_inference_old::reduce1_quantifier(quantifier * q) {
|
|||
cache_result(q, new_q, pr);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#include "ast/pattern/database.h"
|
||||
|
||||
|
||||
pattern_inference_cfg::pattern_inference_cfg(ast_manager & m, pattern_inference_params & params):
|
||||
|
|
|
@ -61,6 +61,7 @@ public:
|
|||
bool operator()(unsigned num_bindings, expr * p1, expr * p2);
|
||||
};
|
||||
|
||||
#if 0
|
||||
class pattern_inference_old : public simplifier {
|
||||
pattern_inference_params & m_params;
|
||||
family_id m_bfid;
|
||||
|
@ -244,6 +245,7 @@ public:
|
|||
|
||||
bool is_forbidden(app * n) const;
|
||||
};
|
||||
#endif
|
||||
|
||||
class pattern_inference_cfg : public default_rewriter_cfg {
|
||||
ast_manager& m;
|
||||
|
|
|
@ -4,5 +4,4 @@ z3_add_component(bit_blaster
|
|||
bit_blaster_rewriter.cpp
|
||||
COMPONENT_DEPENDENCIES
|
||||
rewriter
|
||||
simplifier
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue