![]() |
P4C
The P4 Compiler
|
Classes | |
| struct | Decode |
Public Member Functions | |
| NulOP (Table *tbl, const Table::Actions::Action *act, const Decode *o, const value_t &d) | |
| void | dbprint (std::ostream &out) const |
| int | encode () |
| bool | equiv (Instruction *a_) |
| std::string | name () |
| Instruction * | pass1 (Table *tbl, Table::Actions::Action *) |
| void | pass2 (Table *, Table::Actions::Action *) |
| bool | phvRead (std::function< void(const ::Phv::Slice &sl)> fn) |
Public Member Functions inherited from VLIW::VLIWInstruction | |
| VLIWInstruction (int l) | |
| template<class REGS> | |
| void | write_regs_2 (REGS ®s, Table *tbl, Table::Actions::Action *act) |
| template<typename REGS> | |
| void | write_regs_2 (REGS ®s, Table *tbl, Table::Actions::Action *act) |
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_alu () const |
| virtual bool | salu_output () const |
Public Member Functions inherited from P4::IHasDbPrint | |
| void | print () const |
Public Attributes | |
| Phv::Ref | dest |
| VLIW::NulOP::Decode * | opc |
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 Instruction | |
| static Instruction * | decode (Table *, const Table::Actions::Action *, const VECTOR(value_t) &) |
|
inlinevirtual |
Implements Instruction.
|
virtual |
Implements VLIW::VLIWInstruction.
|
virtual |
Implements Instruction.
|
inlinevirtual |
Implements Instruction.
|
virtual |
Implements Instruction.
|
inlinevirtual |
Implements Instruction.