Home | History | Annotate | Download | only in gprof

Lines Matching refs:head

92   Sym *head = 0;
99 head = dfn_stack[cycle_top].sym;
100 if (child == head)
104 if (child->cg.cyc.head != child && child->cg.cyc.head == head)
111 fprintf (stderr, "[find_cycle] couldn't find head of cycle\n");
119 if (head)
121 print_name (head);
149 * field points to the head of the cycle they are glommed
152 for (tail = head; tail->cg.cyc.next; tail = tail->cg.cyc.next)
162 * field, then it's not really the head of the cycle, which is
165 if (head->cg.cyc.head != head)
167 head = head->cg.cyc.head;
169 print_name (head);
175 if (child->cg.cyc.head == child)
182 child->cg.cyc.head = head;
186 print_name (head);
190 tail->cg.cyc.next->cg.cyc.head = head;
194 print_name (head);
198 else if (child->cg.cyc.head != head /* firewall */ )
200 fprintf (stderr, "[find_cycle] glommed, but not to head\n");
235 * and number functions if PARENT is head of a cycle.
249 if (parent->cg.cyc.head == parent)