summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/ChangeLog.graphite8
-rw-r--r--gcc/graphite-interchange.c4
-rw-r--r--gcc/graphite-poly.c2
-rw-r--r--gcc/graphite-ppl.c7
-rw-r--r--gcc/graphite-ppl.h4
6 files changed, 25 insertions, 8 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d7b4369d3c6..ca282822f4f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
* graphite-dependences.c (pddr_original_scattering): New.
diff --git a/gcc/ChangeLog.graphite b/gcc/ChangeLog.graphite
index 495e9d50485..979c25fc936 100644
--- a/gcc/ChangeLog.graphite
+++ b/gcc/ChangeLog.graphite
@@ -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>
* graphite-dependences.c (pddr_original_scattering): New.
diff --git a/gcc/graphite-interchange.c b/gcc/graphite-interchange.c
index 314f17ca0c4..bf944c80f20 100644
--- a/gcc/graphite-interchange.c
+++ b/gcc/graphite-interchange.c
@@ -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);
}
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c
index 835d6a87104..6184aae4a8e 100644
--- a/gcc/graphite-poly.c
+++ b/gcc/graphite-poly.c
@@ -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);
}
diff --git a/gcc/graphite-ppl.c b/gcc/graphite-ppl.c
index ca65c8534b8..3e84dcf9039 100644
--- a/gcc/graphite-ppl.c
+++ b/gcc/graphite-ppl.c
@@ -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;
diff --git a/gcc/graphite-ppl.h b/gcc/graphite-ppl.h
index 0ed6b34126d..279dcccc8e0 100644
--- a/gcc/graphite-ppl.h
+++ b/gcc/graphite-ppl.h
@@ -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. */