]> gcc.gnu.org Git - gcc.git/commit - gcc/tree-chrec.c
tree-scalar-evolution.c (add_to_evolution_1): Pass an extra argument at_stmt.
authorSebastian Pop <pop@cri.ensmp.fr>
Sun, 2 Apr 2006 04:27:40 +0000 (06:27 +0200)
committerSebastian Pop <spop@gcc.gnu.org>
Sun, 2 Apr 2006 04:27:40 +0000 (04:27 +0000)
commite2157b49e6ebff6aff00a3868aef4c56bb09052c
tree83a4359437b9ecf688ad5a570bc8501f4db08ebd
parenta84481aacbf798637896bf82b7992872421691e1
tree-scalar-evolution.c (add_to_evolution_1): Pass an extra argument at_stmt.

* tree-scalar-evolution.c (add_to_evolution_1): Pass an extra argument
at_stmt.  Convert the type of operands before calling
build_polynomial_chrec.
(add_to_evolution): Pass an extra argument at_stmt.  Adjust the call to
add_to_evolution_1.
(follow_ssa_edge_in_rhs): Adjust call to add_to_evolution.
(instantiate_parameters_1): Convert the type of operands before calling
build_polynomial_chrec.
* tree-chrec.c (chrec_fold_poly_cst, chrec_fold_plus_poly_poly,
chrec_fold_multiply_poly_poly, chrec_replace_initial_condition,
reset_evolution_in_loop): Insert asserts to check the types of the
operands.
(chrec_type): Moved...
(eq_evolutions_p): Use operand_equal_p.
* tree-chrec.h (build_polynomial_chrec): Insert an assert to check
the types of the operands.
(chrec_type): ...here.
* tree-data-ref.c (create_data_ref): Convert the operands before
calling chrec_replace_initial_condition.
(same_access_functions, analyze_subscript_affine_affine,
analyze_miv_subscript, all_chrecs_equal_p): Use eq_evolutions_p.
(compute_subscript_distance, analyze_ziv_subscript,
analyze_siv_subscript_cst_affine, compute_overlap_steps_for_affine_1_2,
analyze_miv_subscript): Convert the operands before calling
chrec_fold_minus or chrec_fold_plus.

From-SVN: r112621
gcc/ChangeLog
gcc/tree-chrec.c
gcc/tree-chrec.h
gcc/tree-data-ref.c
gcc/tree-scalar-evolution.c
This page took 0.058103 seconds and 5 git commands to generate.