[polly] r300965 - GICHelper: remove forgotten isl foreach declarations

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 21 03:50:34 PDT 2017


Author: grosser
Date: Fri Apr 21 05:50:33 2017
New Revision: 300965

URL: http://llvm.org/viewvc/llvm-project?rev=300965&view=rev
Log:
GICHelper: remove forgotten isl foreach declarations

These should have been dropped in r300323.

Suggested-by: Michael Kruse <llvm at meinersbur.de>

Modified:
    polly/trunk/include/polly/Support/GICHelper.h

Modified: polly/trunk/include/polly/Support/GICHelper.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/Support/GICHelper.h?rev=300965&r1=300964&r2=300965&view=diff
==============================================================================
--- polly/trunk/include/polly/Support/GICHelper.h (original)
+++ polly/trunk/include/polly/Support/GICHelper.h Fri Apr 21 05:50:33 2017
@@ -256,88 +256,6 @@ operator<<(llvm::DiagnosticInfoOptimizat
   return OS;
 }
 
-/// Enumerate all isl_basic_maps of an isl_map.
-///
-/// This basically wraps isl_map_foreach_basic_map() and allows to call back
-/// C++11 closures.
-void foreachElt(const isl::map &Map,
-                const std::function<void(isl::basic_map)> &F);
-
-/// Enumerate all isl_basic_sets of an isl_set.
-///
-/// This basically wraps isl_set_foreach_basic_set() and allows to call back
-/// C++11 closures.
-void foreachElt(const isl::set &Set,
-                const std::function<void(isl::basic_set)> &F);
-
-/// Enumerate all isl_maps of an isl_union_map.
-///
-/// This basically wraps isl_union_map_foreach_map() and allows to call back
-/// C++11 closures.
-void foreachElt(const isl::union_map &UMap,
-                const std::function<void(isl::map Map)> &F);
-
-/// Enumerate all isl_sets of an isl_union_set.
-///
-/// This basically wraps isl_union_set_foreach_set() and allows to call back
-/// C++11 closures.
-void foreachElt(const isl::union_set &USet,
-                const std::function<void(isl::set Set)> &F);
-
-/// Enumerate all isl_pw_aff of an isl_union_pw_aff.
-///
-/// This basically wraps isl_union_pw_aff(), but also allows to call back C++11
-/// closures.
-void foreachElt(const isl::union_pw_aff &UPwAff,
-                const std::function<void(isl::pw_aff)> &F);
-
-/// Enumerate all polyhedra of an isl_map.
-///
-/// This is a wrapper for isl_map_foreach_basic_map() that allows to call back
-/// C++ closures. The callback has the possibility to interrupt (break) the
-/// enumeration by returning isl_stat_error. A return value of isl_stat_ok will
-/// continue enumerations, if any more elements are left.
-///
-/// @param UMap Collection to enumerate.
-/// @param F    The callback function, lambda or closure.
-///
-/// @return The isl_stat returned by the last callback invocation; isl_stat_ok
-///         if the collection was empty.
-isl_stat foreachEltWithBreak(const isl::map &Map,
-                             const std::function<isl_stat(isl::basic_map)> &F);
-
-/// Enumerate all isl_maps of an isl_union_map.
-///
-/// This is a wrapper for isl_union_map_foreach_map() that allows to call back
-/// C++ closures. In contrast to the variant without "_with_break", the callback
-/// has the possibility to interrupt (break) the enumeration by returning
-/// isl_stat_error. A return value of isl_stat_ok will continue enumerations, if
-/// any more elements are left.
-///
-/// @param UMap Collection to enumerate.
-/// @param F    The callback function, lambda or closure.
-///
-/// @return The isl_stat returned by the last callback invocation; isl_stat_ok
-///         if the collection was initially empty.
-isl_stat foreachEltWithBreak(const isl::union_map &UMap,
-                             const std::function<isl_stat(isl::map Map)> &F);
-
-/// Enumerate all pieces of an isl_pw_aff.
-///
-/// This is a wrapper around isl_pw_aff_foreach_piece() that allows to call back
-/// C++11 closures. The callback has the possibility to interrupt (break) the
-/// enumeration by returning isl_stat_error. A return value of isl_stat_ok will
-/// continue enumerations, if any more elements are left.
-///
-/// @param UMap Collection to enumerate.
-/// @param F    The callback function, lambda or closure.
-///
-/// @return The isl_stat returned by the last callback invocation; isl_stat_ok
-///         if the collection was initially empty.
-isl_stat
-foreachPieceWithBreak(const isl::pw_aff &PwAff,
-                      const std::function<isl_stat(isl::set, isl::aff)> &F);
-
 /// Scoped limit of ISL operations.
 ///
 /// Limits the number of ISL operations during the lifetime of this object. The




More information about the llvm-commits mailing list