- return fmt;
-}
-
-arch_insn_t *arch_add_insn(arch_insn_format_t *fmt, const char *name)
-{
- /* Insert the insn into the isa. */
- arch_insn_t *insn = arch_data_insert(insn, arch_obj_get_isa(fmt), name, NULL);
-
- insn->format = fmt;
- insn->op = new_ir_op(get_next_ir_opcode(), name, op_pin_state_pinned, 0,
- oparity_dynamic, 0, sizeof(arch_irn_data_t) + fmt->irn_data_size);
-
- return insn;
-}
-
-arch_insn_format_t *arch_find_insn_format(const arch_isa_t *isa, const char *name)
-{
- return arch_data_find(insn_format, isa, name);
-}
-
-arch_isa_t *arch_find_isa(const char *name)
-{
- return arch_data_find(isa, NULL, name);
-}
-
-arch_insn_t *arch_find_insn(const arch_isa_t *isa, const char *name)
-{
- return arch_data_find(insn, isa, name);