|
static const TestgenTarget & | get () |
|
static CmdStepper * | getCmdStepper (ExecutionState &state, AbstractSolver &solver, const ProgramInfo &programInfo) |
| Provides a CmdStepper implementation for this target.
|
|
static ExprStepper * | getExprStepper (ExecutionState &state, AbstractSolver &solver, const ProgramInfo &programInfo) |
| Provides a ExprStepper implementation for this target.
|
|
static TestBackEnd * | getTestBackend (const ProgramInfo &programInfo, const TestBackendConfiguration &testBackendConfiguration, SymbolicExecutor &symbex) |
| Returns the test back end associated with this P4Testgen target.
|
|
static const ProgramInfo * | produceProgramInfo (const CompilerResult &compilerResult) |
|
static std::vector< const char * > * | initCompiler (std::string_view toolName, int argc, char **argv) |
|
static ICompileContext * | makeContext (std::string_view toolName) |
|
static CompilerResultOrError | runCompiler (const CompilerOptions &options, std::string_view toolName) |
|
static CompilerResultOrError | runCompiler (const CompilerOptions &options, std::string_view toolName, const std::string &source) |
|
static bool | init (std::string deviceName, std::string archName) |
|
static bool | setArch (std::string archName) |
|
static bool | setDevice (std::string deviceName) |
|
|
| TestgenTarget (const std::string &deviceName, const std::string &archName) |
|
virtual CmdStepper * | getCmdStepperImpl (ExecutionState &state, AbstractSolver &solver, const ProgramInfo &programInfo) const=0 |
|
virtual ExprStepper * | getExprStepperImpl (ExecutionState &state, AbstractSolver &solver, const ProgramInfo &programInfo) const=0 |
|
virtual TestBackEnd * | getTestBackendImpl (const ProgramInfo &programInfo, const TestBackendConfiguration &testBackendConfiguration, SymbolicExecutor &symbex) const=0 |
|
const ProgramInfo * | produceProgramInfoImpl (const CompilerResult &compilerResult) const |
|
virtual const ProgramInfo * | produceProgramInfoImpl (const CompilerResult &compilerResult, const IR::Declaration_Instance *mainDecl) const=0 |
|
CompilerResultOrError | runCompilerImpl (const CompilerOptions &options, const IR::P4Program *program) const override |
|
| CompilerTarget (std::string_view toolName, const std::string &deviceName, const std::string &archName) |
|
virtual std::vector< const char * > * | initCompilerImpl (int argc, char **argv) const |
|
virtual ICompileContext * | makeContextImpl () const |
|
virtual P4::FrontEnd | mkFrontEnd () const |
| A factory method for providing a target-specific front end implementation.
|
|
virtual MidEnd | mkMidEnd (const CompilerOptions &options) const |
| A factory method for providing a target-specific mid end implementation.
|
|
const IR::P4Program * | runFrontend (const CompilerOptions &options, const IR::P4Program *program) const |
|
const IR::P4Program * | runMidEnd (const CompilerOptions &options, const IR::P4Program *program) const |
|
| Target (std::string_view toolName, const std::string &deviceName, const std::string &archName) |
|