1/* External definitions of source files of genattrtab.
2   Copyright (C)  2001, 2003, 2005 Free Software Foundation, Inc.
3
4This file is part of GCC.
5
6GCC 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 2, or (at your option)
9any later version.
10
11GCC 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 GCC; see the file COPYING.  If not, write to
18the Free Software Foundation, 51 Franklin Street, Fifth Floor,
19Boston, MA 02110-1301, USA.  */
20
21/* Name of function (attribute) to translate insn into number of insn
22   alternatives reservation.  */
23#define INSN_ALTS_FUNC_NAME "insn_alts"
24
25/* Defined in genattrtab.c: */
26extern rtx check_attr_test (rtx, int, int);
27extern rtx make_numeric_value (int);
28extern void make_internal_attr (const char *, rtx, int);
29extern char *attr_printf (unsigned int, const char *, ...)
30  ATTRIBUTE_PRINTF_2;
31
32extern int num_dfa_decls;
33
34/* Defined in genautomata.c: */
35extern void gen_cpu_unit (rtx);
36extern void gen_query_cpu_unit (rtx);
37extern void gen_bypass (rtx);
38extern void gen_excl_set (rtx);
39extern void gen_presence_set (rtx);
40extern void gen_final_presence_set (rtx);
41extern void gen_absence_set (rtx);
42extern void gen_final_absence_set (rtx);
43extern void gen_automaton (rtx);
44extern void gen_automata_option (rtx);
45extern void gen_reserv (rtx);
46extern void gen_insn_reserv (rtx);
47extern void initiate_automaton_gen (int, char **);
48extern void expand_automata (void);
49extern void write_automata (void);
50
51/* Flags for make_internal_attr's `special' parameter.  */
52#define ATTR_NONE		0
53#define ATTR_SPECIAL		(1 << 0)
54#define ATTR_STATIC		(1 << 1)
55