• Home
  • Raw
  • Download

Lines Matching full:opcode

34 enum class Opcode {  enum
35 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) opcode, argument
70 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) flags, argument
71 constexpr std::array<unsigned, static_cast<size_t>(Opcode::NUM_OPCODES)> INST_FLAGS_TABLE = {
75 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) width, argument
76 constexpr std::array<size_t, static_cast<size_t>(Opcode::NUM_OPCODES)> INST_WIDTH_TABLE = {
80 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) def_idx, argument
81 constexpr std::array<int, static_cast<size_t>(Opcode::NUM_OPCODES)> DEF_IDX_TABLE = {PANDA_INSTRUCT…
84 #define OPLIST(opcode, name, optype, width, flags, def_idx, use_idxs) use_idxs, argument
86 constexpr std::array<std::array<int, MAX_NUMBER_OF_SRC_REGS>, static_cast<size_t>(Opcode::NUM_OPCOD…
100 Opcode opcode = Opcode::INVALID; /* operation type */ member
125 if (opcode == Opcode::INVALID) { // TODO(mbolshov): introduce 'label' opcode for labels in HasFlag()
128 return (INST_FLAGS_TABLE[static_cast<size_t>(opcode)] & flag) != 0; in HasFlag()
169 if (opcode == Opcode::INVALID) { in MaxRegEncodingWidth()
172 return INST_WIDTH_TABLE[static_cast<size_t>(opcode)]; in MaxRegEncodingWidth()
181 if (opcode == Opcode::INVALID) { in Uses()
185 auto use_idxs = USE_IDXS_TABLE[static_cast<size_t>(opcode)]; in Uses()
202 if (opcode == Opcode::INVALID) { in Def()
205 auto def_idx = DEF_IDX_TABLE[static_cast<size_t>(opcode)]; in Def()