Lines Matching refs:loops
38 dump_hwloops (hwloop_info loops) in dump_hwloops() argument
42 for (loop = loops; loop; loop = loop->next) in dump_hwloops()
61 for (ix = 0; loop->loops.iterate (ix, &i); ix++) in dump_hwloops()
347 hwloop_info loops = NULL; in discover_loops() local
398 loop->next = loops; in discover_loops()
399 loops = loop; in discover_loops()
417 for (loop = loops; loop; loop = loop->next) in discover_loops()
424 for (other = loops; other; other = other->next) in discover_loops()
433 loop->loops.safe_push (other); in discover_loops()
436 other->loops.safe_push (loop); in discover_loops()
449 dump_hwloops (loops); in discover_loops()
451 return loops; in discover_loops()
456 free_loops (hwloop_info loops) in free_loops() argument
458 while (loops) in free_loops()
460 hwloop_info loop = loops; in free_loops()
461 loops = loop->next; in free_loops()
462 loop->loops.release (); in free_loops()
491 reorder_loops (hwloop_info loops) in reorder_loops() argument
500 for (loop = loops; loop; loop = loop->next) in reorder_loops()
533 loops = loops->next; in reorder_loops()
576 for (ix = 0; loop->loops.iterate (ix, &inner); ix++) in optimize_loop()
620 hwloop_info loops = NULL; in reorg_loops() local
633 loops = discover_loops (&loop_stack, hooks); in reorg_loops()
639 reorder_loops (loops); in reorg_loops()
640 free_loops (loops); in reorg_loops()
645 loops = discover_loops (&loop_stack, hooks); in reorg_loops()
648 for (loop = loops; loop; loop = loop->next) in reorg_loops()
652 for (loop = loops; loop; loop = loop->next) in reorg_loops()
658 dump_hwloops (loops); in reorg_loops()
661 free_loops (loops); in reorg_loops()