1 |
|
/****************************************************************************** |
2 |
|
* Top contributors (to current version): |
3 |
|
* Mathias Preiner |
4 |
|
* |
5 |
|
* This file is part of the cvc5 project. |
6 |
|
* |
7 |
|
* Copyright (c) 2009-2021 by the authors listed in the file AUTHORS |
8 |
|
* in the top-level source directory and their institutional affiliations. |
9 |
|
* All rights reserved. See the file COPYING in the top-level source |
10 |
|
* directory for licensing information. |
11 |
|
* **************************************************************************** |
12 |
|
* |
13 |
|
* Wrap assertions in BITVECTOR_EAGER_ATOM nodes. |
14 |
|
* |
15 |
|
* This preprocessing pass wraps all assertions in BITVECTOR_EAGER_ATOM nodes |
16 |
|
* and allows to use eager bit-blasting in the BV solver. |
17 |
|
*/ |
18 |
|
|
19 |
|
#include "cvc5_private.h" |
20 |
|
|
21 |
|
#ifndef CVC5__PREPROCESSING__PASSES__BV_EAGER_ATOMS_H |
22 |
|
#define CVC5__PREPROCESSING__PASSES__BV_EAGER_ATOMS_H |
23 |
|
|
24 |
|
#include "preprocessing/preprocessing_pass.h" |
25 |
|
|
26 |
|
namespace cvc5 { |
27 |
|
namespace preprocessing { |
28 |
|
namespace passes { |
29 |
|
|
30 |
19846 |
class BvEagerAtoms : public PreprocessingPass |
31 |
|
{ |
32 |
|
public: |
33 |
|
BvEagerAtoms(PreprocessingPassContext* preprocContext); |
34 |
|
|
35 |
|
protected: |
36 |
|
PreprocessingPassResult applyInternal( |
37 |
|
AssertionPipeline* assertionsToPreprocess) override; |
38 |
|
}; |
39 |
|
|
40 |
|
} // namespace passes |
41 |
|
} // namespace preprocessing |
42 |
|
} // namespace cvc5 |
43 |
|
|
44 |
|
#endif /* CVC5__PREPROCESSING__PASSES__BV_EAGER_ATOMS_H */ |