Lines Matching refs:loops
39 loops. */
41 struct loops *
44 struct loops *loops = XCNEW (struct loops);
64 /* Find the loops. */
66 if (flow_loops_find (loops) <= 1)
68 /* No loops. */
69 flow_loops_free (loops);
70 free (loops);
76 free (loops->cfg.rc_order);
77 loops->cfg.rc_order = NULL;
78 free (loops->cfg.dfs_order);
79 loops->cfg.dfs_order = NULL;
83 create_preheaders (loops, CP_SIMPLE_PREHEADERS);
87 force_single_succ_latches (loops);
89 /* Mark irreducible loops. */
91 mark_irreducible_loops (loops);
94 mark_single_exit_loops (loops);
96 /* Dump loops. */
97 flow_loops_dump (loops, dump_file, NULL, 1);
101 verify_loop_structure (loops);
104 return loops;
109 loop_optimizer_finalize (struct loops *loops)
113 if (!loops)
116 for (i = 1; i < loops->num; i++)
117 if (loops->parray[i])
118 free_simple_loop_desc (loops->parray[i]);
121 flow_loops_free (loops);
122 free (loops);