remove deprecated isl_schedule interface
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 8 Jul 2011 13:48:04 +0000 (15:48 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 8 Jul 2011 13:48:04 +0000 (15:48 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
doc/user.pod
include/isl/schedule.h
isl_schedule.c

index 32cb87a..09d7f8f 100644 (file)
@@ -3207,22 +3207,6 @@ A representation of the band can be printed using
                __isl_take isl_printer *p,
                __isl_keep isl_band *band);
 
-Alternatively, the schedule mapping
-can also be obtained in pieces using the following functions.
-
-       int isl_schedule_n_band(__isl_keep isl_schedule *sched);
-       __isl_give isl_union_map *isl_schedule_get_band(
-               __isl_keep isl_schedule *sched, unsigned band);
-
-C<isl_schedule_n_band> returns the maximal number of bands.
-C<isl_schedule_get_band> returns a union of mappings from a domain to
-the band of consecutive schedule dimensions with the given sequence
-number for that domain.  Bands with the same sequence number but for
-different domains may be completely unrelated.
-Within a band, the corresponding coordinates of the distance vectors
-are all non-negative, assuming that the coordinates for all previous
-bands are all zero.
-
 =head2 Parametric Vertex Enumeration
 
 The parametric vertex enumeration described in this section
index 3aa99a2..787ab01 100644 (file)
@@ -22,10 +22,6 @@ __isl_give isl_union_map *isl_schedule_get_map(__isl_keep isl_schedule *sched);
 __isl_give isl_band_list *isl_schedule_get_band_forest(
        __isl_keep isl_schedule *schedule);
 
-int isl_schedule_n_band(__isl_keep isl_schedule *sched);
-__isl_give isl_union_map *isl_schedule_get_band(__isl_keep isl_schedule *sched,
-       unsigned band);
-
 __isl_give isl_printer *isl_printer_print_schedule(__isl_take isl_printer *p,
        __isl_keep isl_schedule *schedule);
 void isl_schedule_dump(__isl_keep isl_schedule *schedule);
index 56486d8..90dadee 100644 (file)
@@ -2460,47 +2460,6 @@ __isl_give isl_union_map *isl_schedule_get_map(__isl_keep isl_schedule *sched)
        return umap;
 }
 
-int isl_schedule_n_band(__isl_keep isl_schedule *sched)
-{
-       return sched ? sched->n_band : 0;
-}
-
-/* Construct a mapping that maps each domain to the band in its schedule
- * with the specified band index.  Note that bands with the same index
- * but for different domains do not need to be related.
- */
-__isl_give isl_union_map *isl_schedule_get_band(__isl_keep isl_schedule *sched,
-       unsigned band)
-{
-       int i;
-       isl_union_map *umap;
-
-       if (!sched)
-               return NULL;
-
-       umap = isl_union_map_empty(isl_dim_copy(sched->dim));
-       for (i = 0; i < sched->n; ++i) {
-               int start, end;
-               isl_map *map;
-
-               if (band >= sched->node[i].n_band)
-                       continue;
-
-               start = band > 0 ? sched->node[i].band_end[band - 1] : 0;
-               end = sched->node[i].band_end[band];
-
-               map = isl_map_copy(sched->node[i].sched);
-
-               map = isl_map_project_out(map, isl_dim_out, end,
-                                         sched->n_total_row - end);
-               map = isl_map_project_out(map, isl_dim_out, 0, start);
-
-               umap = isl_union_map_add_map(umap, map);
-       }
-
-       return umap;
-}
-
 static __isl_give isl_band_list *construct_band_list(
        __isl_keep isl_schedule *schedule, __isl_keep isl_band *parent,
        int band_nr, int *parent_active, int n_active);