P4C
The P4 Compiler
|
Public Member Functions | |
PnaDpdkTableStepper (PnaDpdkExprStepper *stepper, const IR::P4Table *table) | |
Public Member Functions inherited from P4::P4Tools::P4Testgen::Pna::SharedPnaTableStepper | |
SharedPnaTableStepper (SharedPnaExprStepper *stepper, const IR::P4Table *table) | |
Public Member Functions inherited from P4::P4Tools::P4Testgen::TableStepper | |
TableStepper (ExprStepper *stepper, const IR::P4Table *table) | |
bool | eval () |
Additional Inherited Members | |
Static Public Member Functions inherited from P4::P4Tools::P4Testgen::TableStepper | |
static const IR::StateVariable & | getTableActionVar (const IR::P4Table *table) |
static const IR::StateVariable & | getTableHitVar (const IR::P4Table *table) |
static const IR::StateVariable & | getTableResultVar (const IR::P4Table *table) |
static const IR::StateVariable & | getTableStateVariable (const IR::Type *type, const IR::P4Table *table, cstring name, std::optional< int > idx1_opt=std::nullopt, std::optional< int > idx2_opt=std::nullopt) |
Protected Types inherited from P4::P4Tools::P4Testgen::Pna::SharedPnaTableStepper | |
enum class | TableImplementation { standard , selector , profile , constant , skip } |
Protected Member Functions inherited from P4::P4Tools::P4Testgen::Pna::SharedPnaTableStepper | |
bool | checkForActionProfile () |
Check whether the table has an action profile implementation. | |
bool | checkForActionSelector () |
Check whether the table has an action selector implementation. | |
void | checkTargetProperties (const std::vector< const IR::ActionListElement * > &tableActionList) override |
const IR::Expression * | computeTargetMatchType (const TableUtils::KeyProperties &keyProperties, TableMatchMap *matches, const IR::Expression *hitCondition) override |
void | evalTableActionProfile (const std::vector< const IR::ActionListElement * > &tableActionList) |
void | evalTableActionSelector (const std::vector< const IR::ActionListElement * > &tableActionList) |
void | evalTargetTable (const std::vector< const IR::ActionListElement * > &tableActionList) override |
Protected Member Functions inherited from P4::P4Tools::P4Testgen::TableStepper | |
void | addDefaultAction (std::optional< const IR::Expression * > tableMissCondition) |
tableMissCondition is true. | |
std::vector< const IR::ActionListElement * > | buildTableActionList () |
Helper function that collects the list of actions contained in the table. | |
const IR::Expression * | computeHit (TableMatchMap *matches) |
void | evalTableCall () |
const IR::Expression * | evalTableConstEntries () |
void | evalTableControlEntries (const std::vector< const IR::ActionListElement * > &tableActionList) |
void | evalTaintedTable () |
const ExecutionState * | getExecutionState () |
const ProgramInfo * | getProgramInfo () |
ExprStepper::Result | getResult () |
bool | resolveTableKeys () |
void | setTableDefaultEntries (const std::vector< const IR::ActionListElement * > &tableActionList) |
Static Protected Member Functions inherited from P4::P4Tools::P4Testgen::TableStepper | |
static const IR::StringLiteral * | getTableActionString (const IR::MethodCallExpression *actionCall) |
Protected Attributes inherited from P4::P4Tools::P4Testgen::Pna::SharedPnaTableStepper | |
struct P4::P4Tools::P4Testgen::Pna::SharedPnaTableStepper::SharedPnaProperties | SharedPnaProperties |
Protected Attributes inherited from P4::P4Tools::P4Testgen::TableStepper | |
TableUtils::TableProperties | properties |
Basic table properties that are set when initializing the TableStepper. | |
ExprStepper * | stepper |
Reference to the calling expression stepper. | |
const IR::P4Table * | table |
The table for this particular stepper. | |