reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/polly/lib/External/isl/isl_pw_templ.c
  950 	if (!pw || !context)
  953 	if (pw->n == 0) {
  955 		return pw;
  963 		return pw;
  966 	aligned = isl_set_space_has_equal_params(context, pw->dim);
  970 		pw = FN(PW,align_params)(pw, isl_set_get_space(context));
  970 		pw = FN(PW,align_params)(pw, isl_set_get_space(context));
  971 		context = isl_set_align_params(context, FN(PW,get_space)(pw));
  974 	pw = FN(PW,cow)(pw);
  974 	pw = FN(PW,cow)(pw);
  975 	if (!pw)
  978 	if (pw->n == 1) {
  981 		equal = isl_set_plain_is_equal(pw->p[0].set, context);
  985 			return FN(PW,gist_last)(pw, context, fn_el);
  991 	for (i = pw->n - 1; i >= 0; --i) {
  995 		if (i == pw->n - 1) {
  997 			equal = isl_set_plain_is_equal(pw->p[i].set, context);
 1002 				return FN(PW,gist_last)(pw, context, fn_el);
 1005 		set_i = isl_set_intersect(isl_set_copy(pw->p[i].set),
 1008 		pw->p[i].FIELD = fn_el(pw->p[i].FIELD, set_i);
 1008 		pw->p[i].FIELD = fn_el(pw->p[i].FIELD, set_i);
 1009 		pw->p[i].set = fn_dom(pw->p[i].set, isl_basic_set_copy(hull));
 1009 		pw->p[i].set = fn_dom(pw->p[i].set, isl_basic_set_copy(hull));
 1010 		if (empty < 0 || !pw->p[i].FIELD || !pw->p[i].set)
 1010 		if (empty < 0 || !pw->p[i].FIELD || !pw->p[i].set)
 1013 			isl_set_free(pw->p[i].set);
 1014 			FN(EL,free)(pw->p[i].FIELD);
 1015 			if (i != pw->n - 1)
 1016 				pw->p[i] = pw->p[pw->n - 1];
 1016 				pw->p[i] = pw->p[pw->n - 1];
 1016 				pw->p[i] = pw->p[pw->n - 1];
 1017 			pw->n--;
 1024 	return pw;
 1026 	FN(PW,free)(pw);