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

Public Member Functions

 RemoveUselessCasts (const P4::TypeMap *typeMap)
 
const IR::Node * postorder (IR::Cast *cast) override
 

Detailed Description

Removes casts where the input expression has the exact same type as the cast type