Blame SOURCES/gcc11-isl-dl.patch

f61693
--- gcc/Makefile.in.jj	2015-06-06 10:00:25.000000000 +0200
f61693
+++ gcc/Makefile.in	2015-11-04 14:56:02.643536437 +0100
f61693
@@ -1063,7 +1063,7 @@ BUILD_LIBDEPS= $(BUILD_LIBIBERTY)
f61693
 # and the system's installed libraries.
f61693
 LIBS = @LIBS@ libcommon.a $(CPPLIB) $(LIBINTL) $(LIBICONV) $(LIBBACKTRACE) \
f61693
 	$(LIBIBERTY) $(LIBDECNUMBER) $(HOST_LIBS)
f61693
-BACKENDLIBS = $(ISLLIBS) $(GMPLIBS) $(PLUGINLIBS) $(HOST_LIBS) \
f61693
+BACKENDLIBS = $(if $(ISLLIBS),-ldl) $(GMPLIBS) $(PLUGINLIBS) $(HOST_LIBS) \
f61693
 	$(ZLIB) $(ZSTD_LIB)
f61693
 # Any system libraries needed just for GNAT.
f61693
 SYSLIBS = @GNAT_LIBEXC@
f61693
@@ -2302,6 +2302,15 @@ $(out_object_file): $(out_file)
f61693
 $(common_out_object_file): $(common_out_file)
f61693
 	$(COMPILE) $<
f61693
 	$(POSTCOMPILE)
f61693
+
f61693
+graphite%.o : \
f61693
+  ALL_CFLAGS := -O $(filter-out -fkeep-inline-functions, $(ALL_CFLAGS))
f61693
+graphite.o : \
f61693
+  ALL_CFLAGS := -O $(filter-out -fkeep-inline-functions, $(ALL_CFLAGS))
f61693
+graphite%.o : \
f61693
+  ALL_CXXFLAGS := -O $(filter-out -fkeep-inline-functions, $(ALL_CXXFLAGS))
f61693
+graphite.o : \
f61693
+  ALL_CXXFLAGS := -O $(filter-out -fkeep-inline-functions, $(ALL_CXXFLAGS))
f61693
 #
f61693
 # Generate header and source files from the machine description,
f61693
 # and compile them.
f61693
--- gcc/graphite.h.jj	2016-01-27 12:44:06.000000000 +0100
f61693
+++ gcc/graphite.h	2016-01-27 13:26:38.309876856 +0100
f61693
@@ -24,6 +24,591 @@ along with GCC; see the file COPYING3.
f61693
 
f61693
 #include "sese.h"
f61693
 
f61693
+#include <isl/version.h>
f61693
+#include <dlfcn.h>
f61693
+
f61693
+#define DYNSYMS \
f61693
+  DYNSYM (isl_aff_add_coefficient_si); \
f61693
+  DYNSYM (isl_aff_free); \
f61693
+  DYNSYM (isl_aff_get_space); \
f61693
+  DYNSYM (isl_aff_set_coefficient_si); \
f61693
+  DYNSYM (isl_aff_set_constant_si); \
f61693
+  DYNSYM (isl_aff_zero_on_domain); \
f61693
+  DYNSYM (isl_band_free); \
f61693
+  DYNSYM (isl_band_get_children); \
f61693
+  DYNSYM (isl_band_get_partial_schedule); \
f61693
+  DYNSYM (isl_band_has_children); \
f61693
+  DYNSYM (isl_band_list_free); \
f61693
+  DYNSYM (isl_band_list_get_band); \
f61693
+  DYNSYM (isl_band_list_get_ctx); \
f61693
+  DYNSYM (isl_band_list_n_band); \
f61693
+  DYNSYM (isl_band_n_member); \
f61693
+  DYNSYM (isl_basic_map_add_constraint); \
f61693
+  DYNSYM (isl_basic_map_project_out); \
f61693
+  DYNSYM (isl_basic_map_universe); \
f61693
+  DYNSYM (isl_constraint_set_coefficient_si); \
f61693
+  DYNSYM (isl_constraint_set_constant_si); \
f61693
+  DYNSYM (isl_ctx_alloc); \
f61693
+  DYNSYM (isl_ctx_free); \
f61693
+  DYNSYM (isl_equality_alloc); \
f61693
+  DYNSYM (isl_id_alloc); \
f61693
+  DYNSYM (isl_id_copy); \
f61693
+  DYNSYM (isl_id_free); \
f61693
+  DYNSYM (isl_inequality_alloc); \
f61693
+  DYNSYM (isl_local_space_copy); \
f61693
+  DYNSYM (isl_local_space_free); \
f61693
+  DYNSYM (isl_local_space_from_space); \
f61693
+  DYNSYM (isl_local_space_range); \
f61693
+  DYNSYM (isl_map_add_constraint); \
f61693
+  DYNSYM (isl_map_add_dims); \
f61693
+  DYNSYM (isl_map_align_params); \
f61693
+  DYNSYM (isl_map_apply_range); \
f61693
+  DYNSYM (isl_map_copy); \
f61693
+  DYNSYM (isl_map_dim); \
f61693
+  DYNSYM (isl_map_dump); \
f61693
+  DYNSYM (isl_map_equate); \
f61693
+  DYNSYM (isl_map_fix_si); \
f61693
+  DYNSYM (isl_map_flat_product); \
f61693
+  DYNSYM (isl_map_flat_range_product); \
f61693
+  DYNSYM (isl_map_free); \
f61693
+  DYNSYM (isl_map_from_basic_map); \
f61693
+  DYNSYM (isl_map_from_pw_aff); \
f61693
+  DYNSYM (isl_map_from_union_map); \
f61693
+  DYNSYM (isl_map_get_ctx); \
f61693
+  DYNSYM (isl_map_get_space); \
f61693
+  DYNSYM (isl_map_get_tuple_id); \
f61693
+  DYNSYM (isl_map_insert_dims); \
f61693
+  DYNSYM (isl_map_intersect); \
f61693
+  DYNSYM (isl_map_intersect_domain); \
f61693
+  DYNSYM (isl_map_intersect_range); \
f61693
+  DYNSYM (isl_map_is_empty); \
f61693
+  DYNSYM (isl_map_lex_ge); \
f61693
+  DYNSYM (isl_map_lex_le); \
f61693
+  DYNSYM (isl_map_n_out); \
f61693
+  DYNSYM (isl_map_range); \
f61693
+  DYNSYM (isl_map_set_tuple_id); \
f61693
+  DYNSYM (isl_map_universe); \
f61693
+  DYNSYM (isl_options_set_on_error); \
f61693
+  DYNSYM (isl_options_set_schedule_serialize_sccs); \
f61693
+  DYNSYM (isl_printer_set_yaml_style); \
f61693
+  DYNSYM (isl_options_set_schedule_max_constant_term); \
f61693
+  DYNSYM (isl_options_set_schedule_maximize_band_depth); \
f61693
+  DYNSYM (isl_printer_free); \
f61693
+  DYNSYM (isl_printer_print_aff); \
f61693
+  DYNSYM (isl_printer_print_constraint); \
f61693
+  DYNSYM (isl_printer_print_map); \
f61693
+  DYNSYM (isl_printer_print_set); \
f61693
+  DYNSYM (isl_printer_to_file); \
f61693
+  DYNSYM (isl_pw_aff_add); \
f61693
+  DYNSYM (isl_pw_aff_alloc); \
f61693
+  DYNSYM (isl_pw_aff_copy); \
f61693
+  DYNSYM (isl_pw_aff_eq_set); \
f61693
+  DYNSYM (isl_pw_aff_free); \
f61693
+  DYNSYM (isl_pw_aff_from_aff); \
f61693
+  DYNSYM (isl_pw_aff_ge_set); \
f61693
+  DYNSYM (isl_pw_aff_gt_set); \
f61693
+  DYNSYM (isl_pw_aff_is_cst); \
f61693
+  DYNSYM (isl_pw_aff_le_set); \
f61693
+  DYNSYM (isl_pw_aff_lt_set); \
f61693
+  DYNSYM (isl_pw_aff_mul); \
f61693
+  DYNSYM (isl_pw_aff_ne_set); \
f61693
+  DYNSYM (isl_pw_aff_nonneg_set); \
f61693
+  DYNSYM (isl_pw_aff_set_tuple_id); \
f61693
+  DYNSYM (isl_pw_aff_sub); \
f61693
+  DYNSYM (isl_pw_aff_zero_set); \
f61693
+  DYNSYM (isl_schedule_free); \
f61693
+  DYNSYM (isl_schedule_get_band_forest); \
f61693
+  DYNSYM (isl_set_add_constraint); \
f61693
+  DYNSYM (isl_set_add_dims); \
f61693
+  DYNSYM (isl_set_apply); \
f61693
+  DYNSYM (isl_set_coalesce); \
f61693
+  DYNSYM (isl_set_copy); \
f61693
+  DYNSYM (isl_set_dim); \
f61693
+  DYNSYM (isl_set_fix_si); \
f61693
+  DYNSYM (isl_set_free); \
f61693
+  DYNSYM (isl_set_get_space); \
f61693
+  DYNSYM (isl_set_get_tuple_id); \
f61693
+  DYNSYM (isl_set_intersect); \
f61693
+  DYNSYM (isl_set_is_empty); \
f61693
+  DYNSYM (isl_set_n_dim); \
f61693
+  DYNSYM (isl_set_nat_universe); \
f61693
+  DYNSYM (isl_set_project_out); \
f61693
+  DYNSYM (isl_set_set_tuple_id); \
f61693
+  DYNSYM (isl_set_universe); \
f61693
+  DYNSYM (isl_space_add_dims); \
f61693
+  DYNSYM (isl_space_alloc); \
f61693
+  DYNSYM (isl_space_copy); \
f61693
+  DYNSYM (isl_space_dim); \
f61693
+  DYNSYM (isl_space_domain); \
f61693
+  DYNSYM (isl_space_find_dim_by_id); \
f61693
+  DYNSYM (isl_space_free); \
f61693
+  DYNSYM (isl_space_from_domain); \
f61693
+  DYNSYM (isl_space_get_tuple_id); \
f61693
+  DYNSYM (isl_space_params_alloc); \
f61693
+  DYNSYM (isl_space_range); \
f61693
+  DYNSYM (isl_space_set_alloc); \
f61693
+  DYNSYM (isl_space_set_dim_id); \
f61693
+  DYNSYM (isl_space_set_tuple_id); \
f61693
+  DYNSYM (isl_union_map_add_map); \
f61693
+  DYNSYM (isl_union_map_align_params); \
f61693
+  DYNSYM (isl_union_map_apply_domain); \
f61693
+  DYNSYM (isl_union_map_apply_range); \
f61693
+  DYNSYM (isl_union_map_compute_flow); \
f61693
+  DYNSYM (isl_union_map_copy); \
f61693
+  DYNSYM (isl_union_map_empty); \
f61693
+  DYNSYM (isl_union_map_flat_range_product); \
f61693
+  DYNSYM (isl_union_map_foreach_map); \
f61693
+  DYNSYM (isl_union_map_free); \
f61693
+  DYNSYM (isl_union_map_from_map); \
f61693
+  DYNSYM (isl_union_map_get_ctx); \
f61693
+  DYNSYM (isl_union_map_get_space); \
f61693
+  DYNSYM (isl_union_map_gist_domain); \
f61693
+  DYNSYM (isl_union_map_gist_range); \
f61693
+  DYNSYM (isl_union_map_intersect_domain); \
f61693
+  DYNSYM (isl_union_map_is_empty); \
f61693
+  DYNSYM (isl_union_map_subtract); \
f61693
+  DYNSYM (isl_union_map_union); \
f61693
+  DYNSYM (isl_union_set_add_set); \
f61693
+  DYNSYM (isl_union_set_compute_schedule); \
f61693
+  DYNSYM (isl_union_set_copy); \
f61693
+  DYNSYM (isl_union_set_empty); \
f61693
+  DYNSYM (isl_union_set_from_set); \
f61693
+  DYNSYM (isl_aff_add_constant_val); \
f61693
+  DYNSYM (isl_aff_get_coefficient_val); \
f61693
+  DYNSYM (isl_aff_get_ctx); \
f61693
+  DYNSYM (isl_aff_mod_val); \
f61693
+  DYNSYM (isl_ast_build_ast_from_schedule); \
f61693
+  DYNSYM (isl_ast_build_free); \
f61693
+  DYNSYM (isl_ast_build_from_context); \
f61693
+  DYNSYM (isl_ast_build_get_ctx); \
f61693
+  DYNSYM (isl_ast_build_get_schedule); \
f61693
+  DYNSYM (isl_ast_build_get_schedule_space); \
f61693
+  DYNSYM (isl_ast_build_set_before_each_for); \
f61693
+  DYNSYM (isl_ast_build_set_options); \
f61693
+  DYNSYM (isl_ast_expr_free); \
f61693
+  DYNSYM (isl_ast_expr_from_val); \
f61693
+  DYNSYM (isl_ast_expr_get_ctx); \
f61693
+  DYNSYM (isl_ast_expr_get_id); \
f61693
+  DYNSYM (isl_ast_expr_get_op_arg); \
f61693
+  DYNSYM (isl_ast_expr_get_op_n_arg); \
f61693
+  DYNSYM (isl_ast_expr_get_op_type); \
f61693
+  DYNSYM (isl_ast_expr_get_type); \
f61693
+  DYNSYM (isl_ast_expr_get_val); \
f61693
+  DYNSYM (isl_ast_expr_sub); \
f61693
+  DYNSYM (isl_ast_node_block_get_children); \
f61693
+  DYNSYM (isl_ast_node_for_get_body); \
f61693
+  DYNSYM (isl_ast_node_for_get_cond); \
f61693
+  DYNSYM (isl_ast_node_for_get_inc); \
f61693
+  DYNSYM (isl_ast_node_for_get_init); \
f61693
+  DYNSYM (isl_ast_node_for_get_iterator); \
f61693
+  DYNSYM (isl_ast_node_free); \
f61693
+  DYNSYM (isl_ast_node_get_annotation); \
f61693
+  DYNSYM (isl_ast_node_get_type); \
f61693
+  DYNSYM (isl_ast_node_if_get_cond); \
f61693
+  DYNSYM (isl_ast_node_if_get_else); \
f61693
+  DYNSYM (isl_ast_node_if_get_then); \
f61693
+  DYNSYM (isl_ast_node_list_free); \
f61693
+  DYNSYM (isl_ast_node_list_get_ast_node); \
f61693
+  DYNSYM (isl_ast_node_list_n_ast_node); \
f61693
+  DYNSYM (isl_ast_node_user_get_expr); \
f61693
+  DYNSYM (isl_constraint_set_coefficient_val); \
f61693
+  DYNSYM (isl_constraint_set_constant_val); \
f61693
+  DYNSYM (isl_id_get_user); \
f61693
+  DYNSYM (isl_local_space_get_ctx); \
f61693
+  DYNSYM (isl_map_fix_val); \
f61693
+  DYNSYM (isl_options_set_ast_build_atomic_upper_bound); \
f61693
+  DYNSYM (isl_printer_print_ast_node); \
f61693
+  DYNSYM (isl_printer_print_str); \
f61693
+  DYNSYM (isl_printer_set_output_format); \
f61693
+  DYNSYM (isl_pw_aff_mod_val); \
f61693
+  DYNSYM (isl_schedule_constraints_compute_schedule); \
f61693
+  DYNSYM (isl_schedule_constraints_on_domain); \
f61693
+  DYNSYM (isl_schedule_constraints_set_coincidence); \
f61693
+  DYNSYM (isl_schedule_constraints_set_proximity); \
f61693
+  DYNSYM (isl_schedule_constraints_set_validity); \
f61693
+  DYNSYM (isl_set_get_dim_id); \
f61693
+  DYNSYM (isl_set_max_val); \
f61693
+  DYNSYM (isl_set_min_val); \
f61693
+  DYNSYM (isl_set_params); \
f61693
+  DYNSYM (isl_space_align_params); \
f61693
+  DYNSYM (isl_space_map_from_domain_and_range); \
f61693
+  DYNSYM (isl_space_set_tuple_name); \
f61693
+  DYNSYM (isl_space_wrap); \
f61693
+  DYNSYM (isl_union_map_from_domain_and_range); \
f61693
+  DYNSYM (isl_union_map_range); \
f61693
+  DYNSYM (isl_union_set_union); \
f61693
+  DYNSYM (isl_union_set_universe); \
f61693
+  DYNSYM (isl_val_2exp); \
f61693
+  DYNSYM (isl_val_add_ui); \
f61693
+  DYNSYM (isl_val_copy); \
f61693
+  DYNSYM (isl_val_free); \
f61693
+  DYNSYM (isl_val_int_from_si); \
f61693
+  DYNSYM (isl_val_int_from_ui); \
f61693
+  DYNSYM (isl_val_mul); \
f61693
+  DYNSYM (isl_val_neg); \
f61693
+  DYNSYM (isl_val_sub); \
f61693
+  DYNSYM (isl_printer_print_union_map); \
f61693
+  DYNSYM (isl_pw_aff_get_ctx); \
f61693
+  DYNSYM (isl_val_is_int); \
f61693
+  DYNSYM (isl_ctx_get_max_operations); \
f61693
+  DYNSYM (isl_ctx_set_max_operations); \
f61693
+  DYNSYM (isl_ctx_last_error); \
f61693
+  DYNSYM (isl_ctx_reset_operations); \
f61693
+  DYNSYM (isl_map_coalesce); \
f61693
+  DYNSYM (isl_printer_print_schedule); \
f61693
+  DYNSYM (isl_set_set_dim_id); \
f61693
+  DYNSYM (isl_union_map_coalesce); \
f61693
+  DYNSYM (isl_multi_val_set_val); \
f61693
+  DYNSYM (isl_multi_val_zero); \
f61693
+  DYNSYM (isl_options_set_schedule_max_coefficient); \
f61693
+  DYNSYM (isl_options_set_tile_scale_tile_loops); \
f61693
+  DYNSYM (isl_schedule_copy); \
f61693
+  DYNSYM (isl_schedule_get_map); \
f61693
+  DYNSYM (isl_schedule_map_schedule_node_bottom_up); \
f61693
+  DYNSYM (isl_schedule_node_band_get_permutable); \
f61693
+  DYNSYM (isl_schedule_node_band_get_space); \
f61693
+  DYNSYM (isl_schedule_node_band_tile); \
f61693
+  DYNSYM (isl_schedule_node_child); \
f61693
+  DYNSYM (isl_schedule_node_free); \
f61693
+  DYNSYM (isl_schedule_node_get_child); \
f61693
+  DYNSYM (isl_schedule_node_get_ctx); \
f61693
+  DYNSYM (isl_schedule_node_get_type); \
f61693
+  DYNSYM (isl_schedule_node_n_children); \
f61693
+  DYNSYM (isl_union_map_is_equal); \
f61693
+  DYNSYM (isl_union_access_info_compute_flow); \
f61693
+  DYNSYM (isl_union_access_info_from_sink); \
f61693
+  DYNSYM (isl_union_access_info_set_may_source); \
f61693
+  DYNSYM (isl_union_access_info_set_must_source); \
f61693
+  DYNSYM (isl_union_access_info_set_schedule); \
f61693
+  DYNSYM (isl_union_flow_free); \
f61693
+  DYNSYM (isl_union_flow_get_may_dependence); \
f61693
+  DYNSYM (isl_union_flow_get_must_dependence); \
f61693
+  DYNSYM (isl_aff_var_on_domain); \
f61693
+  DYNSYM (isl_multi_aff_from_aff); \
f61693
+  DYNSYM (isl_schedule_get_ctx); \
f61693
+  DYNSYM (isl_multi_aff_set_tuple_id); \
f61693
+  DYNSYM (isl_multi_aff_dim); \
f61693
+  DYNSYM (isl_schedule_get_domain); \
f61693
+  DYNSYM (isl_union_set_is_empty); \
f61693
+  DYNSYM (isl_union_set_get_space); \
f61693
+  DYNSYM (isl_union_pw_multi_aff_empty); \
f61693
+  DYNSYM (isl_union_set_foreach_set); \
f61693
+  DYNSYM (isl_union_set_free); \
f61693
+  DYNSYM (isl_multi_union_pw_aff_from_union_pw_multi_aff); \
f61693
+  DYNSYM (isl_multi_union_pw_aff_apply_multi_aff); \
f61693
+  DYNSYM (isl_schedule_insert_partial_schedule); \
f61693
+  DYNSYM (isl_union_pw_multi_aff_free); \
f61693
+  DYNSYM (isl_pw_multi_aff_project_out_map); \
f61693
+  DYNSYM (isl_union_pw_multi_aff_add_pw_multi_aff); \
f61693
+  DYNSYM (isl_schedule_from_domain); \
f61693
+  DYNSYM (isl_schedule_sequence); \
f61693
+  DYNSYM (isl_ast_build_node_from_schedule); \
f61693
+  DYNSYM (isl_ast_node_mark_get_node); \
f61693
+  DYNSYM (isl_schedule_node_band_member_get_ast_loop_type); \
f61693
+  DYNSYM (isl_schedule_node_band_member_set_ast_loop_type); \
f61693
+  DYNSYM (isl_val_n_abs_num_chunks); \
f61693
+  DYNSYM (isl_val_get_abs_num_chunks); \
f61693
+  DYNSYM (isl_val_int_from_chunks); \
f61693
+  DYNSYM (isl_val_is_neg); \
f61693
+  DYNSYM (isl_version); \
f61693
+  DYNSYM (isl_options_get_on_error); \
f61693
+  DYNSYM (isl_ctx_reset_error);
f61693
+
f61693
+extern struct isl_pointers_s__
f61693
+{
f61693
+  bool inited;
f61693
+  void *h;
f61693
+#define DYNSYM(x) __typeof (x) *p_##x
f61693
+  DYNSYMS
f61693
+#undef DYNSYM
f61693
+} isl_pointers__;
f61693
+
f61693
+#define isl_aff_add_coefficient_si (*isl_pointers__.p_isl_aff_add_coefficient_si)
f61693
+#define isl_aff_free (*isl_pointers__.p_isl_aff_free)
f61693
+#define isl_aff_get_space (*isl_pointers__.p_isl_aff_get_space)
f61693
+#define isl_aff_set_coefficient_si (*isl_pointers__.p_isl_aff_set_coefficient_si)
f61693
+#define isl_aff_set_constant_si (*isl_pointers__.p_isl_aff_set_constant_si)
f61693
+#define isl_aff_zero_on_domain (*isl_pointers__.p_isl_aff_zero_on_domain)
f61693
+#define isl_band_free (*isl_pointers__.p_isl_band_free)
f61693
+#define isl_band_get_children (*isl_pointers__.p_isl_band_get_children)
f61693
+#define isl_band_get_partial_schedule (*isl_pointers__.p_isl_band_get_partial_schedule)
f61693
+#define isl_band_has_children (*isl_pointers__.p_isl_band_has_children)
f61693
+#define isl_band_list_free (*isl_pointers__.p_isl_band_list_free)
f61693
+#define isl_band_list_get_band (*isl_pointers__.p_isl_band_list_get_band)
f61693
+#define isl_band_list_get_ctx (*isl_pointers__.p_isl_band_list_get_ctx)
f61693
+#define isl_band_list_n_band (*isl_pointers__.p_isl_band_list_n_band)
f61693
+#define isl_band_n_member (*isl_pointers__.p_isl_band_n_member)
f61693
+#define isl_basic_map_add_constraint (*isl_pointers__.p_isl_basic_map_add_constraint)
f61693
+#define isl_basic_map_project_out (*isl_pointers__.p_isl_basic_map_project_out)
f61693
+#define isl_basic_map_universe (*isl_pointers__.p_isl_basic_map_universe)
f61693
+#define isl_constraint_set_coefficient_si (*isl_pointers__.p_isl_constraint_set_coefficient_si)
f61693
+#define isl_constraint_set_constant_si (*isl_pointers__.p_isl_constraint_set_constant_si)
f61693
+#define isl_ctx_alloc (*isl_pointers__.p_isl_ctx_alloc)
f61693
+#define isl_ctx_free (*isl_pointers__.p_isl_ctx_free)
f61693
+#define isl_equality_alloc (*isl_pointers__.p_isl_equality_alloc)
f61693
+#define isl_id_alloc (*isl_pointers__.p_isl_id_alloc)
f61693
+#define isl_id_copy (*isl_pointers__.p_isl_id_copy)
f61693
+#define isl_id_free (*isl_pointers__.p_isl_id_free)
f61693
+#define isl_inequality_alloc (*isl_pointers__.p_isl_inequality_alloc)
f61693
+#define isl_local_space_copy (*isl_pointers__.p_isl_local_space_copy)
f61693
+#define isl_local_space_free (*isl_pointers__.p_isl_local_space_free)
f61693
+#define isl_local_space_from_space (*isl_pointers__.p_isl_local_space_from_space)
f61693
+#define isl_local_space_range (*isl_pointers__.p_isl_local_space_range)
f61693
+#define isl_map_add_constraint (*isl_pointers__.p_isl_map_add_constraint)
f61693
+#define isl_map_add_dims (*isl_pointers__.p_isl_map_add_dims)
f61693
+#define isl_map_align_params (*isl_pointers__.p_isl_map_align_params)
f61693
+#define isl_map_apply_range (*isl_pointers__.p_isl_map_apply_range)
f61693
+#define isl_map_copy (*isl_pointers__.p_isl_map_copy)
f61693
+#define isl_map_dim (*isl_pointers__.p_isl_map_dim)
f61693
+#define isl_map_dump (*isl_pointers__.p_isl_map_dump)
f61693
+#define isl_map_equate (*isl_pointers__.p_isl_map_equate)
f61693
+#define isl_map_fix_si (*isl_pointers__.p_isl_map_fix_si)
f61693
+#define isl_map_flat_product (*isl_pointers__.p_isl_map_flat_product)
f61693
+#define isl_map_flat_range_product (*isl_pointers__.p_isl_map_flat_range_product)
f61693
+#define isl_map_free (*isl_pointers__.p_isl_map_free)
f61693
+#define isl_map_from_basic_map (*isl_pointers__.p_isl_map_from_basic_map)
f61693
+#define isl_map_from_pw_aff (*isl_pointers__.p_isl_map_from_pw_aff)
f61693
+#define isl_map_from_union_map (*isl_pointers__.p_isl_map_from_union_map)
f61693
+#define isl_map_get_ctx (*isl_pointers__.p_isl_map_get_ctx)
f61693
+#define isl_map_get_space (*isl_pointers__.p_isl_map_get_space)
f61693
+#define isl_map_get_tuple_id (*isl_pointers__.p_isl_map_get_tuple_id)
f61693
+#define isl_map_insert_dims (*isl_pointers__.p_isl_map_insert_dims)
f61693
+#define isl_map_intersect (*isl_pointers__.p_isl_map_intersect)
f61693
+#define isl_map_intersect_domain (*isl_pointers__.p_isl_map_intersect_domain)
f61693
+#define isl_map_intersect_range (*isl_pointers__.p_isl_map_intersect_range)
f61693
+#define isl_map_is_empty (*isl_pointers__.p_isl_map_is_empty)
f61693
+#define isl_map_lex_ge (*isl_pointers__.p_isl_map_lex_ge)
f61693
+#define isl_map_lex_le (*isl_pointers__.p_isl_map_lex_le)
f61693
+#define isl_map_n_out (*isl_pointers__.p_isl_map_n_out)
f61693
+#define isl_map_range (*isl_pointers__.p_isl_map_range)
f61693
+#define isl_map_set_tuple_id (*isl_pointers__.p_isl_map_set_tuple_id)
f61693
+#define isl_map_universe (*isl_pointers__.p_isl_map_universe)
f61693
+#define isl_options_set_on_error (*isl_pointers__.p_isl_options_set_on_error)
f61693
+#define isl_options_set_schedule_serialize_sccs (*isl_pointers__.p_isl_options_set_schedule_serialize_sccs)
f61693
+#define isl_printer_set_yaml_style (*isl_pointers__.p_isl_printer_set_yaml_style)
f61693
+#define isl_options_set_schedule_max_constant_term (*isl_pointers__.p_isl_options_set_schedule_max_constant_term)
f61693
+#define isl_options_set_schedule_maximize_band_depth (*isl_pointers__.p_isl_options_set_schedule_maximize_band_depth)
f61693
+#define isl_printer_free (*isl_pointers__.p_isl_printer_free)
f61693
+#define isl_printer_print_aff (*isl_pointers__.p_isl_printer_print_aff)
f61693
+#define isl_printer_print_constraint (*isl_pointers__.p_isl_printer_print_constraint)
f61693
+#define isl_printer_print_map (*isl_pointers__.p_isl_printer_print_map)
f61693
+#define isl_printer_print_set (*isl_pointers__.p_isl_printer_print_set)
f61693
+#define isl_printer_to_file (*isl_pointers__.p_isl_printer_to_file)
f61693
+#define isl_pw_aff_add (*isl_pointers__.p_isl_pw_aff_add)
f61693
+#define isl_pw_aff_alloc (*isl_pointers__.p_isl_pw_aff_alloc)
f61693
+#define isl_pw_aff_copy (*isl_pointers__.p_isl_pw_aff_copy)
f61693
+#define isl_pw_aff_eq_set (*isl_pointers__.p_isl_pw_aff_eq_set)
f61693
+#define isl_pw_aff_free (*isl_pointers__.p_isl_pw_aff_free)
f61693
+#define isl_pw_aff_from_aff (*isl_pointers__.p_isl_pw_aff_from_aff)
f61693
+#define isl_pw_aff_ge_set (*isl_pointers__.p_isl_pw_aff_ge_set)
f61693
+#define isl_pw_aff_gt_set (*isl_pointers__.p_isl_pw_aff_gt_set)
f61693
+#define isl_pw_aff_is_cst (*isl_pointers__.p_isl_pw_aff_is_cst)
f61693
+#define isl_pw_aff_le_set (*isl_pointers__.p_isl_pw_aff_le_set)
f61693
+#define isl_pw_aff_lt_set (*isl_pointers__.p_isl_pw_aff_lt_set)
f61693
+#define isl_pw_aff_mul (*isl_pointers__.p_isl_pw_aff_mul)
f61693
+#define isl_pw_aff_ne_set (*isl_pointers__.p_isl_pw_aff_ne_set)
f61693
+#define isl_pw_aff_nonneg_set (*isl_pointers__.p_isl_pw_aff_nonneg_set)
f61693
+#define isl_pw_aff_set_tuple_id (*isl_pointers__.p_isl_pw_aff_set_tuple_id)
f61693
+#define isl_pw_aff_sub (*isl_pointers__.p_isl_pw_aff_sub)
f61693
+#define isl_pw_aff_zero_set (*isl_pointers__.p_isl_pw_aff_zero_set)
f61693
+#define isl_schedule_free (*isl_pointers__.p_isl_schedule_free)
f61693
+#define isl_schedule_get_band_forest (*isl_pointers__.p_isl_schedule_get_band_forest)
f61693
+#define isl_set_add_constraint (*isl_pointers__.p_isl_set_add_constraint)
f61693
+#define isl_set_add_dims (*isl_pointers__.p_isl_set_add_dims)
f61693
+#define isl_set_apply (*isl_pointers__.p_isl_set_apply)
f61693
+#define isl_set_coalesce (*isl_pointers__.p_isl_set_coalesce)
f61693
+#define isl_set_copy (*isl_pointers__.p_isl_set_copy)
f61693
+#define isl_set_dim (*isl_pointers__.p_isl_set_dim)
f61693
+#define isl_set_fix_si (*isl_pointers__.p_isl_set_fix_si)
f61693
+#define isl_set_free (*isl_pointers__.p_isl_set_free)
f61693
+#define isl_set_get_space (*isl_pointers__.p_isl_set_get_space)
f61693
+#define isl_set_get_tuple_id (*isl_pointers__.p_isl_set_get_tuple_id)
f61693
+#define isl_set_intersect (*isl_pointers__.p_isl_set_intersect)
f61693
+#define isl_set_is_empty (*isl_pointers__.p_isl_set_is_empty)
f61693
+#define isl_set_n_dim (*isl_pointers__.p_isl_set_n_dim)
f61693
+#define isl_set_nat_universe (*isl_pointers__.p_isl_set_nat_universe)
f61693
+#define isl_set_project_out (*isl_pointers__.p_isl_set_project_out)
f61693
+#define isl_set_set_tuple_id (*isl_pointers__.p_isl_set_set_tuple_id)
f61693
+#define isl_set_universe (*isl_pointers__.p_isl_set_universe)
f61693
+#define isl_space_add_dims (*isl_pointers__.p_isl_space_add_dims)
f61693
+#define isl_space_alloc (*isl_pointers__.p_isl_space_alloc)
f61693
+#define isl_space_copy (*isl_pointers__.p_isl_space_copy)
f61693
+#define isl_space_dim (*isl_pointers__.p_isl_space_dim)
f61693
+#define isl_space_domain (*isl_pointers__.p_isl_space_domain)
f61693
+#define isl_space_find_dim_by_id (*isl_pointers__.p_isl_space_find_dim_by_id)
f61693
+#define isl_space_free (*isl_pointers__.p_isl_space_free)
f61693
+#define isl_space_from_domain (*isl_pointers__.p_isl_space_from_domain)
f61693
+#define isl_space_get_tuple_id (*isl_pointers__.p_isl_space_get_tuple_id)
f61693
+#define isl_space_params_alloc (*isl_pointers__.p_isl_space_params_alloc)
f61693
+#define isl_space_range (*isl_pointers__.p_isl_space_range)
f61693
+#define isl_space_set_alloc (*isl_pointers__.p_isl_space_set_alloc)
f61693
+#define isl_space_set_dim_id (*isl_pointers__.p_isl_space_set_dim_id)
f61693
+#define isl_space_set_tuple_id (*isl_pointers__.p_isl_space_set_tuple_id)
f61693
+#define isl_union_map_add_map (*isl_pointers__.p_isl_union_map_add_map)
f61693
+#define isl_union_map_align_params (*isl_pointers__.p_isl_union_map_align_params)
f61693
+#define isl_union_map_apply_domain (*isl_pointers__.p_isl_union_map_apply_domain)
f61693
+#define isl_union_map_apply_range (*isl_pointers__.p_isl_union_map_apply_range)
f61693
+#define isl_union_map_compute_flow (*isl_pointers__.p_isl_union_map_compute_flow)
f61693
+#define isl_union_map_copy (*isl_pointers__.p_isl_union_map_copy)
f61693
+#define isl_union_map_empty (*isl_pointers__.p_isl_union_map_empty)
f61693
+#define isl_union_map_flat_range_product (*isl_pointers__.p_isl_union_map_flat_range_product)
f61693
+#define isl_union_map_foreach_map (*isl_pointers__.p_isl_union_map_foreach_map)
f61693
+#define isl_union_map_free (*isl_pointers__.p_isl_union_map_free)
f61693
+#define isl_union_map_from_map (*isl_pointers__.p_isl_union_map_from_map)
f61693
+#define isl_union_map_get_ctx (*isl_pointers__.p_isl_union_map_get_ctx)
f61693
+#define isl_union_map_get_space (*isl_pointers__.p_isl_union_map_get_space)
f61693
+#define isl_union_map_gist_domain (*isl_pointers__.p_isl_union_map_gist_domain)
f61693
+#define isl_union_map_gist_range (*isl_pointers__.p_isl_union_map_gist_range)
f61693
+#define isl_union_map_intersect_domain (*isl_pointers__.p_isl_union_map_intersect_domain)
f61693
+#define isl_union_map_is_empty (*isl_pointers__.p_isl_union_map_is_empty)
f61693
+#define isl_union_map_subtract (*isl_pointers__.p_isl_union_map_subtract)
f61693
+#define isl_union_map_union (*isl_pointers__.p_isl_union_map_union)
f61693
+#define isl_union_set_add_set (*isl_pointers__.p_isl_union_set_add_set)
f61693
+#define isl_union_set_compute_schedule (*isl_pointers__.p_isl_union_set_compute_schedule)
f61693
+#define isl_union_set_copy (*isl_pointers__.p_isl_union_set_copy)
f61693
+#define isl_union_set_empty (*isl_pointers__.p_isl_union_set_empty)
f61693
+#define isl_union_set_from_set (*isl_pointers__.p_isl_union_set_from_set)
f61693
+#define isl_aff_add_constant_val (*isl_pointers__.p_isl_aff_add_constant_val)
f61693
+#define isl_aff_get_coefficient_val (*isl_pointers__.p_isl_aff_get_coefficient_val)
f61693
+#define isl_aff_get_ctx (*isl_pointers__.p_isl_aff_get_ctx)
f61693
+#define isl_aff_mod_val (*isl_pointers__.p_isl_aff_mod_val)
f61693
+#define isl_ast_build_ast_from_schedule (*isl_pointers__.p_isl_ast_build_ast_from_schedule)
f61693
+#define isl_ast_build_free (*isl_pointers__.p_isl_ast_build_free)
f61693
+#define isl_ast_build_from_context (*isl_pointers__.p_isl_ast_build_from_context)
f61693
+#define isl_ast_build_get_ctx (*isl_pointers__.p_isl_ast_build_get_ctx)
f61693
+#define isl_ast_build_get_schedule (*isl_pointers__.p_isl_ast_build_get_schedule)
f61693
+#define isl_ast_build_get_schedule_space (*isl_pointers__.p_isl_ast_build_get_schedule_space)
f61693
+#define isl_ast_build_set_before_each_for (*isl_pointers__.p_isl_ast_build_set_before_each_for)
f61693
+#define isl_ast_build_set_options (*isl_pointers__.p_isl_ast_build_set_options)
f61693
+#define isl_ast_expr_free (*isl_pointers__.p_isl_ast_expr_free)
f61693
+#define isl_ast_expr_from_val (*isl_pointers__.p_isl_ast_expr_from_val)
f61693
+#define isl_ast_expr_get_ctx (*isl_pointers__.p_isl_ast_expr_get_ctx)
f61693
+#define isl_ast_expr_get_id (*isl_pointers__.p_isl_ast_expr_get_id)
f61693
+#define isl_ast_expr_get_op_arg (*isl_pointers__.p_isl_ast_expr_get_op_arg)
f61693
+#define isl_ast_expr_get_op_n_arg (*isl_pointers__.p_isl_ast_expr_get_op_n_arg)
f61693
+#define isl_ast_expr_get_op_type (*isl_pointers__.p_isl_ast_expr_get_op_type)
f61693
+#define isl_ast_expr_get_type (*isl_pointers__.p_isl_ast_expr_get_type)
f61693
+#define isl_ast_expr_get_val (*isl_pointers__.p_isl_ast_expr_get_val)
f61693
+#define isl_ast_expr_sub (*isl_pointers__.p_isl_ast_expr_sub)
f61693
+#define isl_ast_node_block_get_children (*isl_pointers__.p_isl_ast_node_block_get_children)
f61693
+#define isl_ast_node_for_get_body (*isl_pointers__.p_isl_ast_node_for_get_body)
f61693
+#define isl_ast_node_for_get_cond (*isl_pointers__.p_isl_ast_node_for_get_cond)
f61693
+#define isl_ast_node_for_get_inc (*isl_pointers__.p_isl_ast_node_for_get_inc)
f61693
+#define isl_ast_node_for_get_init (*isl_pointers__.p_isl_ast_node_for_get_init)
f61693
+#define isl_ast_node_for_get_iterator (*isl_pointers__.p_isl_ast_node_for_get_iterator)
f61693
+#define isl_ast_node_free (*isl_pointers__.p_isl_ast_node_free)
f61693
+#define isl_ast_node_get_annotation (*isl_pointers__.p_isl_ast_node_get_annotation)
f61693
+#define isl_ast_node_get_type (*isl_pointers__.p_isl_ast_node_get_type)
f61693
+#define isl_ast_node_if_get_cond (*isl_pointers__.p_isl_ast_node_if_get_cond)
f61693
+#define isl_ast_node_if_get_else (*isl_pointers__.p_isl_ast_node_if_get_else)
f61693
+#define isl_ast_node_if_get_then (*isl_pointers__.p_isl_ast_node_if_get_then)
f61693
+#define isl_ast_node_list_free (*isl_pointers__.p_isl_ast_node_list_free)
f61693
+#define isl_ast_node_list_get_ast_node (*isl_pointers__.p_isl_ast_node_list_get_ast_node)
f61693
+#define isl_ast_node_list_n_ast_node (*isl_pointers__.p_isl_ast_node_list_n_ast_node)
f61693
+#define isl_ast_node_user_get_expr (*isl_pointers__.p_isl_ast_node_user_get_expr)
f61693
+#define isl_constraint_set_coefficient_val (*isl_pointers__.p_isl_constraint_set_coefficient_val)
f61693
+#define isl_constraint_set_constant_val (*isl_pointers__.p_isl_constraint_set_constant_val)
f61693
+#define isl_id_get_user (*isl_pointers__.p_isl_id_get_user)
f61693
+#define isl_local_space_get_ctx (*isl_pointers__.p_isl_local_space_get_ctx)
f61693
+#define isl_map_fix_val (*isl_pointers__.p_isl_map_fix_val)
f61693
+#define isl_options_set_ast_build_atomic_upper_bound (*isl_pointers__.p_isl_options_set_ast_build_atomic_upper_bound)
f61693
+#define isl_printer_print_ast_node (*isl_pointers__.p_isl_printer_print_ast_node)
f61693
+#define isl_printer_print_str (*isl_pointers__.p_isl_printer_print_str)
f61693
+#define isl_printer_set_output_format (*isl_pointers__.p_isl_printer_set_output_format)
f61693
+#define isl_pw_aff_mod_val (*isl_pointers__.p_isl_pw_aff_mod_val)
f61693
+#define isl_schedule_constraints_compute_schedule (*isl_pointers__.p_isl_schedule_constraints_compute_schedule)
f61693
+#define isl_schedule_constraints_on_domain (*isl_pointers__.p_isl_schedule_constraints_on_domain)
f61693
+#define isl_schedule_constraints_set_coincidence (*isl_pointers__.p_isl_schedule_constraints_set_coincidence)
f61693
+#define isl_schedule_constraints_set_proximity (*isl_pointers__.p_isl_schedule_constraints_set_proximity)
f61693
+#define isl_schedule_constraints_set_validity (*isl_pointers__.p_isl_schedule_constraints_set_validity)
f61693
+#define isl_set_get_dim_id (*isl_pointers__.p_isl_set_get_dim_id)
f61693
+#define isl_set_max_val (*isl_pointers__.p_isl_set_max_val)
f61693
+#define isl_set_min_val (*isl_pointers__.p_isl_set_min_val)
f61693
+#define isl_set_params (*isl_pointers__.p_isl_set_params)
f61693
+#define isl_space_align_params (*isl_pointers__.p_isl_space_align_params)
f61693
+#define isl_space_map_from_domain_and_range (*isl_pointers__.p_isl_space_map_from_domain_and_range)
f61693
+#define isl_space_set_tuple_name (*isl_pointers__.p_isl_space_set_tuple_name)
f61693
+#define isl_space_wrap (*isl_pointers__.p_isl_space_wrap)
f61693
+#define isl_union_map_from_domain_and_range (*isl_pointers__.p_isl_union_map_from_domain_and_range)
f61693
+#define isl_union_map_range (*isl_pointers__.p_isl_union_map_range)
f61693
+#define isl_union_set_union (*isl_pointers__.p_isl_union_set_union)
f61693
+#define isl_union_set_universe (*isl_pointers__.p_isl_union_set_universe)
f61693
+#define isl_val_2exp (*isl_pointers__.p_isl_val_2exp)
f61693
+#define isl_val_add_ui (*isl_pointers__.p_isl_val_add_ui)
f61693
+#define isl_val_copy (*isl_pointers__.p_isl_val_copy)
f61693
+#define isl_val_free (*isl_pointers__.p_isl_val_free)
f61693
+#define isl_val_int_from_si (*isl_pointers__.p_isl_val_int_from_si)
f61693
+#define isl_val_int_from_ui (*isl_pointers__.p_isl_val_int_from_ui)
f61693
+#define isl_val_mul (*isl_pointers__.p_isl_val_mul)
f61693
+#define isl_val_neg (*isl_pointers__.p_isl_val_neg)
f61693
+#define isl_val_sub (*isl_pointers__.p_isl_val_sub)
f61693
+#define isl_printer_print_union_map (*isl_pointers__.p_isl_printer_print_union_map)
f61693
+#define isl_pw_aff_get_ctx (*isl_pointers__.p_isl_pw_aff_get_ctx)
f61693
+#define isl_val_is_int (*isl_pointers__.p_isl_val_is_int)
f61693
+#define isl_ctx_get_max_operations (*isl_pointers__.p_isl_ctx_get_max_operations)
f61693
+#define isl_ctx_set_max_operations (*isl_pointers__.p_isl_ctx_set_max_operations)
f61693
+#define isl_ctx_last_error (*isl_pointers__.p_isl_ctx_last_error)
f61693
+#define isl_ctx_reset_operations (*isl_pointers__.p_isl_ctx_reset_operations)
f61693
+#define isl_map_coalesce (*isl_pointers__.p_isl_map_coalesce)
f61693
+#define isl_printer_print_schedule (*isl_pointers__.p_isl_printer_print_schedule)
f61693
+#define isl_set_set_dim_id (*isl_pointers__.p_isl_set_set_dim_id)
f61693
+#define isl_union_map_coalesce (*isl_pointers__.p_isl_union_map_coalesce)
f61693
+#define isl_multi_val_set_val (*isl_pointers__.p_isl_multi_val_set_val)
f61693
+#define isl_multi_val_zero (*isl_pointers__.p_isl_multi_val_zero)
f61693
+#define isl_options_set_schedule_max_coefficient (*isl_pointers__.p_isl_options_set_schedule_max_coefficient)
f61693
+#define isl_options_set_tile_scale_tile_loops (*isl_pointers__.p_isl_options_set_tile_scale_tile_loops)
f61693
+#define isl_schedule_copy (*isl_pointers__.p_isl_schedule_copy)
f61693
+#define isl_schedule_get_map (*isl_pointers__.p_isl_schedule_get_map)
f61693
+#define isl_schedule_map_schedule_node_bottom_up (*isl_pointers__.p_isl_schedule_map_schedule_node_bottom_up)
f61693
+#define isl_schedule_node_band_get_permutable (*isl_pointers__.p_isl_schedule_node_band_get_permutable)
f61693
+#define isl_schedule_node_band_get_space (*isl_pointers__.p_isl_schedule_node_band_get_space)
f61693
+#define isl_schedule_node_band_tile (*isl_pointers__.p_isl_schedule_node_band_tile)
f61693
+#define isl_schedule_node_child (*isl_pointers__.p_isl_schedule_node_child)
f61693
+#define isl_schedule_node_free (*isl_pointers__.p_isl_schedule_node_free)
f61693
+#define isl_schedule_node_get_child (*isl_pointers__.p_isl_schedule_node_get_child)
f61693
+#define isl_schedule_node_get_ctx (*isl_pointers__.p_isl_schedule_node_get_ctx)
f61693
+#define isl_schedule_node_get_type (*isl_pointers__.p_isl_schedule_node_get_type)
f61693
+#define isl_schedule_node_n_children (*isl_pointers__.p_isl_schedule_node_n_children)
f61693
+#define isl_union_map_is_equal (*isl_pointers__.p_isl_union_map_is_equal)
f61693
+#define isl_union_access_info_compute_flow (*isl_pointers__.p_isl_union_access_info_compute_flow)
f61693
+#define isl_union_access_info_from_sink (*isl_pointers__.p_isl_union_access_info_from_sink)
f61693
+#define isl_union_access_info_set_may_source (*isl_pointers__.p_isl_union_access_info_set_may_source)
f61693
+#define isl_union_access_info_set_must_source (*isl_pointers__.p_isl_union_access_info_set_must_source)
f61693
+#define isl_union_access_info_set_schedule (*isl_pointers__.p_isl_union_access_info_set_schedule)
f61693
+#define isl_union_flow_free (*isl_pointers__.p_isl_union_flow_free)
f61693
+#define isl_union_flow_get_may_dependence (*isl_pointers__.p_isl_union_flow_get_may_dependence)
f61693
+#define isl_union_flow_get_must_dependence (*isl_pointers__.p_isl_union_flow_get_must_dependence)
f61693
+#define isl_aff_var_on_domain (*isl_pointers__.p_isl_aff_var_on_domain)
f61693
+#define isl_multi_aff_from_aff (*isl_pointers__.p_isl_multi_aff_from_aff)
f61693
+#define isl_schedule_get_ctx (*isl_pointers__.p_isl_schedule_get_ctx)
f61693
+#define isl_multi_aff_set_tuple_id (*isl_pointers__.p_isl_multi_aff_set_tuple_id)
f61693
+#define isl_multi_aff_dim (*isl_pointers__.p_isl_multi_aff_dim)
f61693
+#define isl_schedule_get_domain (*isl_pointers__.p_isl_schedule_get_domain)
f61693
+#define isl_union_set_is_empty (*isl_pointers__.p_isl_union_set_is_empty)
f61693
+#define isl_union_set_get_space (*isl_pointers__.p_isl_union_set_get_space)
f61693
+#define isl_union_pw_multi_aff_empty (*isl_pointers__.p_isl_union_pw_multi_aff_empty)
f61693
+#define isl_union_set_foreach_set (*isl_pointers__.p_isl_union_set_foreach_set)
f61693
+#define isl_union_set_free (*isl_pointers__.p_isl_union_set_free)
f61693
+#define isl_multi_union_pw_aff_from_union_pw_multi_aff (*isl_pointers__.p_isl_multi_union_pw_aff_from_union_pw_multi_aff)
f61693
+#define isl_multi_union_pw_aff_apply_multi_aff (*isl_pointers__.p_isl_multi_union_pw_aff_apply_multi_aff)
f61693
+#define isl_schedule_insert_partial_schedule (*isl_pointers__.p_isl_schedule_insert_partial_schedule)
f61693
+#define isl_union_pw_multi_aff_free (*isl_pointers__.p_isl_union_pw_multi_aff_free)
f61693
+#define isl_pw_multi_aff_project_out_map (*isl_pointers__.p_isl_pw_multi_aff_project_out_map)
f61693
+#define isl_union_pw_multi_aff_add_pw_multi_aff (*isl_pointers__.p_isl_union_pw_multi_aff_add_pw_multi_aff)
f61693
+#define isl_schedule_from_domain (*isl_pointers__.p_isl_schedule_from_domain)
f61693
+#define isl_schedule_sequence (*isl_pointers__.p_isl_schedule_sequence)
f61693
+#define isl_ast_build_node_from_schedule (*isl_pointers__.p_isl_ast_build_node_from_schedule)
f61693
+#define isl_ast_node_mark_get_node (*isl_pointers__.p_isl_ast_node_mark_get_node)
f61693
+#define isl_schedule_node_band_member_get_ast_loop_type (*isl_pointers__.p_isl_schedule_node_band_member_get_ast_loop_type)
f61693
+#define isl_schedule_node_band_member_set_ast_loop_type (*isl_pointers__.p_isl_schedule_node_band_member_set_ast_loop_type)
f61693
+#define isl_val_n_abs_num_chunks (*isl_pointers__.p_isl_val_n_abs_num_chunks)
f61693
+#define isl_val_get_abs_num_chunks (*isl_pointers__.p_isl_val_get_abs_num_chunks)
f61693
+#define isl_val_int_from_chunks (*isl_pointers__.p_isl_val_int_from_chunks)
f61693
+#define isl_val_is_neg (*isl_pointers__.p_isl_val_is_neg)
f61693
+#define isl_version (*isl_pointers__.p_isl_version)
f61693
+#define isl_options_get_on_error (*isl_pointers__.p_isl_options_get_on_error)
f61693
+#define isl_ctx_reset_error (*isl_pointers__.p_isl_ctx_reset_error)
f61693
+
f61693
 typedef struct poly_dr *poly_dr_p;
f61693
 
f61693
 typedef struct poly_bb *poly_bb_p;
f61693
@@ -448,5 +1033,6 @@ extern tree cached_scalar_evolution_in_r
f61693
 extern void dot_all_sese (FILE *, vec<sese_l> &);
f61693
 extern void dot_sese (sese_l &);
f61693
 extern void dot_cfg ();
f61693
+extern const char *get_isl_version (bool);
f61693
 
f61693
 #endif
f61693
--- gcc/graphite.c.jj	2015-11-04 14:15:32.000000000 +0100
f61693
+++ gcc/graphite.c	2015-11-04 14:56:02.645536409 +0100
f61693
@@ -60,6 +60,35 @@ along with GCC; see the file COPYING3.
f61693
 #include "tree-into-ssa.h"
f61693
 #include "graphite.h"
f61693
 
f61693
+__typeof (isl_pointers__) isl_pointers__;
f61693
+
f61693
+static bool
f61693
+init_isl_pointers (void)
f61693
+{
f61693
+  void *h;
f61693
+
f61693
+  if (isl_pointers__.inited)
f61693
+    return isl_pointers__.h != NULL;
f61693
+  h = dlopen ("libisl.so.15", RTLD_LAZY);
f61693
+  isl_pointers__.h = h;
f61693
+  if (h == NULL)
f61693
+    return false;
f61693
+#define DYNSYM(x) \
f61693
+  do \
f61693
+    { \
f61693
+      union { __typeof (isl_pointers__.p_##x) p; void *q; } u; \
f61693
+      u.q = dlsym (h, #x); \
f61693
+      if (u.q == NULL) \
f61693
+	return false; \
f61693
+      isl_pointers__.p_##x = u.p; \
f61693
+    } \
f61693
+  while (0)
f61693
+  DYNSYMS
f61693
+#undef DYNSYM
f61693
+  isl_pointers__.inited = true;
f61693
+  return true;
f61693
+}
f61693
+
f61693
 /* Print global statistics to FILE.  */
f61693
 
f61693
 static void
f61693
@@ -365,6 +394,15 @@ graphite_transform_loops (void)
f61693
   if (parallelized_function_p (cfun->decl))
f61693
     return;
f61693
 
f61693
+  if (number_of_loops (cfun) <= 1)
f61693
+    return;
f61693
+
f61693
+  if (!init_isl_pointers ())
f61693
+    {
f61693
+      sorry ("Graphite loop optimizations cannot be used");
f61693
+      return;
f61693
+    }
f61693
+
f61693
   calculate_dominance_info (CDI_DOMINATORS);
f61693
 
f61693
   /* We rely on post-dominators during merging of SESE regions so those
f61693
@@ -455,6 +493,14 @@ graphite_transform_loops (void)
f61693
     }
f61693
 }
f61693
 
f61693
+const char *
f61693
+get_isl_version (bool force)
f61693
+{
f61693
+  if (force)
f61693
+    init_isl_pointers ();
f61693
+  return (isl_pointers__.inited && isl_version) ? isl_version () : "none";
f61693
+}
f61693
+
f61693
 #else /* If isl is not available: #ifndef HAVE_isl.  */
f61693
 
f61693
 static void
f61693
--- gcc/toplev.c.jj	2017-02-19 13:02:31.000000000 +0100
f61693
+++ gcc/toplev.c	2017-02-19 16:50:25.536301350 +0100
f61693
@@ -94,6 +94,7 @@ along with GCC; see the file COPYING3.
f61693
 
f61693
 #ifdef HAVE_isl
f61693
 #include <isl/version.h>
f61693
+extern const char *get_isl_version (bool);
f61693
 #endif
f61693
 
f61693
 static void general_init (const char *, bool);
f61693
@@ -683,7 +684,7 @@ print_version (FILE *file, const char *i
f61693
 #ifndef HAVE_isl
f61693
 	   "none"
f61693
 #else
f61693
-	   isl_version ()
f61693
+	   get_isl_version (*indent == 0)
f61693
 #endif
f61693
 	   );
f61693
   if (strcmp (GCC_GMP_STRINGIFY_VERSION, gmp_version))