graphite.h: Do not include isl/isl_val_gmp.h, instead include isl/isl_val.h.
authorRichard Biener <rguenther@suse.de>
Thu, 16 Feb 2017 07:53:53 +0000 (07:53 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 16 Feb 2017 07:53:53 +0000 (07:53 +0000)
commitcc46a51d4ff8bc1c42b7e6ae472494733bed5c49
tree36c76e273c9bed8a827d4ee9eb7843e603f726de
parent2c2d5d00f8f01da6610d23517c53adca824796e5
graphite.h: Do not include isl/isl_val_gmp.h, instead include isl/isl_val.h.

2017-02-16  Richard Biener  <rguenther@suse.de>

* graphite.h: Do not include isl/isl_val_gmp.h, instead include
isl/isl_val.h.
* graphite-isl-ast-to-gimple.c (gmp_cst_to_tree): Remove.
(gcc_expression_from_isl_expr_int): Use generic isl_val interface.
* graphite-sese-to-poly.c: Do not include isl/isl_val_gmp.h.
(isl_val_int_from_wi): New function.
(extract_affine_gmp): Rename to ...
(extract_affine_wi): ... this, take a widest_int.
(extract_affine_int): Just wrap extract_affine_wi.
(add_param_constraints): Use isl_val_int_from_wi.
(add_loop_constraints): Likewise, and extract_affine_wi.

From-SVN: r245501
gcc/ChangeLog
gcc/graphite-isl-ast-to-gimple.c
gcc/graphite-sese-to-poly.c
gcc/graphite.h