Generate code for options with modes. (#3561)
authorMathias Preiner <mathias.preiner@gmail.com>
Tue, 17 Dec 2019 21:43:44 +0000 (13:43 -0800)
committerGitHub <noreply@github.com>
Tue, 17 Dec 2019 21:43:44 +0000 (13:43 -0800)
commite9499c41f405df8b42fd9ae10004b1b91a869106
treefa1475f43a3e61b8f6ffdcb903b65919eba28661
parent9b2914ed9f7b14ecf535ffe9e1328d0fa042e072
Generate code for options with modes. (#3561)

This commit adds support for code generation of options with modes (enums). From now on option enums can be specified in the corresponding *.toml files without the need of extra code. All option enums are now in the options namespace.
125 files changed:
.travis.yml
INSTALL.md
src/CMakeLists.txt
src/bindings/java/CMakeLists.txt
src/decision/decision_engine.cpp
src/decision/justification_heuristic.cpp
src/expr/type_properties_template.h
src/main/command_executor.cpp
src/options/CMakeLists.txt
src/options/arith_heuristic_pivot_rule.cpp [deleted file]
src/options/arith_heuristic_pivot_rule.h [deleted file]
src/options/arith_options.toml
src/options/arith_propagation_mode.cpp [deleted file]
src/options/arith_propagation_mode.h [deleted file]
src/options/arith_unate_lemma_mode.cpp [deleted file]
src/options/arith_unate_lemma_mode.h [deleted file]
src/options/bool_to_bv_mode.cpp [deleted file]
src/options/bool_to_bv_mode.h [deleted file]
src/options/bv_bitblast_mode.cpp [deleted file]
src/options/bv_bitblast_mode.h [deleted file]
src/options/bv_options.toml
src/options/datatypes_modes.h [deleted file]
src/options/datatypes_options.toml
src/options/decision_mode.cpp [deleted file]
src/options/decision_mode.h [deleted file]
src/options/decision_options.toml
src/options/mkoptions.py
src/options/module_template.cpp
src/options/module_template.h
src/options/options.h
src/options/options.i
src/options/options_handler.cpp
src/options/options_handler.h
src/options/options_public_functions.cpp
src/options/printer_modes.cpp
src/options/printer_modes.h
src/options/printer_options.toml
src/options/quantifiers_modes.cpp [deleted file]
src/options/quantifiers_modes.h [deleted file]
src/options/quantifiers_options.toml
src/options/smt_modes.cpp [deleted file]
src/options/smt_modes.h [deleted file]
src/options/smt_options.toml
src/options/strings_modes.cpp [deleted file]
src/options/strings_modes.h [deleted file]
src/options/strings_options.toml
src/options/sygus_out_mode.h [deleted file]
src/options/theory_options.toml
src/options/theoryof_mode.cpp [deleted file]
src/options/theoryof_mode.h [deleted file]
src/options/uf_options.toml
src/options/ufss_mode.h [deleted file]
src/preprocessing/passes/bool_to_bv.cpp
src/preprocessing/passes/bv_abstraction.cpp
src/preprocessing/passes/quantifier_macros.cpp
src/proof/bitvector_proof.cpp
src/proof/clausal_bitvector_proof.cpp
src/proof/proof_manager.cpp
src/proof/resolution_bitvector_proof.cpp
src/proof/theory_proof.cpp
src/prop/bvminisat/simp/SimpSolver.cc
src/prop/minisat/minisat.cpp
src/smt/command.cpp
src/smt/model_blocker.cpp
src/smt/model_blocker.h
src/smt/model_core_builder.cpp
src/smt/model_core_builder.h
src/smt/smt_engine.cpp
src/theory/arith/attempt_solution_simplex.cpp
src/theory/arith/dual_simplex.cpp
src/theory/arith/error_set.cpp
src/theory/arith/error_set.h
src/theory/arith/fc_simplex.cpp
src/theory/arith/nonlinear_extension.cpp
src/theory/arith/simplex.h
src/theory/arith/soi_simplex.cpp
src/theory/arith/theory_arith_private.cpp
src/theory/bv/abstraction.cpp
src/theory/bv/bitblast/eager_bitblaster.cpp
src/theory/bv/bv_subtheory_algebraic.cpp
src/theory/bv/bv_subtheory_bitblast.cpp
src/theory/bv/slicer.cpp
src/theory/bv/theory_bv.cpp
src/theory/bv/theory_bv_utils.cpp
src/theory/datatypes/sygus_extension.cpp
src/theory/datatypes/sygus_extension.h
src/theory/quantifiers/cegqi/ceg_bv_instantiator.cpp
src/theory/quantifiers/ematching/inst_strategy_e_matching.cpp
src/theory/quantifiers/ematching/inst_strategy_e_matching.h
src/theory/quantifiers/ematching/instantiation_engine.cpp
src/theory/quantifiers/ematching/trigger.cpp
src/theory/quantifiers/ematching/trigger.h
src/theory/quantifiers/equality_query.cpp
src/theory/quantifiers/fmf/full_model_check.cpp
src/theory/quantifiers/fmf/model_builder.cpp
src/theory/quantifiers/fmf/model_engine.cpp
src/theory/quantifiers/quant_conflict_find.cpp
src/theory/quantifiers/quant_split.cpp
src/theory/quantifiers/quantifiers_rewriter.cpp
src/theory/quantifiers/query_generator.cpp
src/theory/quantifiers/sygus/ce_guided_single_inv.cpp
src/theory/quantifiers/sygus/cegis.cpp
src/theory/quantifiers/sygus/cegis_unif.cpp
src/theory/quantifiers/sygus/sygus_grammar_cons.cpp
src/theory/quantifiers/sygus/sygus_unif_rl.cpp
src/theory/quantifiers/sygus/synth_conjecture.cpp
src/theory/quantifiers/sygus/term_database_sygus.cpp
src/theory/quantifiers/term_database.cpp
src/theory/quantifiers_engine.cpp
src/theory/quantifiers_engine.h
src/theory/rewriter.cpp
src/theory/sort_inference.cpp
src/theory/strings/regexp_solver.cpp
src/theory/strings/solver_state.cpp
src/theory/strings/solver_state.h
src/theory/strings/theory_strings.cpp
src/theory/theory.cpp
src/theory/theory.h
src/theory/theory_engine.cpp
src/theory/theory_engine.h
src/theory/type_enumerator_template.cpp
src/theory/uf/cardinality_extension.cpp
src/theory/uf/theory_uf.cpp
src/theory/valuation.cpp
src/theory/valuation.h