Searched refs:sc_copy (Results 1 – 1 of 1) sorted by relevance
52 isl_schedule_constraints *sc_copy; in isl_schedule_constraints_copy() local56 sc_copy = isl_calloc_type(ctx, struct isl_schedule_constraints); in isl_schedule_constraints_copy()57 if (!sc_copy) in isl_schedule_constraints_copy()60 sc_copy->domain = isl_union_set_copy(sc->domain); in isl_schedule_constraints_copy()61 sc_copy->context = isl_set_copy(sc->context); in isl_schedule_constraints_copy()62 if (!sc_copy->domain || !sc_copy->context) in isl_schedule_constraints_copy()63 return isl_schedule_constraints_free(sc_copy); in isl_schedule_constraints_copy()66 sc_copy->constraint[i] = isl_union_map_copy(sc->constraint[i]); in isl_schedule_constraints_copy()67 if (!sc_copy->constraint[i]) in isl_schedule_constraints_copy()68 return isl_schedule_constraints_free(sc_copy); in isl_schedule_constraints_copy()[all …]