Skip to content

Commit 1071821

Browse files
author
Daniel Kroening
committed
functionst is a lowering, not a flattening
No bit-flattening is happening in this reduction.
1 parent 7dd720b commit 1071821

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

src/solvers/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,12 +134,12 @@ SRC = $(BOOLEFORCE_SRC) \
134134
flattening/bv_utils.cpp \
135135
flattening/c_bit_field_replacement_type.cpp \
136136
flattening/equality.cpp \
137-
flattening/functions.cpp \
138137
flattening/pointer_logic.cpp \
139138
floatbv/float_bv.cpp \
140139
floatbv/float_utils.cpp \
141140
floatbv/float_approximation.cpp \
142141
lowering/byte_operators.cpp \
142+
lowering/functions.cpp \
143143
lowering/popcount.cpp \
144144
bdd/miniBDD/miniBDD.cpp \
145145
prop/bdd_expr.cpp \

src/solvers/flattening/boolbv.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,12 @@ Author: Daniel Kroening, [email protected]
1919
#include <util/mp_arith.h>
2020
#include <util/optional.h>
2121

22+
#include <solvers/lowering/functions.h>
23+
2224
#include "bv_utils.h"
2325
#include "boolbv_width.h"
2426
#include "boolbv_map.h"
2527
#include "arrays.h"
26-
#include "functions.h"
2728

2829
class extractbit_exprt;
2930
class extractbits_exprt;

src/solvers/flattening/functions.h renamed to src/solvers/lowering/functions.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Author: Daniel Kroening, [email protected]
99
/// \file
1010
/// Uninterpreted Functions
1111

12-
#ifndef CPROVER_SOLVERS_FLATTENING_FUNCTIONS_H
13-
#define CPROVER_SOLVERS_FLATTENING_FUNCTIONS_H
12+
#ifndef CPROVER_SOLVERS_LOWERING_FUNCTIONS_H
13+
#define CPROVER_SOLVERS_LOWERING_FUNCTIONS_H
1414

1515
#include <map>
1616
#include <set>
@@ -57,4 +57,4 @@ class functionst
5757
const exprt::operandst &o2);
5858
};
5959

60-
#endif // CPROVER_SOLVERS_FLATTENING_FUNCTIONS_H
60+
#endif // CPROVER_SOLVERS_LOWERING_FUNCTIONS_H
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
solvers
12
solvers/lowering
23
util

0 commit comments

Comments
 (0)