P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::FunctionSpecialization Struct Reference

Describes how a generic function is specialized. More...

#include <specializeGenericFunctions.h>

Public Member Functions

 FunctionSpecialization (cstring name, const IR::MethodCallExpression *invocation, const IR::Function *function, const IR::Node *insert)
 

Public Attributes

const IR::NodeinsertBefore
 Point in IR tree where to insert the function.
 
const IR::MethodCallExpression * invocation
 Invocation which causes this specialization.
 
cstring name
 Name to use for specialized function.
 
const IR::Function * original
 Function that is being specialized.
 
const IR::Function * specialized
 Result of specialization.
 

Detailed Description

Describes how a generic function is specialized.