Line data Source code
1 : /* Type information for cp/decl.cc.
2 : Copyright (C) 2004-2023 Free Software Foundation, Inc.
3 :
4 : This file is part of GCC.
5 :
6 : GCC is free software; you can redistribute it and/or modify it under
7 : the terms of the GNU General Public License as published by the Free
8 : Software Foundation; either version 3, or (at your option) any later
9 : version.
10 :
11 : GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 : WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 : FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 : for more details.
15 :
16 : You should have received a copy of the GNU General Public License
17 : along with GCC; see the file COPYING3. If not see
18 : <http://www.gnu.org/licenses/>. */
19 :
20 : /* This file is machine generated. Do not edit. */
21 :
22 : void
23 0 : gt_ggc_mx_named_label_entry (void *x_p)
24 : {
25 0 : struct named_label_entry * const x = (struct named_label_entry *)x_p;
26 0 : if (ggc_test_and_set_mark (x))
27 : {
28 0 : gt_ggc_m_9tree_node ((*x).name);
29 0 : gt_ggc_m_9tree_node ((*x).label_decl);
30 0 : gt_ggc_m_17named_label_entry ((*x).outer);
31 0 : gt_ggc_m_16cp_binding_level ((*x).binding_level);
32 0 : gt_ggc_m_9tree_node ((*x).names_in_scope);
33 0 : gt_ggc_m_15vec_tree_va_gc_ ((*x).bad_decls);
34 0 : gt_ggc_m_21named_label_use_entry ((*x).uses);
35 : }
36 0 : }
37 :
38 : void
39 0 : gt_ggc_mx (struct named_label_entry& x_r ATTRIBUTE_UNUSED)
40 : {
41 0 : struct named_label_entry * ATTRIBUTE_UNUSED x = &x_r;
42 0 : gt_ggc_m_9tree_node ((*x).name);
43 0 : gt_ggc_m_9tree_node ((*x).label_decl);
44 0 : gt_ggc_m_17named_label_entry ((*x).outer);
45 0 : gt_ggc_m_16cp_binding_level ((*x).binding_level);
46 0 : gt_ggc_m_9tree_node ((*x).names_in_scope);
47 0 : gt_ggc_m_15vec_tree_va_gc_ ((*x).bad_decls);
48 0 : gt_ggc_m_21named_label_use_entry ((*x).uses);
49 0 : }
50 :
51 : void
52 0 : gt_ggc_mx (struct named_label_entry *& x)
53 : {
54 0 : if (x)
55 0 : gt_ggc_mx_named_label_entry ((void *) x);
56 0 : }
57 :
58 : void
59 0 : gt_ggc_mx_named_label_use_entry (void *x_p)
60 : {
61 0 : struct named_label_use_entry * x = (struct named_label_use_entry *)x_p;
62 0 : struct named_label_use_entry * xlimit = x;
63 0 : while (ggc_test_and_set_mark (xlimit))
64 0 : xlimit = ((*xlimit).next);
65 0 : while (x != xlimit)
66 : {
67 0 : gt_ggc_m_21named_label_use_entry ((*x).next);
68 0 : gt_ggc_m_16cp_binding_level ((*x).binding_level);
69 0 : gt_ggc_m_9tree_node ((*x).names_in_scope);
70 0 : x = ((*x).next);
71 : }
72 0 : }
73 :
74 : void
75 95241 : gt_ggc_mx_vec_incomplete_var_va_gc_ (void *x_p)
76 : {
77 95241 : vec<incomplete_var,va_gc> * const x = (vec<incomplete_var,va_gc> *)x_p;
78 95241 : if (ggc_test_and_set_mark (x))
79 : {
80 12170 : gt_ggc_mx (x);
81 : }
82 95241 : }
83 :
84 : void
85 3277 : gt_ggc_mx (struct incomplete_var& x_r ATTRIBUTE_UNUSED)
86 : {
87 3277 : struct incomplete_var * ATTRIBUTE_UNUSED x = &x_r;
88 3277 : gt_ggc_m_9tree_node ((*x).decl);
89 3277 : gt_ggc_m_9tree_node ((*x).incomplete_type);
90 3277 : }
91 :
92 : void
93 95241 : gt_ggc_mx_hash_table_typename_hasher_ (void *x_p)
94 : {
95 95241 : hash_table<typename_hasher> * const x = (hash_table<typename_hasher> *)x_p;
96 95241 : if (ggc_test_and_set_mark (x))
97 : {
98 78685 : gt_ggc_mx (x);
99 : }
100 95241 : }
101 :
102 : void
103 0 : gt_ggc_mx (struct typename_hasher& x_r ATTRIBUTE_UNUSED)
104 : {
105 0 : struct typename_hasher * ATTRIBUTE_UNUSED x = &x_r;
106 0 : }
107 :
108 : void
109 0 : gt_pch_nx_named_label_entry (void *x_p)
110 : {
111 0 : struct named_label_entry * const x = (struct named_label_entry *)x_p;
112 0 : if (gt_pch_note_object (x, x, gt_pch_p_17named_label_entry))
113 : {
114 0 : gt_pch_n_9tree_node ((*x).name);
115 0 : gt_pch_n_9tree_node ((*x).label_decl);
116 0 : gt_pch_n_17named_label_entry ((*x).outer);
117 0 : gt_pch_n_16cp_binding_level ((*x).binding_level);
118 0 : gt_pch_n_9tree_node ((*x).names_in_scope);
119 0 : gt_pch_n_15vec_tree_va_gc_ ((*x).bad_decls);
120 0 : gt_pch_n_21named_label_use_entry ((*x).uses);
121 : }
122 0 : }
123 :
124 : void
125 0 : gt_pch_nx (struct named_label_entry& x_r ATTRIBUTE_UNUSED)
126 : {
127 0 : struct named_label_entry * ATTRIBUTE_UNUSED x = &x_r;
128 0 : gt_pch_n_9tree_node ((*x).name);
129 0 : gt_pch_n_9tree_node ((*x).label_decl);
130 0 : gt_pch_n_17named_label_entry ((*x).outer);
131 0 : gt_pch_n_16cp_binding_level ((*x).binding_level);
132 0 : gt_pch_n_9tree_node ((*x).names_in_scope);
133 0 : gt_pch_n_15vec_tree_va_gc_ ((*x).bad_decls);
134 0 : gt_pch_n_21named_label_use_entry ((*x).uses);
135 0 : }
136 :
137 : void
138 0 : gt_pch_nx (struct named_label_entry *& x)
139 : {
140 0 : if (x)
141 0 : gt_pch_nx_named_label_entry ((void *) x);
142 0 : }
143 :
144 : void
145 0 : gt_pch_nx_named_label_use_entry (void *x_p)
146 : {
147 0 : struct named_label_use_entry * x = (struct named_label_use_entry *)x_p;
148 0 : struct named_label_use_entry * xlimit = x;
149 0 : while (gt_pch_note_object (xlimit, xlimit, gt_pch_p_21named_label_use_entry))
150 0 : xlimit = ((*xlimit).next);
151 0 : while (x != xlimit)
152 : {
153 0 : gt_pch_n_21named_label_use_entry ((*x).next);
154 0 : gt_pch_n_16cp_binding_level ((*x).binding_level);
155 0 : gt_pch_n_9tree_node ((*x).names_in_scope);
156 0 : x = ((*x).next);
157 : }
158 0 : }
159 :
160 : void
161 68 : gt_pch_nx_vec_incomplete_var_va_gc_ (void *x_p)
162 : {
163 68 : vec<incomplete_var,va_gc> * const x = (vec<incomplete_var,va_gc> *)x_p;
164 68 : if (gt_pch_note_object (x, x, gt_pch_p_25vec_incomplete_var_va_gc_))
165 : {
166 2 : gt_pch_nx (x);
167 : }
168 68 : }
169 :
170 : void
171 58 : gt_pch_nx (struct incomplete_var& x_r ATTRIBUTE_UNUSED)
172 : {
173 58 : struct incomplete_var * ATTRIBUTE_UNUSED x = &x_r;
174 58 : gt_pch_n_9tree_node ((*x).decl);
175 58 : gt_pch_n_9tree_node ((*x).incomplete_type);
176 58 : }
177 :
178 : void
179 68 : gt_pch_nx_hash_table_typename_hasher_ (void *x_p)
180 : {
181 68 : hash_table<typename_hasher> * const x = (hash_table<typename_hasher> *)x_p;
182 68 : if (gt_pch_note_object (x, x, gt_pch_p_27hash_table_typename_hasher_))
183 : {
184 17 : gt_pch_nx (x);
185 : }
186 68 : }
187 :
188 : void
189 0 : gt_pch_nx (struct typename_hasher& x_r ATTRIBUTE_UNUSED)
190 : {
191 0 : struct typename_hasher * ATTRIBUTE_UNUSED x = &x_r;
192 0 : }
193 :
194 : void
195 0 : gt_pch_p_17named_label_entry (ATTRIBUTE_UNUSED void *this_obj,
196 : void *x_p,
197 : ATTRIBUTE_UNUSED gt_pointer_operator op,
198 : ATTRIBUTE_UNUSED void *cookie)
199 : {
200 0 : struct named_label_entry * x ATTRIBUTE_UNUSED = (struct named_label_entry *)x_p;
201 0 : if ((void *)(x) == this_obj)
202 0 : op (&((*x).name), NULL, cookie);
203 0 : if ((void *)(x) == this_obj)
204 0 : op (&((*x).label_decl), NULL, cookie);
205 0 : if ((void *)(x) == this_obj)
206 0 : op (&((*x).outer), NULL, cookie);
207 0 : if ((void *)(x) == this_obj)
208 0 : op (&((*x).binding_level), NULL, cookie);
209 0 : if ((void *)(x) == this_obj)
210 0 : op (&((*x).names_in_scope), NULL, cookie);
211 0 : if ((void *)(x) == this_obj)
212 0 : op (&((*x).bad_decls), NULL, cookie);
213 0 : if ((void *)(x) == this_obj)
214 0 : op (&((*x).uses), NULL, cookie);
215 0 : }
216 :
217 : void
218 0 : gt_pch_nx (struct named_label_entry* x ATTRIBUTE_UNUSED,
219 : ATTRIBUTE_UNUSED gt_pointer_operator op,
220 : ATTRIBUTE_UNUSED void *cookie)
221 : {
222 0 : op (&((*x).name), NULL, cookie);
223 0 : op (&((*x).label_decl), NULL, cookie);
224 0 : op (&((*x).outer), NULL, cookie);
225 0 : op (&((*x).binding_level), NULL, cookie);
226 0 : op (&((*x).names_in_scope), NULL, cookie);
227 0 : op (&((*x).bad_decls), NULL, cookie);
228 0 : op (&((*x).uses), NULL, cookie);
229 0 : }
230 :
231 : void
232 0 : gt_pch_p_21named_label_use_entry (ATTRIBUTE_UNUSED void *this_obj,
233 : void *x_p,
234 : ATTRIBUTE_UNUSED gt_pointer_operator op,
235 : ATTRIBUTE_UNUSED void *cookie)
236 : {
237 0 : struct named_label_use_entry * x ATTRIBUTE_UNUSED = (struct named_label_use_entry *)x_p;
238 0 : if ((void *)(x) == this_obj)
239 0 : op (&((*x).next), NULL, cookie);
240 0 : if ((void *)(x) == this_obj)
241 0 : op (&((*x).binding_level), NULL, cookie);
242 0 : if ((void *)(x) == this_obj)
243 0 : op (&((*x).names_in_scope), NULL, cookie);
244 0 : }
245 :
246 : void
247 2 : gt_pch_p_25vec_incomplete_var_va_gc_ (ATTRIBUTE_UNUSED void *this_obj,
248 : void *x_p,
249 : ATTRIBUTE_UNUSED gt_pointer_operator op,
250 : ATTRIBUTE_UNUSED void *cookie)
251 : {
252 2 : struct vec<incomplete_var,va_gc> * x ATTRIBUTE_UNUSED = (struct vec<incomplete_var,va_gc> *)x_p;
253 2 : if ((void *)(x) == this_obj)
254 2 : gt_pch_nx (&((*x)), op, cookie);
255 2 : }
256 :
257 : void
258 58 : gt_pch_nx (struct incomplete_var* x ATTRIBUTE_UNUSED,
259 : ATTRIBUTE_UNUSED gt_pointer_operator op,
260 : ATTRIBUTE_UNUSED void *cookie)
261 : {
262 58 : op (&((*x).decl), NULL, cookie);
263 58 : op (&((*x).incomplete_type), NULL, cookie);
264 58 : }
265 :
266 : void
267 17 : gt_pch_p_27hash_table_typename_hasher_ (ATTRIBUTE_UNUSED void *this_obj,
268 : void *x_p,
269 : ATTRIBUTE_UNUSED gt_pointer_operator op,
270 : ATTRIBUTE_UNUSED void *cookie)
271 : {
272 17 : struct hash_table<typename_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<typename_hasher> *)x_p;
273 17 : if ((void *)(x) == this_obj)
274 17 : gt_pch_nx (&((*x)), op, cookie);
275 17 : }
276 :
277 : void
278 0 : gt_pch_nx (struct typename_hasher* x ATTRIBUTE_UNUSED,
279 : ATTRIBUTE_UNUSED gt_pointer_operator op,
280 : ATTRIBUTE_UNUSED void *cookie)
281 : {
282 0 : }
283 :
284 : /* GC roots. */
285 :
286 : EXPORTED_CONST struct ggc_root_tab gt_ggc_r_gt_cp_decl_h[] = {
287 : {
288 : &decomp_type_table,
289 : 1,
290 : sizeof (decomp_type_table),
291 : >_ggc_mx_hash_map_tree_tree_decl_tree_cache_traits_,
292 : >_pch_nx_hash_map_tree_tree_decl_tree_cache_traits_
293 : },
294 : {
295 : &typename_htab,
296 : 1,
297 : sizeof (typename_htab),
298 : >_ggc_mx_hash_table_typename_hasher_,
299 : >_pch_nx_hash_table_typename_hasher_
300 : },
301 : {
302 : &incomplete_vars,
303 : 1,
304 : sizeof (incomplete_vars),
305 : >_ggc_mx_vec_incomplete_var_va_gc_,
306 : >_pch_nx_vec_incomplete_var_va_gc_
307 : },
308 : LAST_GGC_ROOT_TAB
309 : };
310 :
311 : EXPORTED_CONST struct ggc_root_tab gt_ggc_rd_gt_cp_decl_h[] = {
312 : { &local_entities, 1, sizeof (local_entities), NULL, NULL },
313 : LAST_GGC_ROOT_TAB
314 : };
315 :
316 : void
317 95241 : gt_clear_caches_gt_cp_decl_h ()
318 : {
319 95241 : gt_cleare_cache (decomp_type_table);
320 95241 : }
321 :
322 : EXPORTED_CONST struct ggc_root_tab gt_pch_rs_gt_cp_decl_h[] = {
323 : { &start_cleanup_cnt, 1, sizeof (start_cleanup_cnt), NULL, NULL },
324 : LAST_GGC_ROOT_TAB
325 : };
326 :
|