1 /* General-purpose hooks. 2 Copyright (C) 2002, 2004 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_uintp_uintp_false PARAMS ((unsigned int *, unsigned 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 42 bool default_can_output_mi_thunk_no_vcall 43 PARAMS ((tree, HOST_WIDE_INT, HOST_WIDE_INT, tree)); 44 45 #endif 46