annotate gcc/hooks.h @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 /* General-purpose hooks.
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
2 Copyright (C) 2002-2020 Free Software Foundation, Inc.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 This program is free software; you can redistribute it and/or modify it
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 under the terms of the GNU General Public License as published by the
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 Free Software Foundation; either version 3, or (at your option) any
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 later version.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 This program is distributed in the hope that it will be useful,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 GNU General Public License for more details.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 You should have received a copy of the GNU General Public License
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 along with this program; see the file COPYING3. If not see
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
16 <http://www.gnu.org/licenses/>.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 In other words, you are welcome to use, share and improve this program.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 You are forbidden to forbid anyone else to use, share and improve
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 what you give them. Help stamp out software-hoarding! */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 #ifndef GCC_HOOKS_H
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23 #define GCC_HOOKS_H
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 extern bool hook_bool_void_false (void);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 extern bool hook_bool_void_true (void);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 extern bool hook_bool_bool_false (bool);
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
29 extern bool hook_bool_bool_gcc_optionsp_false (bool, struct gcc_options *);
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
30 extern bool hook_bool_const_int_const_int_true (const int, const int);
111
kono
parents: 67
diff changeset
31 extern bool hook_bool_mode_false (machine_mode);
kono
parents: 67
diff changeset
32 extern bool hook_bool_mode_true (machine_mode);
kono
parents: 67
diff changeset
33 extern bool hook_bool_mode_mode_true (machine_mode, machine_mode);
kono
parents: 67
diff changeset
34 extern bool hook_bool_mode_const_rtx_false (machine_mode, const_rtx);
kono
parents: 67
diff changeset
35 extern bool hook_bool_mode_const_rtx_true (machine_mode, const_rtx);
kono
parents: 67
diff changeset
36 extern bool hook_bool_mode_rtx_false (machine_mode, rtx);
kono
parents: 67
diff changeset
37 extern bool hook_bool_mode_rtx_true (machine_mode, rtx);
kono
parents: 67
diff changeset
38 extern bool hook_bool_const_rtx_insn_const_rtx_insn_true (const rtx_insn *,
kono
parents: 67
diff changeset
39 const rtx_insn *);
kono
parents: 67
diff changeset
40 extern bool hook_bool_mode_uhwi_false (machine_mode,
kono
parents: 67
diff changeset
41 unsigned HOST_WIDE_INT);
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
42 extern bool hook_bool_puint64_puint64_true (poly_uint64, poly_uint64);
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
43 extern bool hook_bool_uint_uint_mode_false (unsigned int, unsigned int,
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
44 machine_mode);
111
kono
parents: 67
diff changeset
45 extern bool hook_bool_uint_mode_true (unsigned int, machine_mode);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
46 extern bool hook_bool_tree_false (tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
47 extern bool hook_bool_const_tree_false (const_tree);
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
48 extern bool hook_bool_const_tree_const_tree_true (const_tree, const_tree);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
49 extern bool hook_bool_tree_true (tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
50 extern bool hook_bool_const_tree_true (const_tree);
111
kono
parents: 67
diff changeset
51 extern bool hook_bool_gsiptr_false (gimple_stmt_iterator *);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
52 extern bool hook_bool_const_tree_hwi_hwi_const_tree_false (const_tree,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
53 HOST_WIDE_INT,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
54 HOST_WIDE_INT,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
55 const_tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
56 extern bool hook_bool_const_tree_hwi_hwi_const_tree_true (const_tree,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
57 HOST_WIDE_INT,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
58 HOST_WIDE_INT,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
59 const_tree);
111
kono
parents: 67
diff changeset
60 extern bool hook_bool_rtx_insn_true (rtx_insn *);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
61 extern bool hook_bool_rtx_false (rtx);
111
kono
parents: 67
diff changeset
62 extern bool hook_bool_rtx_insn_int_false (rtx_insn *, int);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
63 extern bool hook_bool_uintp_uintp_false (unsigned int *, unsigned int *);
111
kono
parents: 67
diff changeset
64 extern bool hook_bool_reg_class_t_false (reg_class_t regclass);
kono
parents: 67
diff changeset
65 extern bool hook_bool_mode_mode_reg_class_t_true (machine_mode, machine_mode,
kono
parents: 67
diff changeset
66 reg_class_t);
kono
parents: 67
diff changeset
67 extern bool hook_bool_mode_reg_class_t_reg_class_t_false (machine_mode,
kono
parents: 67
diff changeset
68 reg_class_t,
kono
parents: 67
diff changeset
69 reg_class_t);
kono
parents: 67
diff changeset
70 extern bool hook_bool_rtx_mode_int_int_intp_bool_false (rtx, machine_mode,
kono
parents: 67
diff changeset
71 int, int, int *, bool);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
72 extern bool hook_bool_tree_tree_false (tree, tree);
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
73 extern bool hook_bool_tree_tree_true (tree, tree);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
74 extern bool hook_bool_tree_bool_false (tree, bool);
111
kono
parents: 67
diff changeset
75 extern bool hook_bool_wint_wint_uint_bool_true (const widest_int &,
kono
parents: 67
diff changeset
76 const widest_int &,
kono
parents: 67
diff changeset
77 unsigned int, bool);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
78
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
79 extern void hook_void_void (void);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
80 extern void hook_void_constcharptr (const char *);
111
kono
parents: 67
diff changeset
81 extern void hook_void_rtx_insn_int (rtx_insn *, int);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
82 extern void hook_void_FILEptr_constcharptr (FILE *, const char *);
111
kono
parents: 67
diff changeset
83 extern void hook_void_FILEptr_constcharptr_const_tree (FILE *, const char *,
kono
parents: 67
diff changeset
84 const_tree);
kono
parents: 67
diff changeset
85 extern bool hook_bool_FILEptr_rtx_false (FILE *, rtx);
kono
parents: 67
diff changeset
86 extern void hook_void_rtx_tree (rtx, tree);
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
87 extern void hook_void_FILEptr_tree (FILE *, tree);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
88 extern void hook_void_tree (tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
89 extern void hook_void_tree_treeptr (tree, tree *);
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
90 extern void hook_void_int_int (int, int);
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
91 extern void hook_void_gcc_optionsp (struct gcc_options *);
111
kono
parents: 67
diff changeset
92 extern bool hook_bool_uint_uintp_false (unsigned int, unsigned int *);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
93
111
kono
parents: 67
diff changeset
94 extern int hook_int_uint_mode_1 (unsigned int, machine_mode);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
95 extern int hook_int_const_tree_0 (const_tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
96 extern int hook_int_const_tree_const_tree_1 (const_tree, const_tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
97 extern int hook_int_rtx_0 (rtx);
111
kono
parents: 67
diff changeset
98 extern int hook_int_rtx_1 (rtx);
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
99 extern int hook_int_rtx_insn_0 (rtx_insn *);
111
kono
parents: 67
diff changeset
100 extern int hook_int_rtx_insn_unreachable (rtx_insn *);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
101 extern int hook_int_rtx_bool_0 (rtx, bool);
111
kono
parents: 67
diff changeset
102 extern int hook_int_rtx_mode_as_bool_0 (rtx, machine_mode, addr_space_t,
kono
parents: 67
diff changeset
103 bool);
kono
parents: 67
diff changeset
104
kono
parents: 67
diff changeset
105 extern HOST_WIDE_INT hook_hwi_void_0 (void);
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
106
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
107 extern tree hook_tree_const_tree_null (const_tree);
111
kono
parents: 67
diff changeset
108 extern tree hook_tree_void_null (void);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
109
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
110 extern tree hook_tree_tree_bool_null (tree, bool);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
111 extern tree hook_tree_tree_tree_null (tree, tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
112 extern tree hook_tree_tree_tree_tree_null (tree, tree, tree);
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
113 extern tree hook_tree_tree_int_treep_bool_null (tree, int, tree *, bool);
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
114 extern tree hook_tree_treeptr_tree_tree_int_boolptr_null (tree *, tree, tree, int, bool *);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
115
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 63
diff changeset
116 extern unsigned hook_uint_void_0 (void);
111
kono
parents: 67
diff changeset
117 extern unsigned int hook_uint_mode_0 (machine_mode);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
118
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
119 extern bool default_can_output_mi_thunk_no_vcall (const_tree, HOST_WIDE_INT,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
120 HOST_WIDE_INT, const_tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
121
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
122 extern rtx hook_rtx_rtx_identity (rtx);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
123 extern rtx hook_rtx_rtx_null (rtx);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
124 extern rtx hook_rtx_tree_int_null (tree, int);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
125
111
kono
parents: 67
diff changeset
126 extern char *hook_charptr_void_null (void);
kono
parents: 67
diff changeset
127 extern const char *hook_constcharptr_void_null (void);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
128 extern const char *hook_constcharptr_const_tree_null (const_tree);
111
kono
parents: 67
diff changeset
129 extern const char *hook_constcharptr_const_rtx_insn_null (const rtx_insn *);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
130 extern const char *hook_constcharptr_const_tree_const_tree_null (const_tree, const_tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
131 extern const char *hook_constcharptr_int_const_tree_null (int, const_tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
132 extern const char *hook_constcharptr_int_const_tree_const_tree_null (int, const_tree, const_tree);
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
133
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
134 extern opt_machine_mode hook_optmode_mode_uhwi_none (machine_mode,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
135 unsigned HOST_WIDE_INT);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
136 #endif