P4C
The P4 Compiler
Loading...
Searching...
No Matches
dump_json_graph.h
1
19
#ifndef BF_P4C_MAU_DUMP_JSON_GRAPH_H_
20
#define BF_P4C_MAU_DUMP_JSON_GRAPH_H_
21
22
#include "backends/tofino/bf-p4c/logging/pass_manager.h"
23
#include "backends/tofino/bf-p4c/mau/table_dependency_graph.h"
24
25
using namespace
P4
;
26
27
class
DumpJsonGraph
:
public
PassManager
{
28
FlowGraph
fg;
29
DependencyGraph
&dg;
30
Util::JsonObject
*dgJson;
31
cstring
passContext;
32
bool
placed;
33
34
void
end_apply(
const
IR::Node
*root)
override
;
35
36
public
:
37
DumpJsonGraph
(
DependencyGraph
&dg,
Util::JsonObject
*dgJson,
cstring
passContext,
bool
placed);
38
};
39
40
#endif
/* BF_P4C_MAU_DUMP_JSON_GRAPH_H_ */
DumpJsonGraph
Definition
dump_json_graph.h:27
P4::IR::Node
Definition
node.h:94
P4::PassManager
Definition
ir/pass_manager.h:40
P4::Util::JsonObject
Definition
json.h:164
P4::cstring
Definition
cstring.h:85
P4
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition
applyOptionsPragmas.cpp:24
DependencyGraph
Definition
table_dependency_graph.h:52
FlowGraph
Definition
table_flow_graph.h:45
backends
tofino
bf-p4c
mau
dump_json_graph.h
Generated by
1.12.0