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-interchange.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-interchange.c')
-rw-r--r-- | gcc/graphite-interchange.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/graphite-interchange.c b/gcc/graphite-interchange.c index 9e8181b62a3..0a7a749e955 100644 --- a/gcc/graphite-interchange.c +++ b/gcc/graphite-interchange.c @@ -78,7 +78,7 @@ build_linearized_memory_access (ppl_dimension_type offset, poly_dr_p pdr) ppl_dimension_type i; ppl_dimension_type first = pdr_subscript_dim (pdr, 0); ppl_dimension_type last = pdr_subscript_dim (pdr, PDR_NB_SUBSCRIPTS (pdr)); - Value size, sub_size; + mpz_t size, sub_size; graphite_dim_t dim = offset + pdr_dim (pdr); ppl_new_Linear_Expression_with_dimension (&res, dim); @@ -196,7 +196,7 @@ build_partial_difference (ppl_Pointset_Powerset_C_Polyhedron_t *p, the loop at DEPTH. */ static void -pdr_stride_in_loop (Value stride, graphite_dim_t depth, poly_dr_p pdr) +pdr_stride_in_loop (mpz_t stride, graphite_dim_t depth, poly_dr_p pdr) { ppl_dimension_type time_depth; ppl_Linear_Expression_t le, lma; @@ -340,12 +340,12 @@ pdr_stride_in_loop (Value stride, graphite_dim_t depth, poly_dr_p pdr) accessed in LOOP at DEPTH. */ static void -memory_strides_in_loop_1 (lst_p loop, graphite_dim_t depth, Value strides) +memory_strides_in_loop_1 (lst_p loop, graphite_dim_t depth, mpz_t strides) { int i, j; lst_p l; poly_dr_p pdr; - Value s, n; + mpz_t s, n; mpz_init (s); mpz_init (n); @@ -370,7 +370,7 @@ memory_strides_in_loop_1 (lst_p loop, graphite_dim_t depth, Value strides) accessed in LOOP at DEPTH. */ static void -memory_strides_in_loop (lst_p loop, graphite_dim_t depth, Value strides) +memory_strides_in_loop (lst_p loop, graphite_dim_t depth, mpz_t strides) { if (mpz_cmp_si (loop->memory_strides, -1) == 0) { @@ -465,7 +465,7 @@ memory_strides_in_loop (lst_p loop, graphite_dim_t depth, Value strides) static bool lst_interchange_profitable_p (lst_p loop1, lst_p loop2) { - Value d1, d2; + mpz_t d1, d2; bool res; gcc_assert (loop1 && loop2 |