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

References

tools/polly/lib/External/isl/isl_aff.c
 1052 	if (!aff || !v)
 1056 		isl_die(aff->v->ctx, isl_error_invalid,
 1062 	if (pos >= isl_local_space_dim(aff->ls, type))
 1063 		isl_die(aff->v->ctx, isl_error_invalid,
 1066 	if (isl_aff_is_nan(aff)) {
 1068 		return aff;
 1071 		isl_die(isl_aff_get_ctx(aff), isl_error_invalid,
 1074 	pos += isl_local_space_offset(aff->ls, type);
 1075 	if (isl_int_eq(aff->v->el[1 + pos], v->n) &&
 1076 	    isl_int_eq(aff->v->el[0], v->d)) {
 1078 		return aff;
 1081 	aff = isl_aff_cow(aff);
 1081 	aff = isl_aff_cow(aff);
 1082 	if (!aff)
 1084 	aff->v = isl_vec_cow(aff->v);
 1084 	aff->v = isl_vec_cow(aff->v);
 1085 	if (!aff->v)
 1088 	if (isl_int_eq(aff->v->el[0], v->d)) {
 1089 		isl_int_set(aff->v->el[1 + pos], v->n);
 1091 		isl_int_mul(aff->v->el[1 + pos], aff->v->el[0], v->n);
 1091 		isl_int_mul(aff->v->el[1 + pos], aff->v->el[0], v->n);
 1093 		isl_seq_scale(aff->v->el + 1,
 1094 				aff->v->el + 1, v->d, aff->v->size - 1);
 1094 				aff->v->el + 1, v->d, aff->v->size - 1);
 1095 		isl_int_mul(aff->v->el[1 + pos], aff->v->el[0], v->n);
 1095 		isl_int_mul(aff->v->el[1 + pos], aff->v->el[0], v->n);
 1096 		isl_int_mul(aff->v->el[0], aff->v->el[0], v->d);
 1096 		isl_int_mul(aff->v->el[0], aff->v->el[0], v->d);
 1097 		aff->v = isl_vec_normalize(aff->v);
 1097 		aff->v = isl_vec_normalize(aff->v);
 1098 		if (!aff->v)
 1103 	return aff;
 1105 	isl_aff_free(aff);