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

Line Exec Source
1
/*********************                                                        */
2
/*! \file int_to_bv.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-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.\endverbatim
11
 **
12
 ** \brief The IntToBV preprocessing pass
13
 **
14
 ** Converts integer operations into bitvector operations. The width of the
15
 ** bitvectors is controlled through the `--solve-int-as-bv` command line
16
 ** option.
17
 **/
18
19
#include "cvc4_private.h"
20
21
#ifndef CVC4__PREPROCESSING__PASSES__INT_TO_BV_H
22
#define CVC4__PREPROCESSING__PASSES__INT_TO_BV_H
23
24
#include "preprocessing/preprocessing_pass.h"
25
26
namespace CVC4 {
27
namespace preprocessing {
28
namespace passes {
29
30
17988
class IntToBV : public PreprocessingPass
31
{
32
 public:
33
  IntToBV(PreprocessingPassContext* preprocContext);
34
35
 protected:
36
  PreprocessingPassResult applyInternal(
37
      AssertionPipeline* assertionsToPreprocess) override;
38
};
39
40
}  // namespace passes
41
}  // namespace preprocessing
42
}  // namespace CVC4
43
44
#endif /* CVC4__PREPROCESSING__PASSES__INT_TO_BV_H */