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

References

tools/polly/lib/External/isl/isl_aff.c
  760 	if (!aff || !v)
  763 	if (isl_aff_is_nan(aff)) {
  765 		return aff;
  769 		isl_die(isl_aff_get_ctx(aff), isl_error_invalid,
  772 	if (isl_int_eq(aff->v->el[1], v->n) &&
  773 	    isl_int_eq(aff->v->el[0], v->d)) {
  775 		return aff;
  778 	aff = isl_aff_cow(aff);
  778 	aff = isl_aff_cow(aff);
  779 	if (!aff)
  781 	aff->v = isl_vec_cow(aff->v);
  781 	aff->v = isl_vec_cow(aff->v);
  782 	if (!aff->v)
  785 	if (isl_int_eq(aff->v->el[0], v->d)) {
  786 		isl_int_set(aff->v->el[1], v->n);
  788 		isl_int_mul(aff->v->el[1], aff->v->el[0], v->n);
  788 		isl_int_mul(aff->v->el[1], aff->v->el[0], v->n);
  790 		isl_seq_scale(aff->v->el + 1,
  791 				aff->v->el + 1, v->d, aff->v->size - 1);
  791 				aff->v->el + 1, v->d, aff->v->size - 1);
  792 		isl_int_mul(aff->v->el[1], aff->v->el[0], v->n);
  792 		isl_int_mul(aff->v->el[1], aff->v->el[0], v->n);
  793 		isl_int_mul(aff->v->el[0], aff->v->el[0], v->d);
  793 		isl_int_mul(aff->v->el[0], aff->v->el[0], v->d);
  794 		aff->v = isl_vec_normalize(aff->v);
  794 		aff->v = isl_vec_normalize(aff->v);
  795 		if (!aff->v)
  800 	return aff;
  802 	isl_aff_free(aff);