Updates not related to creation for eliminating Expr-level datatype (#4838)
[cvc5.git] / src / preprocessing / passes / ite_removal.h
1 /********************* */
2 /*! \file ite_removal.h
3 ** \verbatim
4 ** Top contributors (to current version):
5 ** Andres Noetzli, Mathias Preiner
6 ** This file is part of the CVC4 project.
7 ** Copyright (c) 2009-2020 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.\endverbatim
11 **
12 ** \brief Remove ITEs from the assertions
13 **
14 ** [[ Add lengthier description here ]]
15 ** \todo document this file
16 **/
17
18 #include "cvc4_private.h"
19
20 #ifndef CVC4__PREPROCESSING__PASSES__ITE_REMOVAL_H
21 #define CVC4__PREPROCESSING__PASSES__ITE_REMOVAL_H
22
23 #include <unordered_set>
24 #include <vector>
25
26 #include "preprocessing/preprocessing_pass.h"
27 #include "preprocessing/preprocessing_pass_context.h"
28
29 namespace CVC4 {
30 namespace preprocessing {
31 namespace passes {
32
33 class IteRemoval : public PreprocessingPass
34 {
35 public:
36 IteRemoval(PreprocessingPassContext* preprocContext);
37
38 protected:
39 PreprocessingPassResult applyInternal(AssertionPipeline* assertions) override;
40 };
41
42 } // namespace passes
43 } // namespace preprocessing
44 } // namespace CVC4
45
46 #endif // CVC4__PREPROCESSING__PASSES__ITE_REMOVAL_H