P4C
The P4 Compiler
|
Backend is a the base class for SimpleSwitchBackend and PortableSwitchBackend. More...
#include <backend.h>
Public Member Functions | |
Backend (BMV2Options &options, P4::ReferenceMap *refMap, P4::TypeMap *typeMap, P4::ConvertEnums::EnumMapping *enumMap) | |
virtual void | convert (const IR::ToplevelBlock *block)=0 |
void | serialize (std::ostream &out) const |
Public Attributes | |
P4::P4CoreLibrary & | corelib |
P4::ConvertEnums::EnumMapping * | enumMap |
BMV2::JsonObjects * | json |
BMV2Options & | options |
P4::ReferenceMap * | refMap |
const IR::ToplevelBlock * | toplevel = nullptr |
P4::TypeMap * | typeMap |
Backend is a the base class for SimpleSwitchBackend and PortableSwitchBackend.
|
pure virtual |
Implemented in P4::BMV2::SimpleSwitchBackend.