isl_tab_pip.c: use_shifted: avoid invalid access on error path

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_tab_pip.c: context_gbr_save: avoid invalid access on error path

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_basic_set_opt: avoid invalid access on error path

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_basic_map_contains: avoid invalid access on error path

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_basic_map_align_divs: avoid invalid access on error path

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_basic_map_gist: avoid invalid access on error path

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_vertices.c: compute_chambers: avoid invalid access on error path

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_union_map_alloc: avoid double free on error path

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_hmap_map_basic_set_set: avoid memory leak on error path

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_map_align_divs: fix error handling

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_output.c: print_qpolynomial_c: improve error handling

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_local_space_substitute_equalities: avoid writing to shared matrix

We only called isl_local_space_cow on the local space itself,
but the div matrix could still be shared with other local spaces.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_multi_*_gist: add missing isl_multi_*_cow

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>