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

Public Member Functions

 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)
 
virtual Instructiondecode (Table *tbl, const Table::Actions::Action *act, const VECTOR(value_t) &op) const =0
 

Public Attributes

unsigned targets
 
bool type_suffix
 

Static Public Attributes

static std::multimap< std::string, Decode * > opcode [NUM_SETS]
 

Member Function Documentation

◆ decode()

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