reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3111 if (!map || !context) 3115 isl_space *space = isl_map_get_space(map); 3116 isl_map_free(map); 3122 map = isl_map_cow(map); 3122 map = isl_map_cow(map); 3123 if (!map || !context) 3125 isl_assert(map->ctx, isl_space_is_equal(map->dim, context->dim), goto error); 3125 isl_assert(map->ctx, isl_space_is_equal(map->dim, context->dim), goto error); 3126 map = isl_map_compute_divs(map); 3126 map = isl_map_compute_divs(map); 3127 if (!map) 3129 for (i = map->n - 1; i >= 0; --i) { 3130 map->p[i] = isl_basic_map_gist(map->p[i], 3130 map->p[i] = isl_basic_map_gist(map->p[i], 3132 if (!map->p[i]) 3134 if (isl_basic_map_plain_is_empty(map->p[i])) { 3135 isl_basic_map_free(map->p[i]); 3136 if (i != map->n - 1) 3137 map->p[i] = map->p[map->n - 1]; 3137 map->p[i] = map->p[map->n - 1]; 3137 map->p[i] = map->p[map->n - 1]; 3138 map->n--; 3142 ISL_F_CLR(map, ISL_MAP_NORMALIZED); 3143 return map; 3145 isl_map_free(map);