![]() |
P4C
The P4 Compiler
|
Public Member Functions | |
| Action (int line, const std::string &n, Table *tbl, Table::Format::Field *f, unsigned l, unsigned h) | |
| Action (int line, const std::string &n, Table *tbl, Table::Format::Field *f, unsigned l, unsigned h, const std::string &m) | |
| Action (int line, const std::string &n, TableOutputModifier mod, Table *tbl, unsigned l, unsigned h) | |
| Action (int line, const std::string &n, TableOutputModifier mod, Table *tbl, unsigned l, unsigned h, const std::string &m) | |
| unsigned | bitoffset (int group) const override |
| int | bits (int group, int dest_size=-1) override |
| Action * | clone () override |
| void | dbprint (std::ostream &out) const override |
| bool | equiv (const Base *a_) const override |
| void | pass1 (Table *tbl, int group) override |
| void | pass2 (int group) override |
Public Member Functions inherited from VLIW::Operand::Base | |
| Base (const Base &a) | |
| Base (int line) | |
| virtual bool | check () |
| virtual Base * | lookup (Base *&ref) |
| virtual int | phvGroup () |
| virtual bool | phvRead (std::function< void(const ::Phv::Slice &sl)>) |
Public Attributes | |
| Table::Format::Field * | field |
| int | hi |
| int | lo |
| TableOutputModifier | mod = TableOutputModifier::NONE |
| std::string | name |
| std::string | p4name |
| Table * | table |
Public Attributes inherited from VLIW::Operand::Base | |
| int | lineno |
|
inlineoverridevirtual |
Reimplemented from VLIW::Operand::Base.
|
inlineoverridevirtual |
Implements VLIW::Operand::Base.
|
inlineoverridevirtual |
Implements VLIW::Operand::Base.
|
inlineoverridevirtual |
Implements VLIW::Operand::Base.
|
inlineoverridevirtual |
Implements VLIW::Operand::Base.
|
inlineoverridevirtual |
pass1 called as part of pass1 processing of stage
| tbl | table containing the action with the instruction with this operand |
| group | mau PHV group of the ALU (dest) for this instruction |
Reimplemented from VLIW::Operand::Base.
|
inlineoverridevirtual |
pass2 called as part of pass2 processing of stage
| group | mau PHV group of the ALU (dest) for this instruction |
Reimplemented from VLIW::Operand::Base.