├── .gitignore ├── LICENSE ├── Makefile ├── README.md ├── bitcode ├── exponentiation.ll ├── exponentiation.smt ├── exponentiation_auto3.ll ├── exponentiation_auto3.smt ├── exponentiation_auto3_fixed_by_hand.smt ├── exponentiation_fixed_by_hand.smt ├── http_examples.darwin.ll ├── http_examples.i386.ll ├── https_examples.darwin.ll ├── https_examples.i386.ll ├── int2ptr_by_hand.smt ├── int_powers.ll ├── minigzip-3.5.ll ├── minisat.darwin.ll ├── packed_structs.ll ├── packed_structs2.ll ├── primes_opt_auto10.ll ├── primes_opt_auto2.ll ├── primes_opt_auto3.ll ├── primes_opt_auto4.ll ├── rot13.ll ├── rot13_with_assertion.smt ├── structs.i386.ll ├── structs.ll ├── structs2.ll ├── sums_auto10.ll ├── sums_auto3.ll ├── sums_unroll3_fixed_by_hand.ll ├── sums_unroll3_fixed_by_hand.smt ├── switch.ll ├── yices_main-3.5.ll ├── yices_main.darwin.ll └── yices_main.ll ├── examples ├── distributivity │ ├── Makefile │ └── distrib.c ├── exponentiation │ ├── Makefile │ └── exponentiation.c ├── harness │ ├── Makefile │ └── harness.c ├── int2ptr │ ├── Makefile │ ├── int2ptr.c │ ├── int2ptr.ll │ └── ptr2bool.c ├── primes │ ├── Makefile │ └── primes.c ├── rot13 │ ├── Makefile │ ├── rot13.c │ └── rot13.ll ├── structs │ ├── Makefile │ ├── structs.c │ └── structs2.c ├── sums │ ├── Makefile │ └── sums.c └── switch │ ├── Makefile │ └── switch.c ├── src ├── Makefile ├── bc.ml ├── bc_manip.ml ├── bc_manip.mli ├── bc_pp.ml ├── bc_pp.mli ├── dl.ml ├── dl.mli ├── dltest.ml ├── lllex.mll ├── llparse.mly ├── llvm.ml ├── llvm2smt.ml ├── llvm_parser.ml ├── llvm_parser.mli ├── llvm_pp.ml ├── llvm_pp.mli ├── parse.ml ├── prelude.ml ├── prelude.mli ├── rawparse.ml ├── smt.ml ├── smt.mli ├── util.ml └── util.mli └── tests ├── shufflevector ├── Makefile ├── shufflevector.ll └── shufflevector.smt ├── vadd ├── Makefile ├── vadd.ll └── vadd.smt └── vtrunc ├── Makefile ├── vtrunc.ll └── vtrunc.smt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/README.md -------------------------------------------------------------------------------- /bitcode/exponentiation.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/exponentiation.ll -------------------------------------------------------------------------------- /bitcode/exponentiation.smt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/exponentiation.smt -------------------------------------------------------------------------------- /bitcode/exponentiation_auto3.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/exponentiation_auto3.ll -------------------------------------------------------------------------------- /bitcode/exponentiation_auto3.smt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/exponentiation_auto3.smt -------------------------------------------------------------------------------- /bitcode/exponentiation_auto3_fixed_by_hand.smt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/exponentiation_auto3_fixed_by_hand.smt -------------------------------------------------------------------------------- /bitcode/exponentiation_fixed_by_hand.smt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/exponentiation_fixed_by_hand.smt -------------------------------------------------------------------------------- /bitcode/http_examples.darwin.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/http_examples.darwin.ll -------------------------------------------------------------------------------- /bitcode/http_examples.i386.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/http_examples.i386.ll -------------------------------------------------------------------------------- /bitcode/https_examples.darwin.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/https_examples.darwin.ll -------------------------------------------------------------------------------- /bitcode/https_examples.i386.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/https_examples.i386.ll -------------------------------------------------------------------------------- /bitcode/int2ptr_by_hand.smt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/int2ptr_by_hand.smt -------------------------------------------------------------------------------- /bitcode/int_powers.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/int_powers.ll -------------------------------------------------------------------------------- /bitcode/minigzip-3.5.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/minigzip-3.5.ll -------------------------------------------------------------------------------- /bitcode/minisat.darwin.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/minisat.darwin.ll -------------------------------------------------------------------------------- /bitcode/packed_structs.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/packed_structs.ll -------------------------------------------------------------------------------- /bitcode/packed_structs2.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/packed_structs2.ll -------------------------------------------------------------------------------- /bitcode/primes_opt_auto10.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/primes_opt_auto10.ll -------------------------------------------------------------------------------- /bitcode/primes_opt_auto2.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/primes_opt_auto2.ll -------------------------------------------------------------------------------- /bitcode/primes_opt_auto3.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/primes_opt_auto3.ll -------------------------------------------------------------------------------- /bitcode/primes_opt_auto4.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/primes_opt_auto4.ll -------------------------------------------------------------------------------- /bitcode/rot13.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/rot13.ll -------------------------------------------------------------------------------- /bitcode/rot13_with_assertion.smt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/rot13_with_assertion.smt -------------------------------------------------------------------------------- /bitcode/structs.i386.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/structs.i386.ll -------------------------------------------------------------------------------- /bitcode/structs.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/structs.ll -------------------------------------------------------------------------------- /bitcode/structs2.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/structs2.ll -------------------------------------------------------------------------------- /bitcode/sums_auto10.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/sums_auto10.ll -------------------------------------------------------------------------------- /bitcode/sums_auto3.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/sums_auto3.ll -------------------------------------------------------------------------------- /bitcode/sums_unroll3_fixed_by_hand.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/sums_unroll3_fixed_by_hand.ll -------------------------------------------------------------------------------- /bitcode/sums_unroll3_fixed_by_hand.smt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/sums_unroll3_fixed_by_hand.smt -------------------------------------------------------------------------------- /bitcode/switch.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/switch.ll -------------------------------------------------------------------------------- /bitcode/yices_main-3.5.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/yices_main-3.5.ll -------------------------------------------------------------------------------- /bitcode/yices_main.darwin.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/yices_main.darwin.ll -------------------------------------------------------------------------------- /bitcode/yices_main.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/bitcode/yices_main.ll -------------------------------------------------------------------------------- /examples/distributivity/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/distributivity/Makefile -------------------------------------------------------------------------------- /examples/distributivity/distrib.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/distributivity/distrib.c -------------------------------------------------------------------------------- /examples/exponentiation/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/exponentiation/Makefile -------------------------------------------------------------------------------- /examples/exponentiation/exponentiation.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/exponentiation/exponentiation.c -------------------------------------------------------------------------------- /examples/harness/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/harness/Makefile -------------------------------------------------------------------------------- /examples/harness/harness.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/harness/harness.c -------------------------------------------------------------------------------- /examples/int2ptr/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/int2ptr/Makefile -------------------------------------------------------------------------------- /examples/int2ptr/int2ptr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/int2ptr/int2ptr.c -------------------------------------------------------------------------------- /examples/int2ptr/int2ptr.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/int2ptr/int2ptr.ll -------------------------------------------------------------------------------- /examples/int2ptr/ptr2bool.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/int2ptr/ptr2bool.c -------------------------------------------------------------------------------- /examples/primes/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/primes/Makefile -------------------------------------------------------------------------------- /examples/primes/primes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/primes/primes.c -------------------------------------------------------------------------------- /examples/rot13/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/rot13/Makefile -------------------------------------------------------------------------------- /examples/rot13/rot13.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/rot13/rot13.c -------------------------------------------------------------------------------- /examples/rot13/rot13.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/rot13/rot13.ll -------------------------------------------------------------------------------- /examples/structs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/structs/Makefile -------------------------------------------------------------------------------- /examples/structs/structs.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/structs/structs.c -------------------------------------------------------------------------------- /examples/structs/structs2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/structs/structs2.c -------------------------------------------------------------------------------- /examples/sums/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/sums/Makefile -------------------------------------------------------------------------------- /examples/sums/sums.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/sums/sums.c -------------------------------------------------------------------------------- /examples/switch/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/switch/Makefile -------------------------------------------------------------------------------- /examples/switch/switch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/examples/switch/switch.c -------------------------------------------------------------------------------- /src/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/Makefile -------------------------------------------------------------------------------- /src/bc.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/bc.ml -------------------------------------------------------------------------------- /src/bc_manip.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/bc_manip.ml -------------------------------------------------------------------------------- /src/bc_manip.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/bc_manip.mli -------------------------------------------------------------------------------- /src/bc_pp.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/bc_pp.ml -------------------------------------------------------------------------------- /src/bc_pp.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/bc_pp.mli -------------------------------------------------------------------------------- /src/dl.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/dl.ml -------------------------------------------------------------------------------- /src/dl.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/dl.mli -------------------------------------------------------------------------------- /src/dltest.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/dltest.ml -------------------------------------------------------------------------------- /src/lllex.mll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/lllex.mll -------------------------------------------------------------------------------- /src/llparse.mly: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/llparse.mly -------------------------------------------------------------------------------- /src/llvm.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/llvm.ml -------------------------------------------------------------------------------- /src/llvm2smt.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/llvm2smt.ml -------------------------------------------------------------------------------- /src/llvm_parser.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/llvm_parser.ml -------------------------------------------------------------------------------- /src/llvm_parser.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/llvm_parser.mli -------------------------------------------------------------------------------- /src/llvm_pp.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/llvm_pp.ml -------------------------------------------------------------------------------- /src/llvm_pp.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/llvm_pp.mli -------------------------------------------------------------------------------- /src/parse.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/parse.ml -------------------------------------------------------------------------------- /src/prelude.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/prelude.ml -------------------------------------------------------------------------------- /src/prelude.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/prelude.mli -------------------------------------------------------------------------------- /src/rawparse.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/rawparse.ml -------------------------------------------------------------------------------- /src/smt.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/smt.ml -------------------------------------------------------------------------------- /src/smt.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/smt.mli -------------------------------------------------------------------------------- /src/util.ml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/util.ml -------------------------------------------------------------------------------- /src/util.mli: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/src/util.mli -------------------------------------------------------------------------------- /tests/shufflevector/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/tests/shufflevector/Makefile -------------------------------------------------------------------------------- /tests/shufflevector/shufflevector.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/tests/shufflevector/shufflevector.ll -------------------------------------------------------------------------------- /tests/shufflevector/shufflevector.smt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/tests/shufflevector/shufflevector.smt -------------------------------------------------------------------------------- /tests/vadd/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/tests/vadd/Makefile -------------------------------------------------------------------------------- /tests/vadd/vadd.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/tests/vadd/vadd.ll -------------------------------------------------------------------------------- /tests/vadd/vadd.smt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/tests/vadd/vadd.smt -------------------------------------------------------------------------------- /tests/vtrunc/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/tests/vtrunc/Makefile -------------------------------------------------------------------------------- /tests/vtrunc/vtrunc.ll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/tests/vtrunc/vtrunc.ll -------------------------------------------------------------------------------- /tests/vtrunc/vtrunc.smt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SRI-CSL/llvm2smt/HEAD/tests/vtrunc/vtrunc.smt --------------------------------------------------------------------------------