summaryrefslogtreecommitdiff
path: root/gcc/graphite-poly.c
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-06 21:53:35 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2010-05-06 21:53:35 +0000
commit0ef84e3b6536aac0854c6538d6a46b6c587d94b6 (patch)
tree9b0fedc22b2799157436b5c9bade37493464faf5 /gcc/graphite-poly.c
parent2d6fe479ffe67598e38a1b89be0913544cf2f549 (diff)
downloadgcc-0ef84e3b6536aac0854c6538d6a46b6c587d94b6.tar.gz
Replace Value with mpz_t
2010-04-12 Andreas Simbuerger <simbuerg@fim.uni-passau.de> * graphite-blocking.c (pbb_strip_mine_profitable_p): Replace Value with mpz_t. * graphite-clast-to-gimple.c (clast_to_gcc_expression): Same. (precision_for_value): Same. (precision_for_interval): Same. (gcc_type_for_interval): Same. (graphite_create_new_guard): Same. (compute_bounds_for_level): Same. (graphite_create_new_loop_guard): Same. * graphite-interchange.c (build_linearized_memory_access): Same. (pdr_stride_in_loop): Same. (memory_strides_in_loop_1): Same. (memory_strides_in_loop): Same. (extend_scattering): Same. (psct_scattering_dim_for_loop_depth): Same. (pbb_number_of_iterations): Same. * graphite-poly.h (debug_iteration_domains): Same. * graphite-ppl.c (new_Cloog_Domain_from_ppl_Pointset_Powerset): Same. (ppl_set_inhomogeneous_gmp): Same. (ppl_strip_loop): Same. (ppl_lexico_compare_linear_expressions): Same. (ppl_read_polyhedron_matrix): Same. (ppl_max_for_le_pointset): Same. * graphite-ppl.h (ppl_read_polyhedron_matrix): Same. (tree_int_to_gmp): Same. (gmp_cst_to_tree): Same. (ppl_set_inhomogeneous): Same. (ppl_set_inhomogeneous_tree): Same. (ppl_set_coef): Same. (ppl_set_coef_tree): Same. * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Same. (build_scop_scattering): Same. (scan_tree_for_params_right_scev): Same. (scan_tree_for_params): Same. (find_params_in_bb): Same. (find_scop_parameters): Same. (add_upper_bounds_from_estimated_nit): Same. (build_loop_iteration_domains): Same. (add_condition_to_domain): Same. (pdr_add_memory_accesses): Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159133 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphite-poly.c')
-rw-r--r--gcc/graphite-poly.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/graphite-poly.c b/gcc/graphite-poly.c
index 586658ff75f..d25796f5dcf 100644
--- a/gcc/graphite-poly.c
+++ b/gcc/graphite-poly.c
@@ -80,7 +80,7 @@ extend_scattering (poly_bb_p pbb, int max_scattering)
ppl_dimension_type nb_old_dims, nb_new_dims;
int nb_added_dims, i;
ppl_Coefficient_t coef;
- Value one;
+ mpz_t one;
nb_added_dims = max_scattering - pbb_nb_scattering_transform (pbb);
mpz_init (one);
@@ -998,7 +998,7 @@ psct_scattering_dim_for_loop_depth (poly_bb_p pbb, graphite_dim_t loop_depth)
ppl_dimension_type iter = psct_iterator_dim (pbb, loop_depth);
ppl_Linear_Expression_t expr;
ppl_Coefficient_t coef;
- Value val;
+ mpz_t val;
graphite_dim_t i;
mpz_init (val);
@@ -1052,7 +1052,7 @@ psct_scattering_dim_for_loop_depth (poly_bb_p pbb, graphite_dim_t loop_depth)
void
pbb_number_of_iterations (poly_bb_p pbb,
graphite_dim_t loop_depth,
- Value niter)
+ mpz_t niter)
{
ppl_Linear_Expression_t le;
ppl_dimension_type dim;
@@ -1071,7 +1071,7 @@ pbb_number_of_iterations (poly_bb_p pbb,
void
pbb_number_of_iterations_at_time (poly_bb_p pbb,
graphite_dim_t time_depth,
- Value niter)
+ mpz_t niter)
{
ppl_Pointset_Powerset_C_Polyhedron_t ext_domain, sctr;
ppl_Linear_Expression_t le;