1#ifndef BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_COMPILER_RESULT_H_
2#define BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_COMPILER_RESULT_H_
4#include "backends/p4tools/common/compiler/compiler_result.h"
5#include "backends/p4tools/common/compiler/reachability.h"
6#include "midend/coverage.h"
8namespace P4::P4Tools::P4Testgen {
11class TestgenCompilerResult :
public CompilerResult {
17 const NodesCallGraph *callGraph;
20 explicit TestgenCompilerResult(CompilerResult compilerResult,
22 const NodesCallGraph *callGraph =
nullptr);
27 [[nodiscard]]
const NodesCallGraph &
getCallGraph()
const;
32 DECLARE_TYPEINFO(TestgenCompilerResult, CompilerResult);
std::set< const IR::Node *, SourceIdCmp > CoverageSet
Definition coverage.h:39