P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::P4Tools::P4Smith::Smith Class Reference
Inheritance diagram for P4::P4Tools::P4Smith::Smith:
[legend]

Public Member Functions

int main (const std::vector< const char * > &args)
 
- Public Member Functions inherited from P4::P4Tools::AbstractP4cTool< SmithOptions >
int main (std::string_view toolName, const std::vector< const char * > &args)
 

Protected Member Functions

int mainImpl (const CompilerResult &compilerResult) override
 
void registerTarget () override
 
- Protected Member Functions inherited from P4::P4Tools::AbstractP4cTool< SmithOptions >

Member Function Documentation

◆ mainImpl()

int P4::P4Tools::P4Smith::Smith::mainImpl ( const CompilerResult & compilerResult)
overrideprotectedvirtual

Provides the implementation of the tool.

Parameters
programThe P4 program after mid-end processing.

Implements P4::P4Tools::AbstractP4cTool< SmithOptions >.

◆ registerTarget()

void P4::P4Tools::P4Smith::Smith::registerTarget ( )
overrideprotectedvirtual