~ubuntu-branches/ubuntu/wily/cloog/wily-proposed

« back to all changes in this revision

Viewing changes to isl/isl_flow.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2015-04-24 15:07:57 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20150424150757-wumy8mdonvtgf29j
Tags: 0.18.3-1
* New upstream version.
* Update symbols file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
        return NULL;
128
128
}
129
129
 
130
 
void *isl_restriction_free(__isl_take isl_restriction *restr)
 
130
__isl_null isl_restriction *isl_restriction_free(
 
131
        __isl_take isl_restriction *restr)
131
132
{
132
133
        if (!restr)
133
134
                return NULL;
227
228
 
228
229
/* Free the given isl_access_info structure.
229
230
 */
230
 
void *isl_access_info_free(__isl_take isl_access_info *acc)
 
231
__isl_null isl_access_info *isl_access_info_free(
 
232
        __isl_take isl_access_info *acc)
231
233
{
232
234
        int i;
233
235
 
736
738
 * after_level.
737
739
 */
738
740
static __isl_give isl_map *all_later_sources(__isl_keep isl_access_info *acc,
739
 
        __isl_keep isl_map *old_map,
 
741
        __isl_take isl_map *old_map,
740
742
        int j, int before_level, int k, int after_level)
741
743
{
742
744
        isl_space *dim;
941
943
 
942
944
        for (level = depth; level >= 1; --level) {
943
945
                for (j = acc->n_must-1; j >=0; --j) {
944
 
                        must_rel[j] = isl_map_empty_like(res->dep[j].map);
 
946
                        must_rel[j] = isl_map_empty_like(res->dep[2 * j].map);
945
947
                        may_rel[j] = isl_map_copy(must_rel[j]);
946
948
                }
947
949