This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch to find entry edges to natural loops



  In message <14757.3738.35485.713464@paradise.net.nz>you write:
  > This patch finds entry edges to natural loops and renames the list of
  > exit edges to be consistent.

        * basic-block.h (struct loop): Rename `exits' field to
        `exit_edges'.  Add `entry_edges' and `num_entries' fields.
        * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find.
        (flow_loop_entry_edges_find): Add.
        (flow_edge_list_print): Rename from flow_exits_print.
        (flow_loops_find): Call flow_loop_entry_edges_find.
        (flow_loop_dump): Dump entry_edges list.
        (flow_loops_free): Free entry_edges.
Approved.

Thanks,
jeff



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]