1 |
|
/****************************************************************************** |
2 |
|
* Top contributors (to current version): |
3 |
|
* Caleb Donovick, 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 |
|
* The rewrite preprocessing pass. |
14 |
|
* |
15 |
|
* Calls the rewriter on every assertion. |
16 |
|
*/ |
17 |
|
|
18 |
|
#include "cvc5_private.h" |
19 |
|
|
20 |
|
#ifndef CVC5__PREPROCESSING__PASSES__REWRITE_H |
21 |
|
#define CVC5__PREPROCESSING__PASSES__REWRITE_H |
22 |
|
|
23 |
|
#include "preprocessing/preprocessing_pass.h" |
24 |
|
|
25 |
|
namespace cvc5 { |
26 |
|
namespace preprocessing { |
27 |
|
namespace passes { |
28 |
|
|
29 |
18918 |
class Rewrite : public PreprocessingPass |
30 |
|
{ |
31 |
|
public: |
32 |
|
Rewrite(PreprocessingPassContext* preprocContext); |
33 |
|
|
34 |
|
protected: |
35 |
|
PreprocessingPassResult applyInternal( |
36 |
|
AssertionPipeline* assertionsToPreprocess) override; |
37 |
|
}; |
38 |
|
|
39 |
|
} // namespace passes |
40 |
|
} // namespace preprocessing |
41 |
|
} // namespace cvc5 |
42 |
|
|
43 |
|
#endif /* CVC5__PREPROCESSING__PASSES__REWRITE_H */ |