P4C
The P4 Compiler
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
VLIW::AluOP::Decode Struct Reference
Inheritance diagram for VLIW::AluOP::Decode:
[legend]

Public Member Functions

 Decode (const char *n, std::set< target_t > targ, unsigned opc, Decode *sw, const char *alias_name=0)
 
 Decode (const char *n, std::set< target_t > targ, unsigned opc, int flgs, Decode *sw, const char *alias_name=0)
 
 Decode (const char *n, std::set< target_t > targ, unsigned opc, int flgs=0, const char *alias_name=0)
 
 Decode (const char *n, target_t targ, unsigned opc, Decode *sw, const char *alias_name=0)
 
 Decode (const char *n, target_t targ, unsigned opc, int flgs=0)
 
 Decode (const char *n, unsigned opc, Decode *sw, const char *alias_name=0)
 
 Decode (const char *n, unsigned opc, int flgs, Decode *sw, const char *alias_name=0)
 
 Decode (const char *n, unsigned opc, int flgs=0, const char *alias_name=0)
 
Instructiondecode (Table *tbl, const Table::Actions::Action *act, const VECTOR(value_t) &op) const override
 
- Public Member Functions inherited from Instruction::Decode
 Decode (const char *name, int set=VLIW_ALU, bool ts=false)
 
 Decode (const char *name, std::set< target_t > target, int set=VLIW_ALU, bool ts=false)
 
 Decode (const char *name, target_t target, int set=VLIW_ALU, bool ts=false)
 
const Decodealias (const char *name, int set=VLIW_ALU, bool ts=false)
 

Public Attributes

int flags = 0
 
std::string name
 
unsigned opcode
 
const Decodeswap_args
 
- Public Attributes inherited from Instruction::Decode
unsigned targets
 
bool type_suffix
 

Additional Inherited Members

- Static Public Attributes inherited from Instruction::Decode
static std::multimap< std::string, Decode * > opcode [NUM_SETS]
 

Member Function Documentation

◆ decode()

Instruction * AluOP::Decode::decode ( Table * tbl,
const Table::Actions::Action * act,
const VECTOR(value_t) & op ) const
overridevirtual

Implements Instruction::Decode.