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

References

tools/polly/lib/External/isl/isl_aff.c
 1156 	if (!aff || !v)
 1161 		return aff;
 1165 		isl_die(aff->v->ctx, isl_error_invalid,
 1171 	if (pos >= isl_local_space_dim(aff->ls, type))
 1172 		isl_die(aff->v->ctx, isl_error_invalid,
 1175 	if (isl_aff_is_nan(aff)) {
 1177 		return aff;
 1180 		isl_die(isl_aff_get_ctx(aff), isl_error_invalid,
 1183 	aff = isl_aff_cow(aff);
 1183 	aff = isl_aff_cow(aff);
 1184 	if (!aff)
 1187 	aff->v = isl_vec_cow(aff->v);
 1187 	aff->v = isl_vec_cow(aff->v);
 1188 	if (!aff->v)
 1191 	pos += isl_local_space_offset(aff->ls, type);
 1193 		isl_int_addmul(aff->v->el[1 + pos], aff->v->el[0], v->n);
 1193 		isl_int_addmul(aff->v->el[1 + pos], aff->v->el[0], v->n);
 1194 	} else if (isl_int_eq(aff->v->el[0], v->d)) {
 1195 		isl_int_add(aff->v->el[1 + pos], aff->v->el[1 + pos], v->n);
 1195 		isl_int_add(aff->v->el[1 + pos], aff->v->el[1 + pos], v->n);
 1196 		aff->v = isl_vec_normalize(aff->v);
 1196 		aff->v = isl_vec_normalize(aff->v);
 1197 		if (!aff->v)
 1200 		isl_seq_scale(aff->v->el + 1,
 1201 				aff->v->el + 1, v->d, aff->v->size - 1);
 1201 				aff->v->el + 1, v->d, aff->v->size - 1);
 1202 		isl_int_addmul(aff->v->el[1 + pos], aff->v->el[0], v->n);
 1202 		isl_int_addmul(aff->v->el[1 + pos], aff->v->el[0], v->n);
 1203 		isl_int_mul(aff->v->el[0], aff->v->el[0], v->d);
 1203 		isl_int_mul(aff->v->el[0], aff->v->el[0], v->d);
 1204 		aff->v = isl_vec_normalize(aff->v);
 1204 		aff->v = isl_vec_normalize(aff->v);
 1205 		if (!aff->v)
 1210 	return aff;
 1212 	isl_aff_free(aff);