P4C
The P4 Compiler
 
Loading...
Searching...
No Matches
P4::AddMissingIdAnnotations Class Referencefinal
Inheritance diagram for P4::AddMissingIdAnnotations:

Public Member Functions

 AddMissingIdAnnotations (ReferenceMap *refMap, TypeMap *typeMap, const ControlPlaneAPI::P4RuntimeArchHandlerBuilderIface *archBuilder)
 

Detailed Description

Scans the P4 program, run the evaluator pass, and derives the P4Runtime Ids from the top level blocks produced by the evaluator pass. The pass then computes IDs for P4Runtime nodes that are missing an ID and attaches the computed ID to the node.