![]() |
P4C
The P4 Compiler
|
Classes | |
| struct | Decode |
Public Member Functions | |
| MinMax (const Decode *op, int l) | |
| void | dbprint (std::ostream &out) const override |
| bool | equiv (Instruction *a_) override |
| std::string | name () override |
| Instruction * | pass1 (Table *tbl, Table::Actions::Action *) override |
| void | pass2 (Table *tbl, Table::Actions::Action *) override |
| bool | phvRead (std::function< void(const ::Phv::Slice &sl)>) override |
| bool | salu_alu () const override |
Public Member Functions inherited from StatefulAlu::SaluInstruction | |
| SaluInstruction (int lineno) | |
Public Member Functions inherited from Instruction | |
| Instruction (int l) | |
| bool | equiv (const std::unique_ptr< Instruction > &a) |
| bool | phvRead () |
| virtual bool | phvRead (std::function< void(const Phv::Slice &sl)>)=0 |
| virtual bool | salu_output () const |
Public Member Functions inherited from P4::IHasDbPrint | |
| void | print () const |
Public Attributes | |
| boost::optional< unsigned > | constval = boost::none |
| operand | mask |
| StatefulAlu::MinMax::Decode * | opc |
| bool | phv = false |
| operand | postmod |
Public Attributes inherited from Instruction | |
| int | lineno |
| int | slot |
Additional Inherited Members | |
Public Types inherited from Instruction | |
| enum | instruction_set_t { VLIW_ALU = 0 , STATEFUL_ALU = 1 , NUM_SETS = 2 } |
Static Public Member Functions inherited from StatefulAlu::SaluInstruction | |
| static int | decode_predicate (const value_t &exp) |
Static Public Member Functions inherited from Instruction | |
| static Instruction * | decode (Table *, const Table::Actions::Action *, const VECTOR(value_t) &) |
|
inlineoverridevirtual |
Implements Instruction.
|
inlineoverridevirtual |
Implements Instruction.
|
inlineoverridevirtual |
Implements Instruction.
|
overridevirtual |
Implements Instruction.
|
overridevirtual |
Implements Instruction.
|
inlineoverridevirtual |
Reimplemented from Instruction.