P4C
The P4 Compiler
 
Loading...
Searching...
No Matches
P4::DoSimplifySwitch Class Reference

Simplify select and switch statements that have constant arguments. More...

Inheritance diagram for P4::DoSimplifySwitch:

Public Member Functions

 DoSimplifySwitch (TypeMap *typeMap)
 
const IR::Node * postorder (IR::SwitchStatement *stat) override
 

Detailed Description

Simplify select and switch statements that have constant arguments.