This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r136962 - /branches/graphite/gcc/graphite.c
- From: trifunovic at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 19 Jun 2008 18:57:19 -0000
- Subject: r136962 - /branches/graphite/gcc/graphite.c
Author: trifunovic
Date: Thu Jun 19 18:57:19 2008
New Revision: 136962
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=136962
Log:
2008-06-19 Konrad Trifunovic <konrad.trifunovic@inria.fr>
* graphite.c (new_scop): Memory allocation for SCOP_{NEWIVS, OLDIVS}.
(free_scop): Memory deallocation for SCOP_NEWIVS, SCOP_OLDIVS.
(create_var_name, save_var_name): Newly defined functions.
(initialize_cloog_names): Part of the code factored out to
save_var_name.
(clast_to_gcc_expression): Now handles the case of clast_red_sum
in clast_reduction statement.
(graphite_create_new_loop): Now takes a new parameter
for outer_loop.
(translate_clast): Now also takes the context_loop and bb_exit
parameters. Rewritten the code so that it creates a gimple code
inside the given context.
(outermost_loop_layer, graphite_remove_iv, graphite_rename_ivs,
remove_cond_expr, disconnect_cond_expr,
disconnect_virtual_phi_nodes): Newly defined functions.
* graphite.h (struct scop): added old_ivs vector.
SCOP_OLDIVS: New macro.
Modified:
branches/graphite/gcc/graphite.c