P4C
The P4 Compiler
Loading...
Searching...
No Matches
targets/pna/dpdk/expr_stepper.h
1#ifndef BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_PNA_DPDK_EXPR_STEPPER_H_
2#define BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_PNA_DPDK_EXPR_STEPPER_H_
3
4#include <string>
5
6#include "ir/ir.h"
7#include "ir/solver.h"
8
9#include "backends/p4tools/modules/testgen/core/program_info.h"
10#include "backends/p4tools/modules/testgen/lib/execution_state.h"
11#include "backends/p4tools/modules/testgen/targets/pna/shared_expr_stepper.h"
12
14
16 protected:
17 std::string getClassName() override;
18
19 private:
20 // Provides implementations of PNA-DPDK externs.
21 static const ExternMethodImpls<PnaDpdkExprStepper> PNA_DPDK_EXTERN_METHOD_IMPLS;
22
23 public:
26
27 void evalExternMethodCall(const ExternInfo &externInfo) override;
28
29 bool preorder(const IR::P4Table * /*table*/) override;
30};
31} // namespace P4::P4Tools::P4Testgen::Pna
32
33#endif /* BACKENDS_P4TOOLS_MODULES_TESTGEN_TARGETS_PNA_DPDK_EXPR_STEPPER_H_ */
Provides a higher-level interface for an SMT solver.
Definition solver.h:24
ExecutionState & state
The state being evaluated.
Definition abstract_stepper.h:49
const ProgramInfo & programInfo
Target-specific information about the P4 program being evaluated.
Definition abstract_stepper.h:46
Represents state of execution after having reached a program point.
Definition execution_state.h:34
Encapsulates a set of extern method implementations.
Definition core/small_step/expr_stepper.h:27
Definition extern_info.h:14
Definition targets/pna/dpdk/expr_stepper.h:15
void evalExternMethodCall(const ExternInfo &externInfo) override
Definition targets/pna/dpdk/expr_stepper.cpp:23
std::string getClassName() override
Definition targets/pna/dpdk/expr_stepper.cpp:12
Definition shared_expr_stepper.h:13
Stores target-specific information about a P4 program.
Definition core/program_info.h:21
Inja.
Definition pna/backend/metadata/metadata.cpp:24
Definition phv/solver/action_constraint_solver.cpp:33