aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite.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.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.c')
-rw-r--r--gcc/graphite.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/gcc/graphite.c b/gcc/graphite.c
index 42a4457..a8c5a5b 100644
--- a/gcc/graphite.c
+++ b/gcc/graphite.c
@@ -39,11 +39,6 @@ along with GCC; see the file COPYING3. If not see
#include <isl/map.h>
#include <isl/options.h>
#include <isl/union_map.h>
-#ifdef HAVE_cloog
-#include <cloog/cloog.h>
-#include <cloog/isl/domain.h>
-#include <cloog/isl/cloog.h>
-#endif
#endif
#include "system.h"
@@ -87,13 +82,6 @@ along with GCC; see the file COPYING3. If not see
#include "graphite-scop-detection.h"
#include "graphite-isl-ast-to-gimple.h"
#include "graphite-sese-to-poly.h"
-#include "graphite-htab.h"
-
-#ifdef HAVE_cloog
-#include "graphite-clast-to-gimple.h"
-
-CloogState *cloog_state;
-#endif
/* Print global statistics to FILE. */
@@ -244,10 +232,6 @@ graphite_initialize (isl_ctx *ctx)
recompute_all_dominators ();
initialize_original_copy_tables ();
-#ifdef HAVE_cloog
- cloog_state = cloog_isl_state_malloc (ctx);
-#endif
-
if (dump_file && dump_flags)
dump_function_to_file (current_function_decl, dump_file, dump_flags);
@@ -269,9 +253,6 @@ graphite_finalize (bool need_cfg_cleanup_p)
tree_estimate_probability ();
}
-#ifdef HAVE_cloog
- cloog_state_free (cloog_state);
-#endif
free_original_copy_tables ();
if (dump_file && dump_flags)
@@ -311,37 +292,16 @@ graphite_transform_loops (void)
print_global_statistics (dump_file);
}
- bb_pbb_htab_type bb_pbb_mapping (10);
-
-#ifndef HAVE_cloog
- if(flag_graphite_code_gen == FGRAPHITE_CODE_GEN_CLOOG)
- {
- flag_graphite_code_gen = FGRAPHITE_CODE_GEN_ISL;
- printf ("The CLooG code generator cannot be used (CLooG is not "
- "available). The ISL code generator was chosen.\n");
- }
-#endif
-
FOR_EACH_VEC_ELT (scops, i, scop)
if (dbg_cnt (graphite_scop))
{
scop->ctx = ctx;
build_poly_scop (scop);
-#ifdef HAVE_cloog
- if (POLY_SCOP_P (scop)
- && apply_poly_transforms (scop)
- && (((flag_graphite_code_gen == FGRAPHITE_CODE_GEN_ISL)
- && graphite_regenerate_ast_isl (scop))
- || ((flag_graphite_code_gen == FGRAPHITE_CODE_GEN_CLOOG)
- && graphite_regenerate_ast_cloog (scop, &bb_pbb_mapping))))
- need_cfg_cleanup_p = true;
-#else
if (POLY_SCOP_P (scop)
&& apply_poly_transforms (scop)
&& graphite_regenerate_ast_isl (scop))
need_cfg_cleanup_p = true;
-#endif
}