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

References

tools/polly/lib/External/isl/isl_val.c
  388 	if (!v)
  390 	if (isl_val_is_int(v))
  391 		return v;
  392 	if (!isl_val_is_rat(v))
  393 		return v;
  394 	if (isl_int_is_neg(v->d)) {
  395 		isl_int_neg(v->d, v->d);
  395 		isl_int_neg(v->d, v->d);
  396 		isl_int_neg(v->n, v->n);
  396 		isl_int_neg(v->n, v->n);
  398 	ctx = isl_val_get_ctx(v);
  399 	isl_int_gcd(ctx->normalize_gcd, v->n, v->d);
  399 	isl_int_gcd(ctx->normalize_gcd, v->n, v->d);
  401 		return v;
  402 	isl_int_divexact(v->n, v->n, ctx->normalize_gcd);
  402 	isl_int_divexact(v->n, v->n, ctx->normalize_gcd);
  403 	isl_int_divexact(v->d, v->d, ctx->normalize_gcd);
  403 	isl_int_divexact(v->d, v->d, ctx->normalize_gcd);
  404 	return v;