+2015-07-13 Andrew MacLeod <amacleod@redhat.com>
+
+ * omega.h: Don't include config.h, don't include params.h again if
+ omega.h has already been included.
+ * graphite-poly.h: Include sese.h.
+ * graphite.c: Don't include sese.h, remove needless includes and
+ minimize includes outside #ifdef HAVE_isl block.
+ * graphite-blocking.c: Don't include sese.h, remove needless includes,
+ and wrap entire file in #ifdef 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.
+
2015-07-13 Tom de Vries <tom@codesourcery.com>
* omp-low.c (build_receiver_ref): Mark *.omp_data_i as non-trapping.
#include <isl/map.h>
#include <isl/union_map.h>
#include <isl/constraint.h>
-#endif
#include "system.h"
#include "coretypes.h"
-#include "alias.h"
#include "backend.h"
#include "cfghooks.h"
#include "tree.h"
#include "gimple.h"
-#include "hard-reg-set.h"
-#include "options.h"
#include "fold-const.h"
-#include "dominance.h"
-#include "internal-fn.h"
#include "gimple-iterator.h"
#include "tree-ssa-loop.h"
#include "dumpfile.h"
#include "cfgloop.h"
-#include "tree-chrec.h"
#include "tree-data-ref.h"
-#include "sese.h"
-
-#ifdef HAVE_isl
#include "graphite-poly.h"
-
/* Strip mines with a factor STRIDE the scattering (time) dimension
around PBB at depth TIME_DEPTH.
#include <isl/union_map.h>
#include <isl/flow.h>
#include <isl/constraint.h>
-#endif
#include "system.h"
#include "coretypes.h"
-#include "alias.h"
#include "backend.h"
#include "cfghooks.h"
#include "tree.h"
#include "gimple.h"
-#include "hard-reg-set.h"
-#include "options.h"
#include "fold-const.h"
-#include "internal-fn.h"
#include "gimple-iterator.h"
#include "tree-ssa-loop.h"
#include "tree-pass.h"
#include "cfgloop.h"
-#include "tree-chrec.h"
#include "tree-data-ref.h"
-#include "tree-scalar-evolution.h"
-#include "sese.h"
-
-#ifdef HAVE_isl
#include "graphite-poly.h"
+
isl_union_map *
scop_get_dependences (scop_p scop)
{
return res;
}
-#endif
+#endif /* HAVE_isl */
#if !defined(HAVE_ISL_SCHED_CONSTRAINTS_COMPUTE_SCHEDULE) && defined(__cplusplus)
}
#endif
-#endif
#include "system.h"
#include "coretypes.h"
-#include "alias.h"
#include "backend.h"
#include "cfghooks.h"
#include "tree.h"
#include "gimple.h"
-#include "hard-reg-set.h"
-#include "options.h"
#include "fold-const.h"
-#include "internal-fn.h"
#include "gimple-iterator.h"
#include "tree-ssa-loop.h"
#include "dumpfile.h"
#include "cfgloop.h"
-#include "tree-chrec.h"
#include "tree-data-ref.h"
-#include "tree-scalar-evolution.h"
-#include "sese.h"
-
-#ifdef HAVE_isl
#include "graphite-poly.h"
+
/* XXX isl rewrite following comment */
/* Builds a linear expression, of dimension DIM, representing PDR's
memory access:
}
-#endif
+#endif /* HAVE_isl */
#if !defined(HAVE_ISL_SCHED_CONSTRAINTS_COMPUTE_SCHEDULE) && defined(__cplusplus)
}
#endif
-#endif
#include "system.h"
#include "coretypes.h"
-#include "alias.h"
#include "backend.h"
#include "cfghooks.h"
#include "tree.h"
#include "gimple.h"
-#include "hard-reg-set.h"
-#include "options.h"
#include "fold-const.h"
-#include "internal-fn.h"
#include "gimple-iterator.h"
#include "tree-ssa-loop.h"
#include "tree-pass.h"
#include "cfgloop.h"
#include "tree-data-ref.h"
-#include "sese.h"
+#include "graphite-poly.h"
#include "tree-ssa-loop-manip.h"
#include "tree-scalar-evolution.h"
#include "gimple-ssa.h"
#include "tree-into-ssa.h"
#include <map>
-
-#ifdef HAVE_isl
-#include "graphite-poly.h"
#include "graphite-isl-ast-to-gimple.h"
/* This flag is set when an error occurred during the translation of
return !graphite_regenerate_error;
}
-#endif
+#endif /* HAVE_isl */
#include <isl/band.h>
#include <isl/aff.h>
#include <isl/options.h>
-#endif
#include "system.h"
#include "coretypes.h"
-#include "alias.h"
#include "backend.h"
#include "cfghooks.h"
#include "tree.h"
#include "gimple.h"
-#include "hard-reg-set.h"
-#include "options.h"
#include "fold-const.h"
-#include "internal-fn.h"
#include "gimple-iterator.h"
#include "tree-ssa-loop.h"
-#include "dumpfile.h"
#include "cfgloop.h"
-#include "tree-chrec.h"
#include "tree-data-ref.h"
-#include "tree-scalar-evolution.h"
-#include "sese.h"
-
-#ifdef HAVE_isl
#include "graphite-poly.h"
static isl_union_set *
return true;
}
-#endif
+#endif /* HAVE_isl */
#if !defined(HAVE_ISL_SCHED_CONSTRAINTS_COMPUTE_SCHEDULE) && defined(__cplusplus)
}
#endif
-#endif
#include "system.h"
#include "coretypes.h"
-#include "diagnostic-core.h"
-#include "alias.h"
#include "backend.h"
+#include "diagnostic-core.h"
#include "cfghooks.h"
#include "tree.h"
#include "gimple.h"
-#include "hard-reg-set.h"
-#include "options.h"
#include "fold-const.h"
-#include "internal-fn.h"
#include "gimple-iterator.h"
#include "tree-ssa-loop.h"
-#include "dumpfile.h"
#include "gimple-pretty-print.h"
#include "cfgloop.h"
-#include "tree-chrec.h"
#include "tree-data-ref.h"
-#include "tree-scalar-evolution.h"
-#include "sese.h"
-
-#ifdef HAVE_isl
#include "graphite-poly.h"
#define OPENSCOP_MAX_STRING 256
}
-#endif
+#endif /* HAVE_isl */
#ifndef GCC_GRAPHITE_POLY_H
#define GCC_GRAPHITE_POLY_H
+#include "sese.h"
+
typedef struct poly_dr *poly_dr_p;
typedef struct poly_bb *poly_bb_p;
#include <isl/set.h>
#include <isl/map.h>
#include <isl/union_map.h>
-#endif
#include "system.h"
#include "coretypes.h"
-#include "alias.h"
#include "backend.h"
#include "cfghooks.h"
#include "tree.h"
#include "gimple.h"
-#include "hard-reg-set.h"
#include "ssa.h"
-#include "options.h"
#include "fold-const.h"
-#include "internal-fn.h"
#include "gimple-iterator.h"
#include "tree-ssa-loop-manip.h"
#include "tree-ssa-loop-niter.h"
#include "tree-into-ssa.h"
#include "tree-ssa.h"
#include "cfgloop.h"
-#include "tree-chrec.h"
#include "tree-data-ref.h"
#include "tree-scalar-evolution.h"
#include "tree-pass.h"
-#include "sese.h"
-#include "tree-ssa-propagate.h"
-
-#ifdef HAVE_isl
#include "graphite-poly.h"
+#include "tree-ssa-propagate.h"
#include "graphite-scop-detection.h"
/* Forward declarations. */
#endif
}
-#endif
+#endif /* HAVE_isl */
#if !defined(HAVE_ISL_SCHED_CONSTRAINTS_COMPUTE_SCHEDULE) && defined(__cplusplus)
}
#endif
-#endif
#include "system.h"
#include "coretypes.h"
-#include "alias.h"
#include "backend.h"
#include "cfghooks.h"
#include "tree.h"
#include "gimple.h"
-#include "rtl.h"
#include "ssa.h"
-#include "options.h"
#include "fold-const.h"
-#include "internal-fn.h"
#include "gimple-iterator.h"
#include "gimplify.h"
#include "gimplify-me.h"
#include "tree-into-ssa.h"
#include "tree-pass.h"
#include "cfgloop.h"
-#include "tree-chrec.h"
#include "tree-data-ref.h"
#include "tree-scalar-evolution.h"
#include "domwalk.h"
-#include "sese.h"
-#include "tree-ssa-propagate.h"
-
-#ifdef HAVE_isl
-#include "flags.h"
-#include "insn-config.h"
-#include "expmed.h"
-#include "dojump.h"
-#include "explow.h"
-#include "calls.h"
-#include "emit-rtl.h"
-#include "varasm.h"
-#include "stmt.h"
-#include "expr.h"
#include "graphite-poly.h"
+#include "tree-ssa-propagate.h"
#include "graphite-sese-to-poly.h"
representation. */
POLY_SCOP_P (scop) = true;
}
-#endif
+#endif /* HAVE_isl */
#include "system.h"
#include "coretypes.h"
-#include "diagnostic-core.h"
-#include "alias.h"
#include "backend.h"
+#include "diagnostic-core.h"
+#include "cfgloop.h"
+#include "tree-pass.h"
+
+#ifdef HAVE_isl
#include "cfghooks.h"
#include "tree.h"
#include "gimple.h"
-#include "hard-reg-set.h"
-#include "options.h"
#include "fold-const.h"
-#include "internal-fn.h"
#include "gimple-iterator.h"
#include "tree-cfg.h"
#include "tree-ssa-loop.h"
-#include "tree-dump.h"
-#include "cfgloop.h"
-#include "tree-chrec.h"
#include "tree-data-ref.h"
#include "tree-scalar-evolution.h"
-#include "sese.h"
+#include "graphite-poly.h"
#include "dbgcnt.h"
#include "tree-parloops.h"
-#include "tree-pass.h"
#include "tree-cfgcleanup.h"
-
-#ifdef HAVE_isl
-
-#include "graphite-poly.h"
#include "graphite-scop-detection.h"
#include "graphite-isl-ast-to-gimple.h"
#include "graphite-sese-to-poly.h"
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-#include "config.h"
-#include "params.h"
#ifndef GCC_OMEGA_H
#define GCC_OMEGA_H
+#include "params.h"
+
#define OMEGA_MAX_VARS PARAM_VALUE (PARAM_OMEGA_MAX_VARS)
#define OMEGA_MAX_GEQS PARAM_VALUE (PARAM_OMEGA_MAX_GEQS)
#define OMEGA_MAX_EQS PARAM_VALUE (PARAM_OMEGA_MAX_EQS)