Blame SOURCES/gcc11-isl-dl.patch

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