mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
afae02072c
commit
059a5f9f1c
|
@ -1,3 +1,11 @@
|
||||||
|
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>
|
2009-08-28 Sebastian Pop <sebastian.pop@amd.com>
|
||||||
|
|
||||||
* graphite-dependences.c (pddr_original_scattering): New.
|
* graphite-dependences.c (pddr_original_scattering): New.
|
||||||
|
|
|
@ -1,3 +1,11 @@
|
||||||
|
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>
|
2009-08-25 Sebastian Pop <sebastian.pop@amd.com>
|
||||||
|
|
||||||
* graphite-dependences.c (pddr_original_scattering): New.
|
* 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_new_Linear_Expression_with_dimension (&le, dim);
|
||||||
ppl_set_coef (le, i, 1);
|
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);
|
value_multiply (size, size, sub_size);
|
||||||
ppl_delete_Linear_Expression (le);
|
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_new_Linear_Expression_with_dimension (&le, new_dim);
|
||||||
ppl_set_coef (le, dim_L2, 1);
|
ppl_set_coef (le, dim_L2, 1);
|
||||||
ppl_set_coef (le, dim_L1, -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);
|
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_new_Linear_Expression_with_dimension (&le, dim);
|
||||||
ppl_set_coef (le, pbb_iterator_dim (pbb, loop_depth), 1);
|
ppl_set_coef (le, pbb_iterator_dim (pbb, loop_depth), 1);
|
||||||
value_set_si (niter, -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);
|
ppl_delete_Linear_Expression (le);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -614,10 +614,11 @@ ppl_read_polyhedron_matrix (ppl_Polyhedron_t *ph, FILE *file)
|
||||||
cloog_matrix_free (mat);
|
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
|
void
|
||||||
ppl_max_for_le (ppl_Pointset_Powerset_C_Polyhedron_t ps,
|
ppl_max_for_le_pointset (ppl_Pointset_Powerset_C_Polyhedron_t ps,
|
||||||
ppl_Linear_Expression_t le, Value res)
|
ppl_Linear_Expression_t le, Value res)
|
||||||
{
|
{
|
||||||
ppl_Coefficient_t num, denom;
|
ppl_Coefficient_t num, denom;
|
||||||
|
|
|
@ -44,7 +44,7 @@ void ppl_insert_dimensions_pointset (ppl_Pointset_Powerset_C_Polyhedron_t, int,
|
||||||
int);
|
int);
|
||||||
void ppl_set_inhomogeneous_gmp (ppl_Linear_Expression_t, Value);
|
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_set_coef_gmp (ppl_Linear_Expression_t, ppl_dimension_type, Value);
|
||||||
void ppl_max_for_le (ppl_Pointset_Powerset_C_Polyhedron_t,
|
void ppl_max_for_le_pointset (ppl_Pointset_Powerset_C_Polyhedron_t,
|
||||||
ppl_Linear_Expression_t, Value);
|
ppl_Linear_Expression_t, Value);
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue