OSDN Git Service

* config.gcc: Add an extra_header for ARM targets.
[pf3gnuchains/gcc-fork.git] / gcc / hooks.h
1 /* General-purpose hooks.
2    Copyright (C) 2002, 2003 Free Software Foundation, Inc.
3
4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License as published by the
6 Free Software Foundation; either version 2, or (at your option) any
7 later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18  In other words, you are welcome to use, share and improve this program.
19  You are forbidden to forbid anyone else to use, share and improve
20  what you give them.   Help stamp out software-hoarding!  */
21
22 #ifndef GCC_HOOKS_H
23 #define GCC_HOOKS_H
24
25 bool hook_bool_void_false PARAMS ((void));
26 bool hook_bool_tree_false PARAMS ((tree));
27 bool hook_bool_tree_hwi_hwi_tree_false
28   PARAMS ((tree, HOST_WIDE_INT, HOST_WIDE_INT, tree));
29 bool hook_bool_tree_hwi_hwi_tree_true
30   PARAMS ((tree, HOST_WIDE_INT, HOST_WIDE_INT, tree));
31 bool hook_bool_rtx_false PARAMS ((rtx));
32 bool hook_bool_rtx_int_int_intp_false PARAMS ((rtx, int, int, int *));
33
34 void hook_void_tree_int PARAMS ((tree, int));
35 void hook_void_void PARAMS ((void));
36 void hook_void_FILEptr_constcharptr PARAMS ((FILE *, const char *));
37 void hook_void_tree PARAMS ((tree));
38 void hook_void_tree_treeptr PARAMS ((tree, tree *));
39
40 int hook_int_tree_tree_1 PARAMS ((tree, tree));
41 int hook_int_rtx_0 PARAMS ((rtx));
42 int hook_int_void_0 (void);
43 int hook_int_size_t_constcharptr_int_0 (size_t, const char *, int);
44
45 bool default_can_output_mi_thunk_no_vcall
46   PARAMS ((tree, HOST_WIDE_INT, HOST_WIDE_INT, tree));
47
48 bool hook_bool_tree_tree_false PARAMS ((tree, tree));
49
50 rtx hook_rtx_rtx_identity PARAMS ((rtx));
51 rtx hook_rtx_rtx_null PARAMS ((rtx));
52
53 #endif