P4C
The P4 Compiler
Loading...
Searching...
No Matches
shared_cmd_stepper.h
1/*
2 * SPDX-FileCopyrightText: 2023 Intel Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_PNA_SHARED_CMD_STEPPER_H_
8#define BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_PNA_SHARED_CMD_STEPPER_H_
9
10#include "ir/solver.h"
11
12#include "backends/p4tools/modules/testgen/core/program_info.h"
13#include "backends/p4tools/modules/testgen/core/small_step/cmd_stepper.h"
14#include "backends/p4tools/modules/testgen/lib/execution_state.h"
15
17
18class SharedPnaCmdStepper : public CmdStepper {
19 public:
20 SharedPnaCmdStepper(ExecutionState &state, AbstractSolver &solver,
22};
23
24} // namespace P4::P4Tools::P4Testgen::Pna
25
26#endif /* BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_PNA_SHARED_CMD_STEPPER_H_ */
Provides a higher-level interface for an SMT solver.
Definition solver.h:30
ExecutionState & state
The state being evaluated.
Definition abstract_stepper.h:55
const ProgramInfo & programInfo
Target-specific information about the P4 program being evaluated.
Definition abstract_stepper.h:52
Represents state of execution after having reached a program point.
Definition execution_state.h:40
Stores target-specific information about a P4 program.
Definition core/program_info.h:27
Inja.
Definition pna/backend/metadata/metadata.cpp:28
Definition phv/solver/action_constraint_solver.cpp:33