Commit 059a5f9f by Konrad Trifunovic Committed by Sebastian Pop

graphite-ppl.c (ppl_max_for_le): Renamed ppl_max_for_le_pointset.

2009-08-28  Konrad Trifunovic  <konrad.trifunovic@gmail.com>

	* graphite-ppl.c (ppl_max_for_le): Renamed ppl_max_for_le_pointset.
	* graphite-ppl.h (ppl_max_for_le): Renamed ppl_max_for_le_pointset.
	* graphite-poly.c (pbb_number_of_iterations): Rename ppl_max_for_le.
	* graphite-interchange.c (build_linearized_memory_access): Same.
	(memory_stride_in_loop): Same.

From-SVN: r151184
parent afae0207
2009-08-28 Konrad Trifunovic <konrad.trifunovic@gmail.com>
* graphite-ppl.c (ppl_max_for_le): Renamed ppl_max_for_le_pointset.
* graphite-ppl.h (ppl_max_for_le): Renamed ppl_max_for_le_pointset.
* graphite-poly.c (pbb_number_of_iterations): Rename ppl_max_for_le.
* graphite-interchange.c (build_linearized_memory_access): Same.
(memory_stride_in_loop): Same.
2009-08-28 Sebastian Pop <sebastian.pop@amd.com>
* graphite-dependences.c (pddr_original_scattering): New.
......
2009-08-25 Konrad Trifunovic <konrad.trifunovic@gmail.com>
* graphite-ppl.c (ppl_max_for_le): Renamed ppl_max_for_le_pointset.
* graphite-ppl.h (ppl_max_for_le): Renamed ppl_max_for_le_pointset.
* graphite-poly.c (pbb_number_of_iterations): Rename ppl_max_for_le.
* graphite-interchange.c (build_linearized_memory_access): Same.
(memory_stride_in_loop): Same.
2009-08-25 Sebastian Pop <sebastian.pop@amd.com>
* graphite-dependences.c (pddr_original_scattering): New.
......
......@@ -86,7 +86,7 @@ build_linearized_memory_access (poly_dr_p pdr)
ppl_new_Linear_Expression_with_dimension (&le, dim);
ppl_set_coef (le, i, 1);
ppl_max_for_le (PDR_ACCESSES (pdr), le, sub_size);
ppl_max_for_le_pointset (PDR_ACCESSES (pdr), le, sub_size);
value_multiply (size, size, sub_size);
ppl_delete_Linear_Expression (le);
}
......@@ -156,7 +156,7 @@ memory_stride_in_loop (Value stride, graphite_dim_t depth, poly_dr_p pdr)
ppl_new_Linear_Expression_with_dimension (&le, new_dim);
ppl_set_coef (le, dim_L2, 1);
ppl_set_coef (le, dim_L1, -1);
ppl_max_for_le (p1, le, stride);
ppl_max_for_le_pointset (p1, le, stride);
ppl_delete_Linear_Expression (le);
}
......
......@@ -720,7 +720,7 @@ pbb_number_of_iterations (poly_bb_p pbb,
ppl_new_Linear_Expression_with_dimension (&le, dim);
ppl_set_coef (le, pbb_iterator_dim (pbb, loop_depth), 1);
value_set_si (niter, -1);
ppl_max_for_le (PBB_DOMAIN (pbb), le, niter);
ppl_max_for_le_pointset (PBB_DOMAIN (pbb), le, niter);
ppl_delete_Linear_Expression (le);
}
......
......@@ -614,11 +614,12 @@ ppl_read_polyhedron_matrix (ppl_Polyhedron_t *ph, FILE *file)
cloog_matrix_free (mat);
}
/* Return in RES the maximum of the linear expression LE on polyhedron PS. */
/* Return in RES the maximum of the linear expression LE on the
pointset powerset of polyhedra PS. */
void
ppl_max_for_le (ppl_Pointset_Powerset_C_Polyhedron_t ps,
ppl_Linear_Expression_t le, Value res)
ppl_max_for_le_pointset (ppl_Pointset_Powerset_C_Polyhedron_t ps,
ppl_Linear_Expression_t le, Value res)
{
ppl_Coefficient_t num, denom;
Value dv, nv;
......
......@@ -44,8 +44,8 @@ void ppl_insert_dimensions_pointset (ppl_Pointset_Powerset_C_Polyhedron_t, int,
int);
void ppl_set_inhomogeneous_gmp (ppl_Linear_Expression_t, Value);
void ppl_set_coef_gmp (ppl_Linear_Expression_t, ppl_dimension_type, Value);
void ppl_max_for_le (ppl_Pointset_Powerset_C_Polyhedron_t,
ppl_Linear_Expression_t, Value);
void ppl_max_for_le_pointset (ppl_Pointset_Powerset_C_Polyhedron_t,
ppl_Linear_Expression_t, Value);
/* Assigns to RES the value of the INTEGER_CST T. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment