P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::P4V1::StatefulAluConverter Class Reference
Inheritance diagram for P4::P4V1::StatefulAluConverter:
[legend]

Public Member Functions

const IR::Statement * convertExternCall (P4V1::ProgramStructure *, const IR::Declaration_Instance *, const IR::Primitive *) override
 
const IR::Declaration_Instance * convertExternInstance (P4V1::ProgramStructure *, const IR::Declaration_Instance *, cstring, IR::IndexedVector< IR::Declaration > *) override
 
const IR::Type_Extern * convertExternType (P4V1::ProgramStructure *, const IR::Type_Extern *, cstring) override
 
- Public Member Functions inherited from P4::P4V1::ExternConverter
virtual bool convertAsGlobal (ProgramStructure *, const IR::Declaration_Instance *)
 

Additional Inherited Members

- Static Public Member Functions inherited from P4::P4V1::ExternConverter
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 ExternConverterget (const IR::Declaration_Instance *ext)
 
static ExternConverterget (const IR::Type_Extern *type)
 
static ExternConverterget (cstring type)
 

Member Function Documentation

◆ convertExternCall()

const IR::Statement * P4V1::StatefulAluConverter::convertExternCall ( P4V1::ProgramStructure * structure,
const IR::Declaration_Instance * ext,
const IR::Primitive * prim )
overridevirtual

Reimplemented from P4::P4V1::ExternConverter.

◆ convertExternInstance()

const IR::Declaration_Instance * P4V1::StatefulAluConverter::convertExternInstance ( P4V1::ProgramStructure * structure,
const IR::Declaration_Instance * ext,
cstring name,
IR::IndexedVector< IR::Declaration > * scope )
overridevirtual

Reimplemented from P4::P4V1::ExternConverter.

◆ convertExternType()

const IR::Type_Extern * P4V1::StatefulAluConverter::convertExternType ( P4V1::ProgramStructure * structure,
const IR::Type_Extern * ,
cstring  )
overridevirtual

Reimplemented from P4::P4V1::ExternConverter.