Lines Matching refs:op

766 xg_has_userdef_op_fn (op)
767 OpType op;
769 switch (op)
783 xg_apply_userdef_op_fn (op, a)
784 OpType op;
787 switch (op)
809 opname_e *op;
811 for (op = local_opnames; op != NULL; op = op->next)
813 if (strlen (op->opname) == len && strncmp (op->opname, name, len) == 0)
814 return op->opname;
816 op = (opname_e *) xmalloc (sizeof (opname_e));
817 op->opname = (char *) xmalloc (len + 1);
818 strncpy (op->opname, name, len);
819 op->opname[len] = '\0';
820 return op->opname;
828 opname_e *op;
830 for (op = local_opnames; op != NULL; op = op->next)
832 if (strcmp (op->opname, name) == 0)
833 return op->opname;
835 op = (opname_e *) xmalloc (sizeof (opname_e));
836 op->opname = strdup (name);
837 return op->opname;
1000 const opname_map_e *op;
1002 for (op = t->operand_map.head; op != NULL; op = op->next, ++i)
1556 opname_map_e *op;
1606 for (op = r->t.operand_map.head; op != NULL; op = op->next)
1610 if (op_is_constant (op))
1611 append_constant_op (bi, op->operand_num, op_get_constant (op));
1612 else if (parse_id_constant (op->operand_name, "%LITERAL", &idnum))
1618 append_literal_op (bi, op->operand_num, idnum);
1620 else if (parse_id_constant (op->operand_name, "%LABEL", &idnum))
1625 append_label_op (bi, op->operand_num, idnum);
1627 else if (parse_id_constant (op->operand_name, "a", &idnum))
1628 append_constant_op (bi, op->operand_num, idnum);
1629 else if (op->operand_name[0] == '%')
1633 op->operand_name);
1637 opcode_name, op->operand_name, to_string);
1639 append_constant_op (bi, op->operand_num, 0);
1642 append_field_op (bi, op->operand_num, orig_op->operand_num);
1644 else if (parse_special_fn (op->operand_name,
1664 opcode_name, op->operand_name, to_string);
1665 append_constant_op (bi, op->operand_num, 0);
1668 append_user_fn_field_op (bi, op->operand_num,
1674 opcode_name, op->operand_name, to_string);
1675 append_constant_op (bi, op->operand_num, 0);