[polly] r290007 - Add isl_multi_pw_aff to GICHelper
Alexandre Isoard via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 16 15:41:26 PST 2016
Author: aisoard
Date: Fri Dec 16 17:41:26 2016
New Revision: 290007
URL: http://llvm.org/viewvc/llvm-project?rev=290007&view=rev
Log:
Add isl_multi_pw_aff to GICHelper
Add isl_multi_pw_aff* to GICHelper and add some missing isl_pw_multi_aff* handlers.
Modified:
polly/trunk/include/polly/Support/GICHelper.h
polly/trunk/lib/Support/GICHelper.cpp
Modified: polly/trunk/include/polly/Support/GICHelper.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/Support/GICHelper.h?rev=290007&r1=290006&r2=290007&view=diff
==============================================================================
--- polly/trunk/include/polly/Support/GICHelper.h (original)
+++ polly/trunk/include/polly/Support/GICHelper.h Fri Dec 16 17:41:26 2016
@@ -105,6 +105,7 @@ std::string stringFromIslObj(__isl_keep
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)
Modified: polly/trunk/lib/Support/GICHelper.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/GICHelper.cpp?rev=290007&r1=290006&r2=290007&view=diff
==============================================================================
--- polly/trunk/lib/Support/GICHelper.cpp (original)
+++ polly/trunk/lib/Support/GICHelper.cpp Fri Dec 16 17:41:26 2016
@@ -144,6 +144,11 @@ std::string polly::stringFromIslObj(__is
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)
More information about the llvm-commits
mailing list