Lines Matching refs:arc

313   Arc *arc, *detached, sorted, *prev;  in sort_parents()  local
323 for (arc = child->cg.parents; arc; arc = detached) in sort_parents()
325 detached = arc->next_parent; in sort_parents()
330 if (cmp_arc (arc, prev->next_parent) != GREATERTHAN) in sort_parents()
334 arc->next_parent = prev->next_parent; in sort_parents()
335 prev->next_parent = arc; in sort_parents()
347 Arc *arc; in print_parents() local
366 for (arc = child->cg.parents; arc; arc = arc->next_parent) in print_parents()
368 parent = arc->parent; in print_parents()
377 arc->count, ""); in print_parents()
388 arc->time / hz, arc->child_time / hz, in print_parents()
389 arc->count, cycle_head->ncalls); in print_parents()
400 Arc *arc, *detached, sorted, *prev; in sort_children() local
410 for (arc = parent->cg.children; arc; arc = detached) in sort_children()
412 detached = arc->next_child; in sort_children()
417 if (cmp_arc (arc, prev->next_child) != LESSTHAN) in sort_children()
421 arc->next_child = prev->next_child; in sort_children()
422 prev->next_child = arc; in sort_children()
434 Arc *arc; in print_children() local
437 arc = parent->cg.children; in print_children()
439 for (arc = parent->cg.children; arc; arc = arc->next_child) in print_children()
441 child = arc->child; in print_children()
449 "", "", "", "", arc->count, ""); in print_children()
460 arc->time / hz, arc->child_time / hz, in print_children()
461 arc->count, child->cg.cyc.head->ncalls); in print_children()
867 Arc *arc; in cg_print_function_ordering() local
884 arc = sym->cg.children; in cg_print_function_ordering()
886 while (arc) in cg_print_function_ordering()
888 if (arc->parent != arc->child) in cg_print_function_ordering()
889 scratch_arcs[scratch_arc_count++] = arc; in cg_print_function_ordering()
890 arc->has_been_placed = 1; in cg_print_function_ordering()
891 arc = arc->next_child; in cg_print_function_ordering()
894 arc = sym->cg.parents; in cg_print_function_ordering()
896 while (arc) in cg_print_function_ordering()
898 if (arc->parent != arc->child) in cg_print_function_ordering()
899 scratch_arcs[scratch_arc_count++] = arc; in cg_print_function_ordering()
900 arc->has_been_placed = 1; in cg_print_function_ordering()
901 arc = arc->next_parent; in cg_print_function_ordering()
916 Arc *arc = scratch_arcs[arc_index]; in cg_print_function_ordering() local
920 if (arc->child->has_been_placed in cg_print_function_ordering()
921 && arc->parent->has_been_placed) in cg_print_function_ordering()
927 arc->child->has_been_placed = 0; in cg_print_function_ordering()
928 arc->parent->has_been_placed = 0; in cg_print_function_ordering()