Refactor pbRewrites preprocessing pass (#1767)
authorAndres Noetzli <andres.noetzli@gmail.com>
Thu, 19 Apr 2018 18:47:38 +0000 (11:47 -0700)
committerGitHub <noreply@github.com>
Thu, 19 Apr 2018 18:47:38 +0000 (11:47 -0700)
commit70046d35f2aff41867cbb6490e5bf6d026dc55a1
treea6903beb73a028ea159b07bb5c773386c1e5c5f5
parent4af9af22f728ebb12afe48c587cfe665fc8cb123
Refactor pbRewrites preprocessing pass (#1767)

This commit refactors the pbRewrites preprocessing pass into the new
style. This commit is essentially just a code move and adds a regression
test for the preprocessing pass. It also makes use of the
AssertionPipeline::replace function to do proper dependency tracking.
src/Makefile.am
src/preprocessing/passes/pseudo_boolean_processor.cpp [new file with mode: 0644]
src/preprocessing/passes/pseudo_boolean_processor.h [new file with mode: 0644]
src/preprocessing/preprocessing_pass_context.h
src/preprocessing/preprocessing_pass_registry.h
src/smt/smt_engine.cpp
src/theory/arith/pseudoboolean_proc.cpp [deleted file]
src/theory/arith/pseudoboolean_proc.h [deleted file]
test/regress/Makefile.tests
test/regress/regress1/arith/pbrewrites-test.smt2 [new file with mode: 0644]