-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dae5f91
commit e10d054
Showing
18 changed files
with
117 additions
and
27 deletions.
There are no files selected for viewing
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,78 @@ | ||
#include <cassert> | ||
#include <iostream> | ||
#include <solvers/smt/smt_conv.h> | ||
#include <z3_slhv_conv.h> | ||
|
||
|
||
smt_convt *create_new_z3_slhv_solver( | ||
const optionst &options, | ||
const namespacet &ns | ||
) { | ||
z3_slhv_convt* conv = new z3_slhv_convt(ns, options); | ||
return conv; | ||
} | ||
|
||
z3_slhv_convt::z3_slhv_convt(const namespacet &_ns, const optionst& _options) : smt_convt(_ns, _options) { | ||
// initialize the z3 based slhv converter here | ||
} | ||
|
||
z3_slhv_convt::~z3_slhv_convt() { | ||
delete_all_asts(); | ||
} | ||
void z3_slhv_convt::push_ctx() { | ||
|
||
} | ||
|
||
void z3_slhv_convt::pop_ctx() { | ||
|
||
} | ||
|
||
void z3_slhv_convt::assert_ast(smt_astt a) { | ||
|
||
} | ||
|
||
smt_convt::resultt z3_slhv_convt::dec_solve() { | ||
return P_SMTLIB; | ||
} | ||
|
||
const std::string z3_slhv_convt::solver_text() { | ||
return "Z3-slhv"; | ||
} | ||
|
||
smt_astt z3_slhv_convt::mk_smt_int(const BigInt &theint) { | ||
|
||
} | ||
|
||
smt_astt z3_slhv_convt::mk_smt_real(const std::string &str) { | ||
|
||
} | ||
|
||
smt_astt z3_slhv_convt::mk_smt_bv(const BigInt &theint, smt_sortt s) { | ||
|
||
} | ||
smt_astt z3_slhv_convt::mk_smt_bool(bool val){ | ||
|
||
} | ||
smt_astt z3_slhv_convt::mk_smt_symbol(const std::string &name, smt_sortt s){ | ||
|
||
} | ||
smt_astt z3_slhv_convt::mk_extract(smt_astt a, unsigned int high, unsigned int low){ | ||
|
||
} | ||
smt_astt z3_slhv_convt::mk_sign_ext(smt_astt a, unsigned int topwidth){ | ||
|
||
} | ||
smt_astt z3_slhv_convt::mk_zero_ext(smt_astt a, unsigned int topwidth){ | ||
|
||
} | ||
smt_astt z3_slhv_convt::mk_concat(smt_astt a, smt_astt b){ | ||
|
||
} | ||
smt_astt z3_slhv_convt::mk_ite(smt_astt cond, smt_astt t, smt_astt f){ | ||
|
||
} | ||
bool z3_slhv_convt::get_bool(smt_astt a){ | ||
|
||
} | ||
BigInt z3_slhv_convt::get_bv(smt_astt a, bool is_signed){ | ||
|
||
} | ||
smt_astt z3_slhv_convt::overflow_arith(const expr2tc &expr){ | ||
|
||
} | ||
|
||
void z3_slhv_convt::dump_smt(){ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters