![]()  | 
  
    P4C
    
   The P4 Compiler 
   | 
 
Public Member Functions | |
| SimpleSwitchBackend (BMV2Options &options, P4::ReferenceMap *refMap, P4::TypeMap *typeMap, P4::ConvertEnums::EnumMapping *enumMap) | |
| void | convert (const IR::ToplevelBlock *tlb) override | 
| void | convertChecksum (const IR::BlockStatement *body, Util::JsonArray *checksums, Util::JsonArray *calculations, bool verify) | 
| void | createActions (ConversionContext *ctxt, V1ProgramStructure *structure) | 
| void | modelError (const char *format, const IR::Node *place) const | 
  Public Member Functions inherited from BMV2::Backend | |
| Backend (BMV2Options &options, P4::ReferenceMap *refMap, P4::TypeMap *typeMap, P4::ConvertEnums::EnumMapping *enumMap) | |
| void | serialize (std::ostream &out) const | 
Protected Member Functions | |
| cstring | createCalculation (cstring algo, const IR::Expression *fields, Util::JsonArray *calculations, bool usePayload, const IR::Node *node) | 
| void | createRecirculateFieldsList (ConversionContext *ctxt, const IR::ToplevelBlock *tlb, cstring scalarName) | 
Additional Inherited Members | |
  Public Attributes inherited from BMV2::Backend | |
| P4::P4CoreLibrary & | corelib | 
| P4::ConvertEnums::EnumMapping * | enumMap | 
| BMV2::JsonObjects * | json | 
| BMV2Options & | options | 
| P4::ReferenceMap * | refMap | 
| const IR::ToplevelBlock * | toplevel = nullptr | 
| P4::TypeMap * | typeMap | 
      
  | 
  overridevirtual | 
Declaration which introduces the user metadata. We expect this to be a struct type.
generate error types
Implements BMV2::Backend.