diff options
author | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-06 21:53:35 +0000 |
---|---|---|
committer | spop <spop@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-06 21:53:35 +0000 |
commit | 0ef84e3b6536aac0854c6538d6a46b6c587d94b6 (patch) | |
tree | 9b0fedc22b2799157436b5c9bade37493464faf5 /gcc/graphite-ppl.c | |
parent | 2d6fe479ffe67598e38a1b89be0913544cf2f549 (diff) | |
download | gcc-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-ppl.c')
-rw-r--r-- | gcc/graphite-ppl.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gcc/graphite-ppl.c b/gcc/graphite-ppl.c index 93b99cbfb19..5186d47d9dd 100644 --- a/gcc/graphite-ppl.c +++ b/gcc/graphite-ppl.c @@ -276,9 +276,9 @@ new_Cloog_Domain_from_ppl_Pointset_Powerset ( /* Set the inhomogeneous term of E to X. */ void -ppl_set_inhomogeneous_gmp (ppl_Linear_Expression_t e, Value x) +ppl_set_inhomogeneous_gmp (ppl_Linear_Expression_t e, mpz_t x) { - Value v0, v1; + mpz_t v0, v1; ppl_Coefficient_t c; mpz_init (v0); @@ -301,9 +301,9 @@ ppl_set_inhomogeneous_gmp (ppl_Linear_Expression_t e, Value x) /* Set E[I] to X. */ void -ppl_set_coef_gmp (ppl_Linear_Expression_t e, ppl_dimension_type i, Value x) +ppl_set_coef_gmp (ppl_Linear_Expression_t e, ppl_dimension_type i, mpz_t x) { - Value v0, v1; + mpz_t v0, v1; ppl_Coefficient_t c; mpz_init (v0); @@ -422,7 +422,7 @@ ppl_strip_loop (ppl_Polyhedron_t ph, ppl_dimension_type loop, int stride) ppl_dimension_type dim; ppl_Polyhedron_t res; ppl_Coefficient_t c; - Value val; + mpz_t val; mpz_init (val); ppl_new_Coefficient (&c); @@ -516,7 +516,7 @@ ppl_lexico_compare_linear_expressions (ppl_Linear_Expression_t a, ppl_dimension_type i; ppl_Coefficient_t c; int res; - Value va, vb; + mpz_t va, vb; ppl_Linear_Expression_space_dimension (a, &length1); ppl_Linear_Expression_space_dimension (b, &length2); @@ -648,10 +648,10 @@ ppl_read_polyhedron_matrix (ppl_Polyhedron_t *ph, FILE *file) void ppl_max_for_le_pointset (ppl_Pointset_Powerset_C_Polyhedron_t ps, - ppl_Linear_Expression_t le, Value res) + ppl_Linear_Expression_t le, mpz_t res) { ppl_Coefficient_t num, denom; - Value dv, nv; + mpz_t dv, nv; int maximum, err; mpz_init (nv); @@ -679,10 +679,10 @@ ppl_max_for_le_pointset (ppl_Pointset_Powerset_C_Polyhedron_t ps, void ppl_min_for_le_pointset (ppl_Pointset_Powerset_C_Polyhedron_t ps, - ppl_Linear_Expression_t le, Value res) + ppl_Linear_Expression_t le, mpz_t res) { ppl_Coefficient_t num, denom; - Value dv, nv; + mpz_t dv, nv; int minimum, err; mpz_init (nv); @@ -715,7 +715,7 @@ ppl_build_relation (int dim, int pos1, int pos2, int c, ppl_Linear_Expression_t expr; ppl_Constraint_t cstr; ppl_Coefficient_t coef; - Value v, v_op, v_c; + mpz_t v, v_op, v_c; mpz_init (v); mpz_init (v_op); |