r148865 - in /branches/graphite/gcc: ChangeLog....

spop@gcc.gnu.org spop@gcc.gnu.org
Tue Jun 23 19:00:00 GMT 2009


Author: spop
Date: Tue Jun 23 19:00:03 2009
New Revision: 148865

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148865
Log:
Store scattering dimensions, don't compute them.

2009-06-23  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite-dependences.c (dependence_polyhedron): Do not use
	pbb_nb_scattering_dims anymore.  Use pbb_nb_scattering_orig and
	pbb_nb_scattering_transform.
	(graphite_legal_transform_dr): Same.
	* graphite-poly.c (extend_scattering): Same.
	(unify_scattering_dimensions): Same.
	(print_scattering_function): Same.
	(new_poly_bb): Initialize PBB_NB_SCATTERING_TRANSFORM and
	PBB_NB_LOCAL_VARIABLES.
	* graphite-poly.h (pbb_nb_scattering): Removed declaration.
	(struct poly_bb): Added nb_local_variables and nb_scattering_transform.
	(PBB_NB_LOCAL_VARIABLES, PBB_NB_SCATTERING_TRANSFORM): New.
	(pbb_nb_scattering_orig, pbb_nb_scattering_transform): New.
	(pbb_nb_scattering_dims, pbb_nb_scattering): Removed.
	(pbb_nb_scattering_transform): New.
	(pbb_nb_local_vars): Return PBB_NB_LOCAL_VARIABLES.
	(psco_scattering_dim): Add assert on parameters.
	(psct_scattering_dim): Same.
	(psct_scattering_dim_for_loop_depth): Declared.
	(psct_local_var_dim): New.
	(psco_iterator_dim, psco_parameter_dim): Add assert on parameters.
	(psct_iterator_dim, psct_parameter_dim): Same.  To maintain the
	correct layout, call pbb_nb_local_vars.
	(psct_add_local_variable, psct_add_scattering_dimension): New.
	* graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Initialize
	PBB_NB_SCATTERING_TRANSFORM.

Modified:
    branches/graphite/gcc/ChangeLog.graphite
    branches/graphite/gcc/graphite-dependences.c
    branches/graphite/gcc/graphite-poly.c
    branches/graphite/gcc/graphite-poly.h
    branches/graphite/gcc/graphite-sese-to-poly.c



More information about the Gcc-cvs mailing list