Skip to content

Commit 9c921cf

Browse files
authored
Move the solver file from the lib folder to the ir folder. (p4lang#4188)
1 parent 06104e4 commit 9c921cf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+49
-49
lines changed

backends/p4tools/common/core/z3_solver.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
#include "ir/ir.h"
1313
#include "ir/json_generator.h"
14+
#include "ir/solver.h"
1415
#include "lib/cstring.h"
1516
#include "lib/ordered_map.h"
1617
#include "lib/safe_vector.h"
17-
#include "lib/solver.h"
1818

1919
namespace P4Tools {
2020

backends/p4tools/common/lib/model.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
#include <boost/container/flat_map.hpp>
99

1010
#include "ir/ir.h"
11+
#include "ir/solver.h"
1112
#include "ir/visitor.h"
12-
#include "lib/solver.h"
1313

1414
namespace P4Tools {
1515

backends/p4tools/modules/testgen/core/small_step/abstract_stepper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88
#include "ir/ir.h"
99
#include "ir/node.h"
10+
#include "ir/solver.h"
1011
#include "ir/vector.h"
1112
#include "ir/visitor.h"
12-
#include "lib/solver.h"
1313

1414
#include "backends/p4tools/modules/testgen/core/program_info.h"
1515
#include "backends/p4tools/modules/testgen/core/small_step/small_step.h"

backends/p4tools/modules/testgen/core/small_step/cmd_stepper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@
2020
#include "ir/id.h"
2121
#include "ir/indexed_vector.h"
2222
#include "ir/irutils.h"
23+
#include "ir/solver.h"
2324
#include "ir/vector.h"
2425
#include "lib/cstring.h"
2526
#include "lib/exceptions.h"
2627
#include "lib/log.h"
2728
#include "lib/null.h"
28-
#include "lib/solver.h"
2929
#include "midend/coverage.h"
3030

3131
#include "backends/p4tools/modules/testgen/core/program_info.h"

backends/p4tools/modules/testgen/core/small_step/cmd_stepper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
#include <vector>
77

88
#include "ir/ir.h"
9+
#include "ir/solver.h"
910
#include "lib/cstring.h"
10-
#include "lib/solver.h"
1111

1212
#include "backends/p4tools/modules/testgen/core/program_info.h"
1313
#include "backends/p4tools/modules/testgen/core/small_step/abstract_stepper.h"

backends/p4tools/modules/testgen/core/small_step/expr_stepper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
#include "ir/declaration.h"
1515
#include "ir/irutils.h"
1616
#include "ir/node.h"
17+
#include "ir/solver.h"
1718
#include "lib/exceptions.h"
1819
#include "lib/log.h"
1920
#include "lib/null.h"
20-
#include "lib/solver.h"
2121
#include "lib/source_file.h"
2222
#include "midend/coverage.h"
2323
#include "midend/saturationElim.h"

backends/p4tools/modules/testgen/core/small_step/expr_stepper.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
#include "ir/id.h"
88
#include "ir/ir.h"
9+
#include "ir/solver.h"
910
#include "ir/vector.h"
1011
#include "lib/cstring.h"
11-
#include "lib/solver.h"
1212

1313
#include "backends/p4tools/modules/testgen/core/program_info.h"
1414
#include "backends/p4tools/modules/testgen/core/small_step/abstract_stepper.h"

backends/p4tools/modules/testgen/core/small_step/small_step.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
#include "ir/ir.h"
1616
#include "ir/irutils.h"
1717
#include "ir/node.h"
18+
#include "ir/solver.h"
1819
#include "lib/error.h"
1920
#include "lib/exceptions.h"
2021
#include "lib/null.h"
21-
#include "lib/solver.h"
2222

2323
#include "backends/p4tools/modules/testgen/core/program_info.h"
2424
#include "backends/p4tools/modules/testgen/core/small_step/cmd_stepper.h"

backends/p4tools/modules/testgen/core/small_step/small_step.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
#include "backends/p4tools/common/compiler/reachability.h"
1111
#include "ir/node.h"
12-
#include "lib/solver.h"
12+
#include "ir/solver.h"
1313
#include "midend/coverage.h"
1414

1515
#include "backends/p4tools/modules/testgen/core/program_info.h"

backends/p4tools/modules/testgen/core/symbolic_executor/depth_first.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
#include <iterator>
55
#include <vector>
66

7+
#include "ir/solver.h"
78
#include "lib/error.h"
8-
#include "lib/solver.h"
99
#include "lib/timer.h"
1010

1111
#include "backends/p4tools/modules/testgen/core/program_info.h"

0 commit comments

Comments
 (0)