GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/preprocessing/passes/apply_substs.h Lines: 1 1 100.0 %
Date: 2021-09-10 Branches: 0 0 0.0 %

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Aina Niemetz, Mathias Preiner, Gereon Kremer
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
 * Apply substitutions preprocessing pass.
14
 *
15
 * Apply top level substitutions to assertions, rewrite, and store back into
16
 * assertions.
17
 */
18
19
#include "cvc5_private.h"
20
21
#ifndef CVC5__PREPROCESSING__PASSES__APPLY_SUBSTS_H
22
#define CVC5__PREPROCESSING__PASSES__APPLY_SUBSTS_H
23
24
#include "preprocessing/preprocessing_pass.h"
25
26
namespace cvc5 {
27
namespace preprocessing {
28
29
class PreprocessingPassContext;
30
31
namespace passes {
32
33
19820
class ApplySubsts : public PreprocessingPass
34
{
35
 public:
36
  ApplySubsts(PreprocessingPassContext* preprocContext);
37
38
 protected:
39
  /**
40
   * Apply assertionsToPreprocess->getTopLevelSubstitutions() to the
41
   * assertions, in assertionsToPreprocess, rewrite, and store back into
42
   * given assertion pipeline.
43
   */
44
  PreprocessingPassResult applyInternal(
45
      AssertionPipeline* assertionsToPreprocess) override;
46
};
47
48
}  // namespace passes
49
}  // namespace preprocessing
50
}  // namespace cvc5
51
52
#endif