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

References

tools/polly/lib/External/isl/basis_reduction_tab.c
  184 	lp->is_fixed = 0;
  186 	isl_int_set_si(lp->row->el[0], 0);
  187 	isl_seq_cpy(lp->row->el + 1, lp->obj, lp->dim);
  187 	isl_seq_cpy(lp->row->el + 1, lp->obj, lp->dim);
  187 	isl_seq_cpy(lp->row->el + 1, lp->obj, lp->dim);
  188 	isl_seq_neg(lp->row->el + 1 + lp->dim, lp->obj, lp->dim);
  188 	isl_seq_neg(lp->row->el + 1 + lp->dim, lp->obj, lp->dim);
  188 	isl_seq_neg(lp->row->el + 1 + lp->dim, lp->obj, lp->dim);
  188 	isl_seq_neg(lp->row->el + 1 + lp->dim, lp->obj, lp->dim);
  189 	if (lp->neq)
  191 	res = isl_tab_min(lp->tab, lp->row->el, lp->ctx->one,
  191 	res = isl_tab_min(lp->tab, lp->row->el, lp->ctx->one,
  191 	res = isl_tab_min(lp->tab, lp->row->el, lp->ctx->one,
  192 			  &lp->opt, &lp->opt_denom, flags);
  192 			  &lp->opt, &lp->opt_denom, flags);
  193 	isl_int_mul_ui(lp->opt_denom, lp->opt_denom, 2);
  193 	isl_int_mul_ui(lp->opt_denom, lp->opt_denom, 2);
  194 	if (isl_int_abs_lt(lp->opt, lp->opt_denom)) {
  194 	if (isl_int_abs_lt(lp->opt, lp->opt_denom)) {
  195 		struct isl_vec *sample = isl_tab_get_sample_value(lp->tab);
  198 		isl_seq_inner_product(lp->obj, sample->el + 1, lp->dim, &lp->tmp);
  198 		isl_seq_inner_product(lp->obj, sample->el + 1, lp->dim, &lp->tmp);
  198 		isl_seq_inner_product(lp->obj, sample->el + 1, lp->dim, &lp->tmp);
  199 		isl_seq_inner_product(lp->obj, sample->el + 1 + lp->dim, lp->dim, &lp->tmp2);
  199 		isl_seq_inner_product(lp->obj, sample->el + 1 + lp->dim, lp->dim, &lp->tmp2);
  199 		isl_seq_inner_product(lp->obj, sample->el + 1 + lp->dim, lp->dim, &lp->tmp2);
  199 		isl_seq_inner_product(lp->obj, sample->el + 1 + lp->dim, lp->dim, &lp->tmp2);
  200 		isl_int_cdiv_q(lp->tmp, lp->tmp, sample->el[0]);
  200 		isl_int_cdiv_q(lp->tmp, lp->tmp, sample->el[0]);
  201 		isl_int_fdiv_q(lp->tmp2, lp->tmp2, sample->el[0]);
  201 		isl_int_fdiv_q(lp->tmp2, lp->tmp2, sample->el[0]);
  202 		if (isl_int_ge(lp->tmp, lp->tmp2))
  202 		if (isl_int_ge(lp->tmp, lp->tmp2))
  203 			lp->is_fixed = 1;
  206 	isl_int_divexact_ui(lp->opt_denom, lp->opt_denom, 2);
  206 	isl_int_divexact_ui(lp->opt_denom, lp->opt_denom, 2);
  210 		isl_die(lp->ctx, isl_error_internal,