Lines Matching defs:opc
1698 build_opcode_syntax (struct nds32_opcode *opc)
1710 if (opc->syntax)
1713 opc->syntax = xmalloc (MAX_LEX_NUM * sizeof (lex_t));
1714 memset (opc->syntax, 0, MAX_LEX_NUM * sizeof (lex_t));
1716 str = opc->instruction;
1717 plex = opc->syntax;
1787 opc->variant = opt;
1801 opcode_t *opc;
1803 opc = nds32_opcode_table[k];
1804 if (opc == NULL)
1808 while ((opc->opcode != NULL) && (opc->instruction != NULL))
1813 hash = htab_hash_string (opc->opcode);
1815 htab_find_slot_with_hash (opcode_htab, opc->opcode, hash,
1822 build_opcode_syntax (opc);
1828 *slot = opc;
1838 ptr->next = opc;
1839 opc->next = NULL;
1841 opc++;
2450 char *str, struct nds32_opcode *opc)
2484 plex = opc->syntax;
2487 pinsn->insn = opc->value;
2542 while (variant < (1 << opc->variant));
2551 struct nds32_opcode *opc;
2572 opc = (struct nds32_opcode *)
2577 if (opc == NULL && dot != NULL)
2585 else if (opc == NULL)
2593 for (; opc; opc = opc->next)
2596 if (opc->syntax == NULL)
2597 build_opcode_syntax (opc);
2600 pinsn->defuse = opc->defuse;
2604 pinsn->attr = opc->attr;
2605 if (parse_insn (pdesc, pinsn, s, opc))
2609 pinsn->opcode = opc;
2610 if (opc == NULL)