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

References

tools/polly/lib/External/isl/isl_polynomial.c
 1349 	if (!qp)
 1351 	if (qp->div->n_row <= 1)
 1352 		return qp;
 1354 	div_pos = isl_space_dim(qp->dim, isl_dim_all);
 1356 	array = isl_alloc_array(qp->div->ctx, struct isl_div_sort_info,
 1357 				qp->div->n_row);
 1358 	pos = isl_alloc_array(qp->div->ctx, int, qp->div->n_row);
 1358 	pos = isl_alloc_array(qp->div->ctx, int, qp->div->n_row);
 1359 	at = isl_alloc_array(qp->div->ctx, int, qp->div->n_row);
 1359 	at = isl_alloc_array(qp->div->ctx, int, qp->div->n_row);
 1360 	len = qp->div->n_col - 2;
 1361 	reordering = isl_alloc_array(qp->div->ctx, int, len);
 1365 	for (i = 0; i < qp->div->n_row; ++i) {
 1366 		array[i].div = qp->div;
 1372 	qsort(array, qp->div->n_row, sizeof(struct isl_div_sort_info),
 1378 	for (i = 0; i < qp->div->n_row; ++i) {
 1381 		qp->div = isl_mat_swap_rows(qp->div, i, pos[array[i].row]);
 1381 		qp->div = isl_mat_swap_rows(qp->div, i, pos[array[i].row]);
 1391 		    isl_seq_eq(qp->div->row[i - skip - 1],
 1392 			       qp->div->row[i - skip], qp->div->n_col)) {
 1392 			       qp->div->row[i - skip], qp->div->n_col)) {
 1393 			qp->div = isl_mat_drop_rows(qp->div, i - skip, 1);
 1393 			qp->div = isl_mat_drop_rows(qp->div, i - skip, 1);
 1394 			isl_mat_col_add(qp->div, 2 + div_pos + i - skip - 1,
 1396 			qp->div = isl_mat_drop_cols(qp->div,
 1396 			qp->div = isl_mat_drop_cols(qp->div,
 1403 	qp->upoly = reorder(qp->upoly, reordering);
 1403 	qp->upoly = reorder(qp->upoly, reordering);
 1405 	if (!qp->upoly || !qp->div)
 1405 	if (!qp->upoly || !qp->div)
 1413 	return qp;
 1419 	isl_qpolynomial_free(qp);