|
|
1.1 root 1: /* Declarations for interface to insn recognizer and insn-output.c.
2: Copyright (C) 1987 Free Software Foundation, Inc.
3:
4: This file is part of GNU CC.
5:
6: GNU CC is distributed in the hope that it will be useful,
7: but WITHOUT ANY WARRANTY. No author or distributor
8: accepts responsibility to anyone for the consequences of using it
9: or for whether it serves any particular purpose or works at all,
10: unless he says so in writing. Refer to the GNU CC General Public
11: License for full details.
12:
13: Everyone is granted permission to copy, modify and redistribute
14: GNU CC, but only under the conditions described in the
15: GNU CC General Public License. A copy of this license is
16: supposed to have been given to you along with GNU CC so you
17: can know your rights and responsibilities. It should be in a
18: file named COPYING. Among other things, the copyright notice
19: and this notice must be preserved on all copies. */
20:
21: /* Recognize an insn and return its insn-code,
22: which is the sequence number of the DEFINE_INSN that it matches.
23: If the insn does not match, return -1. */
24:
25: extern int recog_memoized ();
26:
27: /* Extract the operands from an insn that has been recognized. */
28:
29: extern void insn_extract ();
30:
31: /* The following vectors hold the results from insn_extract. */
32:
33: /* Indexed by N, gives value of operand N. */
34: extern rtx recog_operand[];
35:
36: /* Indexed by N, gives location where operand N was found. */
37: extern rtx *recog_operand_loc[];
38:
39: /* Indexed by N, gives location where the Nth duplicate-appearance of
40: an operand was found. This is something that matched MATCH_DUP. */
41: extern rtx *recog_dup_loc[];
42:
43: /* Indexed by N, gives the operand number that was duplicated in the
44: Nth duplicate-appearance of an operand. */
45: extern char recog_dup_num[];
46:
47: /* Tables defined in insn-output.c that give information about
48: each insn-code value. */
49:
50: /* These are vectors indexed by insn-code. Details in genoutput.c. */
51:
52: extern char *insn_template[];
53:
54: extern char *(*insn_outfun[]) ();
55:
56: extern int insn_n_operands[];
57:
58: extern int insn_n_dups[];
59:
60: /* These are two-dimensional arrays indexed first by the insn-code
61: and second by the operand number. Details in genoutput.c. */
62:
63: extern char *insn_operand_constraint[][MAX_RECOG_OPERANDS];
64:
65: extern char insn_operand_address_p[][MAX_RECOG_OPERANDS];
66:
67: extern enum machine_mode insn_operand_mode[][MAX_RECOG_OPERANDS];
68:
69: extern char insn_operand_strict_low[][MAX_RECOG_OPERANDS];
70:
71: extern int (*insn_operand_predicate[][MAX_RECOG_OPERANDS]) ();
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.