
Public Member Functions | |
| AddMissingIdAnnotations (ReferenceMap *refMap, TypeMap *typeMap, const ControlPlaneAPI::P4RuntimeArchHandlerBuilderIface *archBuilder) | |
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.