#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"
#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. */
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);
tree_estimate_probability ();
}
-#ifdef HAVE_cloog
- cloog_state_free (cloog_state);
-#endif
free_original_copy_tables ();
if (dump_file && dump_flags)
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
}
|| flag_loop_strip_mine
|| flag_graphite_identity
|| flag_loop_parallelize_all
- || flag_loop_optimize_isl)
+ || flag_loop_optimize_isl
+ || flag_loop_unroll_jam)
flag_graphite = 1;
return flag_graphite != 0;