Add diclaimer of copyright to _osname() manual page.
[unix-history] / gnu / usr.bin / gcc1 / cc1 / recog.h
CommitLineData
15637ed4
RG
1/* Declarations for interface to insn recognizer and insn-output.c.
2 Copyright (C) 1987 Free Software Foundation, Inc.
3
4This file is part of GNU CC.
5
6GNU CC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 1, or (at your option)
9any later version.
10
11GNU CC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU CC; see the file COPYING. If not, write to
18the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
19
20/* Recognize an insn and return its insn-code,
21 which is the sequence number of the DEFINE_INSN that it matches.
22 If the insn does not match, return -1. */
23
24extern int recog_memoized ();
25
26/* Extract the operands from an insn that has been recognized. */
27
28extern void insn_extract ();
29
30/* The following vectors hold the results from insn_extract. */
31
32/* Indexed by N, gives value of operand N. */
33extern rtx recog_operand[];
34
35/* Indexed by N, gives location where operand N was found. */
36extern rtx *recog_operand_loc[];
37
38/* Indexed by N, gives location where the Nth duplicate-appearance of
39 an operand was found. This is something that matched MATCH_DUP. */
40extern rtx *recog_dup_loc[];
41
42/* Indexed by N, gives the operand number that was duplicated in the
43 Nth duplicate-appearance of an operand. */
44extern char recog_dup_num[];
45
46/* Tables defined in insn-output.c that give information about
47 each insn-code value. */
48
49/* These are vectors indexed by insn-code. Details in genoutput.c. */
50
51extern char *insn_template[];
52
53extern char *(*insn_outfun[]) ();
54
55extern int insn_n_operands[];
56
57extern int insn_n_dups[];
58
59#ifdef INSN_MACHINE_INFO
60extern INSN_MACHINE_INFO insn_machine_info[];
61#endif
62
63/* Indexed by insn code number, gives # of constraint alternatives. */
64
65extern int insn_n_alternatives[];
66
67/* These are two-dimensional arrays indexed first by the insn-code
68 and second by the operand number. Details in genoutput.c. */
69
70extern char *insn_operand_constraint[][MAX_RECOG_OPERANDS];
71
72extern char insn_operand_address_p[][MAX_RECOG_OPERANDS];
73
74extern enum machine_mode insn_operand_mode[][MAX_RECOG_OPERANDS];
75
76extern char insn_operand_strict_low[][MAX_RECOG_OPERANDS];
77
78extern int (*insn_operand_predicate[][MAX_RECOG_OPERANDS]) ();