Add isl_multi_pw_aff to GICHelper
authorAlexandre Isoard <alexandre.isoard@gmail.com>
Fri, 16 Dec 2016 23:41:26 +0000 (23:41 +0000)
committerAlexandre Isoard <alexandre.isoard@gmail.com>
Fri, 16 Dec 2016 23:41:26 +0000 (23:41 +0000)
Add isl_multi_pw_aff* to GICHelper and add some missing isl_pw_multi_aff* handlers.

llvm-svn: 290007

polly/include/polly/Support/GICHelper.h
polly/lib/Support/GICHelper.cpp

index 29b7b54..c23513e 100644 (file)
@@ -105,6 +105,7 @@ std::string stringFromIslObj(__isl_keep isl_union_set *uset);
 std::string stringFromIslObj(__isl_keep isl_schedule *schedule);
 std::string stringFromIslObj(__isl_keep isl_multi_aff *maff);
 std::string stringFromIslObj(__isl_keep isl_pw_multi_aff *pma);
+std::string stringFromIslObj(__isl_keep isl_multi_pw_aff *mpa);
 std::string stringFromIslObj(__isl_keep isl_union_pw_multi_aff *upma);
 std::string stringFromIslObj(__isl_keep isl_aff *aff);
 std::string stringFromIslObj(__isl_keep isl_pw_aff *pwaff);
@@ -219,6 +220,8 @@ DECLARE_TRAITS(union_set)
 DECLARE_TRAITS(aff)
 DECLARE_TRAITS(multi_aff)
 DECLARE_TRAITS(pw_aff)
+DECLARE_TRAITS(pw_multi_aff)
+DECLARE_TRAITS(multi_pw_aff)
 DECLARE_TRAITS(union_pw_aff)
 DECLARE_TRAITS(multi_union_pw_aff)
 DECLARE_TRAITS(union_pw_multi_aff)
index 5b3fe30..36360e8 100644 (file)
@@ -144,6 +144,11 @@ std::string polly::stringFromIslObj(__isl_keep isl_pw_multi_aff *pma) {
                                   isl_printer_print_pw_multi_aff);
 }
 
+std::string polly::stringFromIslObj(__isl_keep isl_multi_pw_aff *mpa) {
+  return stringFromIslObjInternal(mpa, isl_multi_pw_aff_get_ctx,
+                                  isl_printer_print_multi_pw_aff);
+}
+
 std::string polly::stringFromIslObj(__isl_keep isl_union_pw_multi_aff *upma) {
   return stringFromIslObjInternal(upma, isl_union_pw_multi_aff_get_ctx,
                                   isl_printer_print_union_pw_multi_aff);
@@ -220,6 +225,8 @@ DEFINE_ISLPTR(union_set)
 DEFINE_ISLPTR(aff)
 DEFINE_ISLPTR(multi_aff)
 DEFINE_ISLPTR(pw_aff)
+DEFINE_ISLPTR(pw_multi_aff)
+DEFINE_ISLPTR(multi_pw_aff)
 DEFINE_ISLPTR(union_pw_aff)
 DEFINE_ISLPTR(multi_union_pw_aff)
 DEFINE_ISLPTR(union_pw_multi_aff)