Remove spaces from matrix lines.

2010-08-11  Riyadh Baghdadi <baghdadi.mr@gmail.com>

	* graphite-cloog-util.c (openscop_print_cloog_matrix): Remove spaces
	from matrix lines.
	* graphite-poly.c (openscop_print_scattering_function_1): Same.
	(print_scattering_function_1): Same.
	(openscop_print_pbb_domain): Same.
	(openscop_print_scop_context): Same.
	(print_scop_context): Same.

From-SVN: r164775
This commit is contained in:
Riyadh Baghdadi 2010-09-30 21:16:49 +00:00 committed by Sebastian Pop
parent d72f5037aa
commit 7241f8c55c
4 changed files with 30 additions and 6 deletions

View File

@ -1,3 +1,13 @@
2010-09-30 Riyadh Baghdadi <baghdadi.mr@gmail.com>
* graphite-cloog-util.c (openscop_print_cloog_matrix): Remove spaces
from matrix lines.
* graphite-poly.c (openscop_print_scattering_function_1): Same.
(print_scattering_function_1): Same.
(openscop_print_pbb_domain): Same.
(openscop_print_scop_context): Same.
(print_scop_context): Same.
2010-09-30 Riyadh Baghdadi <baghdadi.mr@gmail.com>
* graphite-poly.c (openscop_print_pdr_polyhedron): Fix indentation.

View File

@ -1,3 +1,13 @@
2010-08-11 Riyadh Baghdadi <baghdadi.mr@gmail.com>
* graphite-cloog-util.c (openscop_print_cloog_matrix): Remove spaces
from matrix lines.
* graphite-poly.c (openscop_print_scattering_function_1): Same.
(print_scattering_function_1): Same.
(openscop_print_pbb_domain): Same.
(openscop_print_scop_context): Same.
(print_scop_context): Same.
2010-08-11 Riyadh Baghdadi <baghdadi.mr@gmail.com>
* graphite-poly.c (openscop_print_pdr_polyhedron): Fix indentation.

View File

@ -315,7 +315,11 @@ openscop_print_cloog_matrix (FILE *file, CloogMatrix *mat,
for (i = 0; i < cloog_matrix_nrows (mat); i++)
{
for (j = 0; j < cloog_matrix_ncolumns (mat); j++)
fprintf (file, "%6ld ", mpz_get_si (mat->p[i][j]));
if (j == 0)
fprintf (file, "%ld ", mpz_get_si (mat->p[i][j]));
else
fprintf (file, "%6ld ", mpz_get_si (mat->p[i][j]));
fprintf (file, "\n");
}
}

View File

@ -255,7 +255,7 @@ openscop_print_scattering_function_1 (FILE *file, poly_bb_p pbb, int verbosity)
if (verbosity > 0)
{
fprintf (file, "# scattering bb_%d (\n", pbb_index (pbb));
fprintf (file, "# eq");
fprintf (file, "#eq");
for (i = 0; i < pbb_nb_scattering_transform (pbb); i++)
fprintf (file, " s%d", (int) i);
@ -301,7 +301,7 @@ print_scattering_function_1 (FILE *file, poly_bb_p pbb, int verbosity)
if (verbosity > 0)
{
fprintf (file, "# scattering bb_%d (\n", pbb_index (pbb));
fprintf (file, "# eq");
fprintf (file, "#eq");
for (i = 0; i < pbb_nb_scattering_transform (pbb); i++)
fprintf (file, " s%d", (int) i);
@ -731,7 +731,7 @@ openscop_print_pbb_domain (FILE *file, poly_bb_p pbb, int verbosity)
if (verbosity > 0)
{
fprintf (file, "\n# Iteration domain of bb_%d (\n", GBB_BB (gbb)->index);
fprintf (file, "# eq");
fprintf (file, "#eq");
for (i = 0; i < pbb_dim_iter_domain (pbb); i++)
fprintf (file, " i%d", (int) i);
@ -1025,7 +1025,7 @@ openscop_print_scop_context (FILE *file, scop_p scop, int verbosity)
if (verbosity > 0)
{
fprintf (file, "# Context (\n");
fprintf (file, "# eq");
fprintf (file, "#eq");
for (i = 0; i < scop_nb_params (scop); i++)
fprintf (file, " p%d", (int) i);
@ -1054,7 +1054,7 @@ print_scop_context (FILE *file, scop_p scop, int verbosity)
if (verbosity > 0)
{
fprintf (file, "# Context (\n");
fprintf (file, "# eq");
fprintf (file, "#eq");
for (i = 0; i < scop_nb_params (scop); i++)
fprintf (file, " p%d", (int) i);