17#ifndef FRONTENDS_P4_PARSERCALLGRAPH_H_
18#define FRONTENDS_P4_PARSERCALLGRAPH_H_
20#include "frontends/common/resolveReferences/resolveReferences.h"
21#include "frontends/p4/callGraph.h"
26typedef CallGraph<const IR::ParserState *> ParserCallGraph;
36 : refMap(refMap), transitions(transitions) {
38 CHECK_NULL(transitions);
39 setName(
"ComputeParserCG");
41 bool preorder(
const IR::PathExpression *expression)
override;
42 void postorder(
const IR::SelectExpression *expression)
override;
Definition callGraph.h:41
Builds a CallGraph of ParserState nodes.
Definition parserCallGraph.h:30
Class used to encode maps from paths to declarations.
Definition referenceMap.h:66
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24