![]() |
P4C
The P4 Compiler
|
Public Member Functions | |
Base (const Base &a) | |
Base (int line) | |
virtual unsigned | bitoffset (int group) const |
virtual int | bits (int group, int dest_size=-1)=0 |
virtual bool | check () |
virtual Base * | clone ()=0 |
virtual void | dbprint (std::ostream &) const =0 |
virtual bool | equiv (const Base *) const =0 |
virtual Base * | lookup (Base *&ref) |
virtual void | pass1 (Table *tbl, int group) |
virtual void | pass2 (int group) |
virtual int | phvGroup () |
virtual bool | phvRead (std::function< void(const ::Phv::Slice &sl)>) |
Public Attributes | |
int | lineno |
|
inlinevirtual |
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 in VLIW::Operand::Action, VLIW::Operand::Named, and VLIW::Operand::Phv.
|
inlinevirtual |
pass2 called as part of pass2 processing of stage
group | mau PHV group of the ALU (dest) for this instruction |
Reimplemented in VLIW::Operand::Action, VLIW::Operand::HashDist, and VLIW::Operand::RandomGen.