aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite-poly.c
diff options
context:
space:
mode:
authorRoman Gareev <gareevroman@gmail.com>2014-11-10 20:32:31 +0000
committerRoman Gareev <romangareev@gcc.gnu.org>2014-11-10 20:32:31 +0000
commitb12749230b428fed44acd610d0d989d25d958130 (patch)
tree880faee88045c7eb6c71b0cf2b6e6e0bbee2e86e /gcc/graphite-poly.c
parent642fe4a92d723046114cefb837c326b24829ec73 (diff)
downloadgcc-b12749230b428fed44acd610d0d989d25d958130.zip
gcc-b12749230b428fed44acd610d0d989d25d958130.tar.gz
gcc-b12749230b428fed44acd610d0d989d25d958130.tar.bz2
Makefile.in: Remove the compilation of graphite-clast-to-gimple.o.
[gcc/] * Makefile.in: Remove the compilation of graphite-clast-to-gimple.o. * common.opt: Remove using of fgraphite-code-generator flag. * flag-types.h: Likewise. * graphite.c: Remove using of CLooG. * graphite-blocking.c: Likewise. * graphite-dependences.c: Likewise. * graphite-poly.c: Likewise. * graphite-poly.h: Likewise. * graphite-scop-detection.c: Likewise. * graphite-sese-to-poly.c: Likewise. * graphite-clast-to-gimple.c: Removed. * graphite-clast-to-gimple.h: Likewise. * graphite-htab.h: Likewise. [gcc/testsuite] * gcc.dg/graphite/isl-ast-gen-blocks-1.c: Remove using of fgraphite-code-generator flag. * gcc.dg/graphite/isl-ast-gen-blocks-2.c: Likewise. * gcc.dg/graphite/isl-ast-gen-blocks-3.c: Likewise. * gcc.dg/graphite/isl-ast-gen-blocks-4.c: Likewise. * gcc.dg/graphite/isl-ast-gen-user-1.c: Likewise. * gcc.dg/graphite/isl-codegen-loop-dumping.c: Likewise. * gcc.dg/graphite/pr35356-2.c: Likewise. * gcc.dg/graphite/isl-ast-gen-single-loop-1.c: Likewise. * gcc.dg/graphite/isl-ast-gen-single-loop-2.c: Likewise. * gcc.dg/graphite/isl-ast-gen-single-loop-3.c: Likewise. * gcc.dg/graphite/isl-ast-gen-if-1.c: Likewise. * gcc.dg/graphite/isl-ast-gen-if-2.c: Likewise. From-SVN: r217315
Diffstat (limited to 'gcc/graphite-poly.c')
-rw-r--r--gcc/graphite-poly.c104
1 files changed, 0 insertions, 104 deletions
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c
index 926cd9e..8ab0cb5 100644
--- a/gcc/graphite-poly.c
+++ b/gcc/graphite-poly.c
@@ -36,10 +36,6 @@ extern "C" {
#if defined(__cplusplus)
}
#endif
-#ifdef HAVE_cloog
-#include <cloog/cloog.h>
-#include <cloog/isl/domain.h>
-#endif
#endif
#include "system.h"
@@ -858,79 +854,6 @@ print_scop (FILE *file, scop_p scop, int verbosity)
fprintf (file, "#)\n");
}
-/* Print to FILE the input file that CLooG would expect as input, at
- some VERBOSITY level. */
-
-void
-print_cloog (FILE *file, scop_p scop, int verbosity)
-{
- int i;
- poly_bb_p pbb;
-
- fprintf (file, "# SCoP (generated by GCC/Graphite\n");
- if (verbosity > 0)
- fprintf (file, "# CLooG output language\n");
- fprintf (file, "c\n");
-
- print_scop_context (file, scop, verbosity);
- print_scop_params (file, scop, verbosity);
-
- if (verbosity > 0)
- fprintf (file, "# Number of statements\n");
-
- fprintf (file, "%d\n", SCOP_BBS (scop).length ());
-
- FOR_EACH_VEC_ELT (SCOP_BBS (scop), i, pbb)
- {
- if (verbosity > 1)
- fprintf (file, "# pbb_%d (\n", pbb_index (pbb));
-
- print_pbb_domain (file, pbb, verbosity);
- fprintf (file, "0 0 0");
-
- if (verbosity > 0)
- fprintf (file, "# For future CLooG options.\n");
- else
- fprintf (file, "\n");
-
- if (verbosity > 1)
- fprintf (file, "#)\n");
- }
-
- fprintf (file, "0");
- if (verbosity > 0)
- fprintf (file, "# Don't set the iterator names.\n");
- else
- fprintf (file, "\n");
-
- if (verbosity > 0)
- fprintf (file, "# Number of scattering functions\n");
-
- fprintf (file, "%d\n", SCOP_BBS (scop).length ());
-
- FOR_EACH_VEC_ELT (SCOP_BBS (scop), i, pbb)
- {
- if (!(pbb->transformed || pbb->schedule))
- continue;
-
- if (verbosity > 1)
- fprintf (file, "# pbb_%d (\n", pbb_index (pbb));
-
- print_scattering_function_1 (file, pbb, verbosity);
-
- if (verbosity > 1)
- fprintf (file, "#)\n");
- }
-
- fprintf (file, "0");
- if (verbosity > 0)
- fprintf (file, "# Don't set the scattering dimension names.\n");
- else
- fprintf (file, "\n");
-
- fprintf (file, "#)\n");
-}
-
/* Print to STDERR the domain of PBB, at some VERBOSITY level. */
DEBUG_FUNCTION void
@@ -964,15 +887,6 @@ debug_scop (scop_p scop, int verbosity)
print_scop (stderr, scop, verbosity);
}
-/* Print to STDERR the SCOP under CLooG format, at some VERBOSITY
- level. */
-
-DEBUG_FUNCTION void
-debug_cloog (scop_p scop, int verbosity)
-{
- print_cloog (stderr, scop, verbosity);
-}
-
/* Print to STDERR the parameters of SCOP, at some VERBOSITY
level. */
@@ -1255,24 +1169,6 @@ dot_lst (lst_p lst)
#endif
}
-/* Computes a checksum for the code generated by CLooG for SCOP. */
-
-DEBUG_FUNCTION void
-cloog_checksum (scop_p scop ATTRIBUTE_UNUSED)
-{
- /* When debugging, enable the following code. This cannot be used
- in production compilers because it calls "system". */
-#if 0
- FILE *stream = fopen ("/tmp/scop.cloog", "w");
- gcc_assert (stream);
- print_cloog (stream, scop, 0);
- fclose (stream);
-
- fputs ("\n", stdout);
- system ("cloog -compilable 1 /tmp/scop.cloog > /tmp/scop.c ; gcc -O0 -g /tmp/scop.c -lm -o /tmp/scop; /tmp/scop | md5sum ");
-#endif
-}
-
/* Reverse the loop around PBB at level DEPTH. */
isl_map *