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

#include <eliminateTuples.h>

Public Member Functions

 ReplacementMap (NameGenerator *ng, TypeMap *typeMap)
 
IR::IndexedVector< IR::Node > * getNewReplacements ()
 
const IR::Type_Struct * getReplacement (const IR::Type_BaseList *tt)
 

Public Attributes

P4::NameGeneratorng
 
P4::TypeMaptypeMap
 

Detailed Description

Maintains for each type that may contain a tuple (or is a tuple) the corresponding struct replacement.