aboutsummaryrefslogtreecommitdiff
path: root/gcc/graphite-dependences.c
diff options
context:
space:
mode:
authorRoman Gareev <gareevroman@gmail.com>2014-08-18 15:42:11 +0000
committerRoman Gareev <romangareev@gcc.gnu.org>2014-08-18 15:42:11 +0000
commiteae1a5d419d30eca0905a78e45a8e3909983dd6a (patch)
treea353a3d31ffda81ef6d90612de9127c49b5fe3d1 /gcc/graphite-dependences.c
parentd7e78447084450a8961172d8670f3add9a439d3c (diff)
downloadgcc-eae1a5d419d30eca0905a78e45a8e3909983dd6a.zip
gcc-eae1a5d419d30eca0905a78e45a8e3909983dd6a.tar.gz
gcc-eae1a5d419d30eca0905a78e45a8e3909983dd6a.tar.bz2
configure.ac: Eliminate ClooG installation dependency.
* configure.ac: Eliminate ClooG installation dependency. * configure: Regenerate. * Makefile.tpl: Add definition of ISLLIBS and HOST_ISLLIBS. * Makefile.in: Regenerate. [config/] * cloog.m4: Remove the path to isllibs from clooglibs. * isl.m4: Add paths to islinc, isllibs. [gcc/] * Makefile.in: Add definition of ISLLIBS, HOST_ISLLIBS. * config.in: Add undef of HAVE_isl. * configure: Regenerate. * configure.ac: Add definition of HAVE_isl. * graphite-blocking.c: Add checking of HAVE_isl. * graphite-dependences.c: Likewise. * graphite-interchange.c: Likewise. * graphite-isl-ast-to-gimple.c: Likewise. * graphite-optimize-isl.c: Likewise. * graphite-poly.c: Likewise. * graphite-scop-detection.c: Likewise. * graphite-sese-to-poly.c: Likewise. * graphite.c: Likewise. * toplev.c: Replace the checking of HAVE_cloog with the checking of HAVE_isl. From-SVN: r214106
Diffstat (limited to 'gcc/graphite-dependences.c')
-rw-r--r--gcc/graphite-dependences.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/graphite-dependences.c b/gcc/graphite-dependences.c
index a02bc23..cab6347 100644
--- a/gcc/graphite-dependences.c
+++ b/gcc/graphite-dependences.c
@@ -21,15 +21,17 @@ along with GCC; see the file COPYING3. If not see
#include "config.h"
-#ifdef HAVE_cloog
+#ifdef HAVE_isl
#include <isl/set.h>
#include <isl/map.h>
#include <isl/union_map.h>
#include <isl/flow.h>
#include <isl/constraint.h>
+#ifdef HAVE_cloog
#include <cloog/cloog.h>
#include <cloog/isl/domain.h>
#endif
+#endif
#include "system.h"
#include "coretypes.h"
@@ -49,7 +51,7 @@ along with GCC; see the file COPYING3. If not see
#include "tree-scalar-evolution.h"
#include "sese.h"
-#ifdef HAVE_cloog
+#ifdef HAVE_isl
#include "graphite-poly.h"
#include "graphite-htab.h"
@@ -630,6 +632,8 @@ graphite_legal_transform (scop_p scop)
return res;
}
+#ifdef HAVE_cloog
+
/* Return true when the loop at DEPTH carries dependences. BODY is
the body of the loop. */
@@ -685,3 +689,4 @@ loop_is_parallel_p (loop_p loop, bb_pbb_htab_type *bb_pbb_mapping, int depth)
}
#endif
+#endif