17#ifndef BACKENDS_DPDK_MIDEND_H_
18#define BACKENDS_DPDK_MIDEND_H_
20#include "frontends/common/options.h"
22#include "midend/convertEnums.h"
31 const IR::ToplevelBlock *toplevel =
nullptr;
32 P4::ConvertEnums::EnumMapping enumMap;
38 const IR::ToplevelBlock *process(
const IR::P4Program *&program) {
39 program = program->apply(*
this);
Definition frontends/common/options.h:30
Definition dpdk/midend.h:26
DpdkMidEnd(CompilerOptions &options, std::ostream *outStream=nullptr)
Definition dpdk/midend.cpp:110
P4::ReferenceMap refMap
These will be accurate when the mid-end completes evaluation.
Definition dpdk/midend.h:29
Definition ir/pass_manager.h:40
Class used to encode maps from paths to declarations.
Definition referenceMap.h:66
Definition dpdk/backend.cpp:37