Lines Matching refs:head

70   struct tree_statement_list_node *head, *tail, *cur;  in tsi_link_before()  local
77 head = STATEMENT_LIST_HEAD (t); in tsi_link_before()
85 if (!head || !tail) in tsi_link_before()
87 gcc_assert (head == tail); in tsi_link_before()
93 head = ggc_alloc (sizeof (*head)); in tsi_link_before()
94 head->prev = NULL; in tsi_link_before()
95 head->next = NULL; in tsi_link_before()
96 head->stmt = t; in tsi_link_before()
97 tail = head; in tsi_link_before()
107 head->prev = cur->prev; in tsi_link_before()
108 if (head->prev) in tsi_link_before()
109 head->prev->next = head; in tsi_link_before()
111 STATEMENT_LIST_HEAD (i->container) = head; in tsi_link_before()
117 head->prev = STATEMENT_LIST_TAIL (i->container); in tsi_link_before()
118 if (head->prev) in tsi_link_before()
119 head->prev->next = head; in tsi_link_before()
121 STATEMENT_LIST_HEAD (i->container) = head; in tsi_link_before()
131 i->ptr = head; in tsi_link_before()
146 struct tree_statement_list_node *head, *tail, *cur; in tsi_link_after() local
153 head = STATEMENT_LIST_HEAD (t); in tsi_link_after()
161 if (!head || !tail) in tsi_link_after()
163 gcc_assert (head == tail); in tsi_link_after()
169 head = ggc_alloc (sizeof (*head)); in tsi_link_after()
170 head->prev = NULL; in tsi_link_after()
171 head->next = NULL; in tsi_link_after()
172 head->stmt = t; in tsi_link_after()
173 tail = head; in tsi_link_after()
188 head->prev = cur; in tsi_link_after()
189 cur->next = head; in tsi_link_after()
194 STATEMENT_LIST_HEAD (i->container) = head; in tsi_link_after()
203 i->ptr = head; in tsi_link_after()