+2010-03-10 Sebastian Pop <sebastian.pop@amd.com>
+
+ * graphite-clast-to-gimple.c (gcc_type_for_iv_of_clast_loop): Remove
+ forward declaration.
+ * graphite-sese-to-poly.c (reduction_phi_p): Remove FIXME comment.
+ (add_upper_bounds_from_estimated_nit): New.
+ (build_loop_iteration_domains): Use it.
+
2010-03-09 Sebastian Pop <sebastian.pop@amd.com>
* doc/invoke.texi (PARAM_LOOP_BLOCK_TILE_SIZE): Document.
ppl_dimension_type dim,
ppl_Linear_Expression_t ub_expr)
{
- mpz_t val;
+ Value val;
ppl_Linear_Expression_t nb_iters_le;
ppl_Polyhedron_t pol;
ppl_Coefficient_t coef;
ub_expr);
/* Construct the negated number of last iteration in VAL. */
- mpz_init (val);
+ value_init (val);
mpz_set_double_int (val, nit, false);
- mpz_sub_ui (val, val, 1);
- mpz_neg (val, val);
+ value_sub_int (val, val, 1);
+ value_oppose (val, val);
/* NB_ITERS_LE holds the number of last iteration in
parametrical form. Subtract estimated number of last
ppl_delete_Polyhedron (pol);
ppl_delete_Linear_Expression (nb_iters_le);
ppl_delete_Constraint (ub);
- mpz_clear (val);
+ value_clear (val);
}
/* Builds the constraint polyhedra for LOOP in SCOP. OUTER_PH gives