![]() |
P4C
The P4 Compiler
|
Public Member Functions | |
Named (int line, const std::string &n, int l, int h, Table *t, const std::string &act) | |
Named (int line, const std::string &n, int l, int h, Table *t, const std::string &act, std::string &m) | |
Named (int line, const std::string &n, TableOutputModifier m, int l, int h, Table *t, const std::string &act) | |
Named (int line, const std::string &n, TableOutputModifier mod, int l, int h, Table *t, const std::string &act, std::string &m) | |
unsigned | bitoffset (int group) const override |
int | bits (int group, int dest_size=-1) override |
bool | check () override |
Named * | clone () override |
void | dbprint (std::ostream &out) const override |
bool | equiv (const Base *a_) const override |
Base * | lookup (Base *&ref) override |
void | pass1 (Table *, int) override |
int | phvGroup () override |
![]() | |
Base (const Base &a) | |
Base (int line) | |
virtual void | pass2 (int group) |
virtual bool | phvRead (std::function< void(const ::Phv::Slice &sl)>) |
Public Attributes | |
std::string | action |
int | hi |
int | lo |
TableOutputModifier | mod = TableOutputModifier::NONE |
std::string | name |
std::string | p4name |
Table * | tbl |
![]() | |
int | lineno |
|
inlineoverridevirtual |
Reimplemented from VLIW::Operand::Base.
|
inlineoverridevirtual |
Implements VLIW::Operand::Base.
|
inlineoverridevirtual |
Reimplemented from VLIW::Operand::Base.
|
inlineoverridevirtual |
Implements VLIW::Operand::Base.
|
inlineoverridevirtual |
Implements VLIW::Operand::Base.
|
inlineoverridevirtual |
Implements VLIW::Operand::Base.
|
overridevirtual |
Reimplemented from 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 |
Reimplemented from VLIW::Operand::Base.