Lines Matching defs:dst
269 static __isl_give isl_space *copy_ids(__isl_take isl_space *dst,
276 if (!dst)
283 dst = set_id(dst, dst_type, offset + i, isl_id_copy(id));
284 if (!dst)
287 return dst;
1723 /* Replace the dimensions of the given type of dst by those of src.
1725 __isl_give isl_space *isl_space_replace(__isl_take isl_space *dst,
1728 dst = isl_space_cow(dst);
1730 if (!dst || !src)
1733 dst = isl_space_drop_dims(dst, type, 0, isl_space_dim(dst, type));
1734 dst = isl_space_add_dims(dst, type, isl_space_dim(src, type));
1735 dst = copy_ids(dst, type, 0, src, type);
1737 if (dst && type == isl_dim_param) {
1740 if (!dst->nested[i])
1742 dst->nested[i] = isl_space_replace(dst->nested[i],
1744 if (!dst->nested[i])
1749 return dst;
1751 isl_space_free(dst);