Line data Source code
1 : /* Type information for cp/logic.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_subsumption_entry (void *x_p) 24 : { 25 0 : struct subsumption_entry * const x = (struct subsumption_entry *)x_p; 26 0 : if (ggc_test_and_set_mark (x)) 27 : { 28 0 : gt_ggc_m_9tree_node ((*x).lhs); 29 0 : gt_ggc_m_9tree_node ((*x).rhs); 30 : } 31 0 : } 32 : 33 : void 34 0 : gt_ggc_mx (struct subsumption_entry& x_r ATTRIBUTE_UNUSED) 35 : { 36 0 : struct subsumption_entry * ATTRIBUTE_UNUSED x = &x_r; 37 0 : gt_ggc_m_9tree_node ((*x).lhs); 38 0 : gt_ggc_m_9tree_node ((*x).rhs); 39 0 : } 40 : 41 : void 42 0 : gt_ggc_mx (struct subsumption_entry *& x) 43 : { 44 0 : if (x) 45 0 : gt_ggc_mx_subsumption_entry ((void *) x); 46 0 : } 47 : 48 : void 49 0 : gt_ggc_mx_hash_table_subsumption_hasher_ (void *x_p) 50 : { 51 0 : hash_table<subsumption_hasher> * const x = (hash_table<subsumption_hasher> *)x_p; 52 0 : if (ggc_test_and_set_mark (x)) 53 : { 54 0 : gt_ggc_mx (x); 55 : } 56 0 : } 57 : 58 : void 59 0 : gt_ggc_mx (struct subsumption_hasher& x_r ATTRIBUTE_UNUSED) 60 : { 61 0 : struct subsumption_hasher * ATTRIBUTE_UNUSED x = &x_r; 62 0 : } 63 : 64 : void 65 0 : gt_pch_nx_subsumption_entry (void *x_p) 66 : { 67 0 : struct subsumption_entry * const x = (struct subsumption_entry *)x_p; 68 0 : if (gt_pch_note_object (x, x, gt_pch_p_17subsumption_entry)) 69 : { 70 0 : gt_pch_n_9tree_node ((*x).lhs); 71 0 : gt_pch_n_9tree_node ((*x).rhs); 72 : } 73 0 : } 74 : 75 : void 76 0 : gt_pch_nx (struct subsumption_entry& x_r ATTRIBUTE_UNUSED) 77 : { 78 0 : struct subsumption_entry * ATTRIBUTE_UNUSED x = &x_r; 79 0 : gt_pch_n_9tree_node ((*x).lhs); 80 0 : gt_pch_n_9tree_node ((*x).rhs); 81 0 : } 82 : 83 : void 84 0 : gt_pch_nx (struct subsumption_entry *& x) 85 : { 86 0 : if (x) 87 0 : gt_pch_nx_subsumption_entry ((void *) x); 88 0 : } 89 : 90 : void 91 0 : gt_pch_nx_hash_table_subsumption_hasher_ (void *x_p) 92 : { 93 0 : hash_table<subsumption_hasher> * const x = (hash_table<subsumption_hasher> *)x_p; 94 0 : if (gt_pch_note_object (x, x, gt_pch_p_30hash_table_subsumption_hasher_)) 95 : { 96 0 : gt_pch_nx (x); 97 : } 98 0 : } 99 : 100 : void 101 0 : gt_pch_nx (struct subsumption_hasher& x_r ATTRIBUTE_UNUSED) 102 : { 103 0 : struct subsumption_hasher * ATTRIBUTE_UNUSED x = &x_r; 104 0 : } 105 : 106 : void 107 0 : gt_pch_p_17subsumption_entry (ATTRIBUTE_UNUSED void *this_obj, 108 : void *x_p, 109 : ATTRIBUTE_UNUSED gt_pointer_operator op, 110 : ATTRIBUTE_UNUSED void *cookie) 111 : { 112 0 : struct subsumption_entry * x ATTRIBUTE_UNUSED = (struct subsumption_entry *)x_p; 113 0 : if ((void *)(x) == this_obj) 114 0 : op (&((*x).lhs), NULL, cookie); 115 0 : if ((void *)(x) == this_obj) 116 0 : op (&((*x).rhs), NULL, cookie); 117 0 : } 118 : 119 : void 120 0 : gt_pch_nx (struct subsumption_entry* x ATTRIBUTE_UNUSED, 121 : ATTRIBUTE_UNUSED gt_pointer_operator op, 122 : ATTRIBUTE_UNUSED void *cookie) 123 : { 124 0 : op (&((*x).lhs), NULL, cookie); 125 0 : op (&((*x).rhs), NULL, cookie); 126 0 : } 127 : 128 : void 129 0 : gt_pch_p_30hash_table_subsumption_hasher_ (ATTRIBUTE_UNUSED void *this_obj, 130 : void *x_p, 131 : ATTRIBUTE_UNUSED gt_pointer_operator op, 132 : ATTRIBUTE_UNUSED void *cookie) 133 : { 134 0 : struct hash_table<subsumption_hasher> * x ATTRIBUTE_UNUSED = (struct hash_table<subsumption_hasher> *)x_p; 135 0 : if ((void *)(x) == this_obj) 136 0 : gt_pch_nx (&((*x)), op, cookie); 137 0 : } 138 : 139 : void 140 0 : gt_pch_nx (struct subsumption_hasher* x ATTRIBUTE_UNUSED, 141 : ATTRIBUTE_UNUSED gt_pointer_operator op, 142 : ATTRIBUTE_UNUSED void *cookie) 143 : { 144 0 : } 145 : 146 : /* GC roots. */ 147 : 148 : EXPORTED_CONST struct ggc_root_tab gt_ggc_rd_gt_cp_logic_h[] = { 149 : { &subsumption_cache, 1, sizeof (subsumption_cache), NULL, NULL }, 150 : LAST_GGC_ROOT_TAB 151 : }; 152 :