2003-02-28 Aldy Hernandez <aldyh@redhat.com>
[official-gcc.git] / gcc / genattrtab.h
blobc64ae64fe175c3c2b97e04bb6cb524128ada41dc
1 /* External definitions of source files of genattrtab.
2 Copyright (C) 2001 Free Software Foundation, Inc.
4 This file is part of GNU CC.
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING. If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 /* Name of function (attribute) to translate insn into number of insn
22 alternatives reservation. */
23 #define INSN_ALTS_FUNC_NAME "insn_alts"
25 /* Defined in genattrtab.c: */
26 extern rtx check_attr_test PARAMS ((rtx, int, int));
27 extern rtx make_numeric_value PARAMS ((int));
28 extern void make_internal_attr PARAMS ((const char *, rtx, int));
29 extern char *attr_printf PARAMS ((unsigned int, const char *, ...))
30 ATTRIBUTE_PRINTF_2;
32 extern int num_dfa_decls;
34 /* Defined in genautomata.c: */
35 extern void gen_cpu_unit PARAMS ((rtx));
36 extern void gen_query_cpu_unit PARAMS ((rtx));
37 extern void gen_bypass PARAMS ((rtx));
38 extern void gen_excl_set PARAMS ((rtx));
39 extern void gen_presence_set PARAMS ((rtx));
40 extern void gen_final_presence_set PARAMS ((rtx));
41 extern void gen_absence_set PARAMS ((rtx));
42 extern void gen_final_absence_set PARAMS ((rtx));
43 extern void gen_automaton PARAMS ((rtx));
44 extern void gen_automata_option PARAMS ((rtx));
45 extern void gen_reserv PARAMS ((rtx));
46 extern void gen_insn_reserv PARAMS ((rtx));
47 extern void initiate_automaton_gen PARAMS ((int, char **));
48 extern void expand_automata PARAMS ((void));
49 extern void write_automata PARAMS ((void));