![]() |
P4C
The P4 Compiler
|
Public Member Functions | |
| XDPHelpProgram (const EbpfOptions &options) | |
| void | emit (CodeBuilder *builder) |
Public Member Functions inherited from EBPF::EBPFProgram | |
| EBPFProgram (const EbpfOptions &options, const IR::P4Program *program, P4::ReferenceMap *refMap, P4::TypeMap *typeMap, const IR::ToplevelBlock *toplevel) | |
| virtual bool | build () |
| DECLARE_TYPEINFO (EBPFProgram, EBPFObject) | |
| virtual void | emitC (CodeBuilder *builder, cstring headerFile) |
| virtual void | emitCommonPreamble (CodeBuilder *builder) |
| virtual void | emitGeneratedComment (CodeBuilder *builder) |
| virtual void | emitH (CodeBuilder *builder, cstring headerFile) |
Public Member Functions inherited from EBPF::EBPFObject | |
| DECLARE_TYPEINFO (EBPFObject) | |
Public Member Functions inherited from ICastable | |
| template<typename T > | |
| T & | as () |
| Tries to convert the class to type T. A BUG occurs if the cast fails. | |
| template<typename T > | |
| const T & | as () const |
| Tries to convert the class to type T. A BUG occurs if the cast fails. | |
| template<typename T > | |
| T * | checkedTo () |
| Performs a checked cast. A BUG occurs if the cast fails. | |
| template<typename T > | |
| const T * | checkedTo () const |
| Performs a checked cast. A BUG occurs if the cast fails. | |
Public Member Functions inherited from RTTI::Base | |
| template<typename T > | |
| bool | is () const noexcept |
| virtual bool | isA (TypeId typeId) const noexcept=0 |
| template<typename T > | |
| const T * | to () const noexcept |
Same as to, but returns const pointer to T. | |
| template<typename T > | |
| T * | to () noexcept |
| virtual TypeId | typeId () const noexcept=0 |
Public Attributes | |
| cstring | sectionName |
Public Attributes inherited from EBPF::EBPFProgram | |
| cstring | arrayIndexType = "u32" |
| cstring | byteVar |
| EBPFControl * | control |
| EBPFDeparser * | deparser |
| cstring | endLabel |
| cstring | errorEnum |
| cstring | errorVar |
| cstring | functionName |
| cstring | headerStartVar |
| cstring | lengthVar |
| cstring | license = "GPL" |
| EBPFModel & | model |
| cstring | offsetVar |
| const EbpfOptions & | options |
| cstring | packetEndVar |
| cstring | packetStartVar |
| EBPFParser * | parser |
| const IR::P4Program * | program |
| const Target * | progTarget |
| P4::ReferenceMap * | refMap |
| const IR::ToplevelBlock * | toplevel |
| P4::TypeMap * | typeMap |
| cstring | zeroKey |
Additional Inherited Members | |
Static Public Member Functions inherited from EBPF::EBPFObject | |
| static cstring | externalName (const IR::IDeclaration *declaration) |
| static cstring | getSpecializedTypeName (const IR::Declaration_Instance *di) |
| static cstring | getTypeName (const IR::Declaration_Instance *di) |
Protected Member Functions inherited from EBPF::EBPFProgram | |
| virtual void | emitHeaderInstances (CodeBuilder *builder) |
| virtual void | emitLocalVariables (CodeBuilder *builder) |
| virtual void | emitPipeline (CodeBuilder *builder) |
| virtual void | emitPreamble (CodeBuilder *builder) |
| virtual void | emitTypes (CodeBuilder *builder) |
Protected Member Functions inherited from RTTI::Base | |
| virtual const void * | toImpl (TypeId typeId) const noexcept=0 |