P4C
The P4 Compiler
|
Public Member Functions | |
virtual bool | convertAsGlobal (ProgramStructure *, const IR::Declaration_Instance *) |
virtual const IR::Statement * | convertExternCall (ProgramStructure *, const IR::Declaration_Instance *, const IR::Primitive *) |
virtual const IR::Declaration_Instance * | convertExternInstance (ProgramStructure *, const IR::Declaration_Instance *, cstring, IR::IndexedVector< IR::Declaration > *) |
virtual const IR::Type_Extern * | convertExternType (ProgramStructure *, const IR::Type_Extern *, cstring) |
Static Public Member Functions | |
static void | addConverter (cstring type, ExternConverter *) |
static bool | cvtAsGlobal (ProgramStructure *s, const IR::Declaration_Instance *di) |
static const IR::Statement * | cvtExternCall (ProgramStructure *s, const IR::Declaration_Instance *di, const IR::Primitive *p) |
static const IR::Declaration_Instance * | cvtExternInstance (ProgramStructure *s, const IR::Declaration_Instance *di, cstring name, IR::IndexedVector< IR::Declaration > *scope) |
static const IR::Type_Extern * | cvtExternType (ProgramStructure *s, const IR::Type_Extern *e, cstring name) |
static ExternConverter * | get (const IR::Declaration_Instance *ext) |
static ExternConverter * | get (const IR::Type_Extern *type) |
static ExternConverter * | get (cstring type) |
|
static |
register a converter for a p4_14 extern_type @type: extern_type that the converter works on