1 /* General-purpose hooks.
2 Copyright (C) 2002, 2003 Free Software Foundation, Inc.
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
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.
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.
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! */
25 bool hook_bool_void_false
PARAMS ((void));
27 /* Check if tm.h has been included, since ISO C does not allow forward
28 definitions for enums, and making hooks.h dependent on tm.h would create
29 unnecessary dependencies where no hook declaration involving
30 enum_reg_class is needed. */
31 #ifdef REG_CLASS_CONTENTS
32 enum reg_class
hook_reg_class_void_no_regs (void);
35 bool hook_bool_bool_false (bool);
36 bool hook_bool_tree_false
PARAMS ((tree
));
37 bool hook_bool_tree_hwi_hwi_tree_false
38 PARAMS ((tree
, HOST_WIDE_INT
, HOST_WIDE_INT
, tree
));
39 bool hook_bool_tree_hwi_hwi_tree_true
40 PARAMS ((tree
, HOST_WIDE_INT
, HOST_WIDE_INT
, tree
));
41 bool hook_bool_rtx_false
PARAMS ((rtx
));
42 bool hook_bool_rtx_int_int_intp_false
PARAMS ((rtx
, int, int, int *));
44 void hook_void_tree_int
PARAMS ((tree
, int));
45 void hook_void_void
PARAMS ((void));
46 void hook_void_FILEptr_constcharptr
PARAMS ((FILE *, const char *));
47 void hook_void_tree
PARAMS ((tree
));
48 void hook_void_tree_treeptr
PARAMS ((tree
, tree
*));
50 int hook_int_tree_tree_1
PARAMS ((tree
, tree
));
51 int hook_int_rtx_0
PARAMS ((rtx
));
52 int hook_int_void_0 (void);
53 int hook_int_size_t_constcharptr_int_0 (size_t, const char *, int);
55 bool default_can_output_mi_thunk_no_vcall
56 PARAMS ((tree
, HOST_WIDE_INT
, HOST_WIDE_INT
, tree
));
58 bool hook_bool_tree_tree_false
PARAMS ((tree
, tree
));
60 rtx hook_rtx_rtx_identity
PARAMS ((rtx
));
61 rtx hook_rtx_rtx_null
PARAMS ((rtx
));