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

Public Member Functions

void createReplacement (const IR::P4Action *original, const IR::Node *user, const IR::P4Action *replacement)
 
const IR::P4Action * getActionUser (const IR::P4Action *action, const IR::Node *user)
 
void setRefReplacement (const IR::PathExpression *path, const IR::P4Action *replacement)
 

Public Attributes

std::map< const IR::PathExpression *, const IR::P4Action * > repl
 
std::map< const IR::P4Action *, ordered_map< const IR::Node *, const IR::P4Action * > * > toInsert