Lines Matching defs:opcode
41 static struct instruction *alloc_instruction(int opcode, int size)
44 insn->opcode = opcode;
55 static struct instruction *alloc_typed_instruction(int opcode, struct symbol *type)
57 struct instruction *insn = alloc_instruction(opcode, type_size(type));
309 int opcode = insn->opcode;
317 if (opcode < ARRAY_SIZE(opcodes)) {
318 const char *op = opcodes[opcode];
320 buf += sprintf(buf, "opcode:%d", opcode);
331 switch (opcode) {
518 if (def->opcode != OP_PHI) {
877 enum opcode op = insn->opcode;
1044 switch (insn->opcode) {
1365 int opcode;
1373 opcode = get_cast_opcode(to, from);
1374 switch (opcode) {
1399 insn = alloc_typed_instruction(opcode, to);
1408 static int map_opcode(int opcode, struct symbol *ctype)
1411 return opcode_table[opcode].to_float;
1413 switch(opcode) {
1415 opcode++;
1418 return opcode;
1476 int opcode;
1483 opcode = map_opcode(op_trans[expr->op - SPECIAL_BASE], ctype);
1484 dst = add_binary_op(ep, ctype, opcode, oldvalue, value);
1586 static const int opcode[] = {
1598 op = map_opcode(opcode[expr->op], expr->ctype);
2489 switch (insn->opcode) {
2522 switch (insn->opcode) {