7#ifndef BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_COMPILER_RESULT_H_
8#define BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_COMPILER_RESULT_H_
10#include "backends/p4tools/common/compiler/compiler_result.h"
11#include "backends/p4tools/common/compiler/reachability.h"
12#include "midend/coverage.h"
14namespace P4::P4Tools::P4Testgen {
17class TestgenCompilerResult :
public CompilerResult {
23 const NodesCallGraph *callGraph;
26 explicit TestgenCompilerResult(CompilerResult compilerResult,
28 const NodesCallGraph *callGraph =
nullptr);
33 [[nodiscard]]
const NodesCallGraph &
getCallGraph()
const;
38 DECLARE_TYPEINFO(TestgenCompilerResult, CompilerResult);
std::set< const IR::Node *, SourceIdCmp > CoverageSet
Definition coverage.h:47