P4C
The P4 Compiler
 
Loading...
Searching...
No Matches
P4Tools::ConvertVarbits Class Reference
Inheritance diagram for P4Tools::ConvertVarbits:

Public Member Functions

const IR::Node * postorder (IR::Expression *expr) override
 
const IR::Node * postorder (IR::Type_Varbits *varbit) override
 

Detailed Description

Converts all existing Type_Varbit types in the program into a custom Extracted_Varbit type. Extracted_Varbit also contains information about the width that was assigned to the type by the extract call.