-
- Downloads
tree-ssa-loop-ivopts.c: Include tree-affine.h.
* tree-ssa-loop-ivopts.c: Include tree-affine.h. (divide): Removed. (constant_multiple_of): Fix order of operators for division. (aff_combination_const, aff_combination_elt, aff_combination_scale, aff_combination_add_elt, aff_combination_add, aff_combination_convert, tree_to_aff_combination, add_elt_to_tree, unshare_aff_combination, aff_combination_to_tree): Moved to tree-affine.c and made to work with double_int coefficients. (get_computation_aff, get_computation_at): Work with double_int coefficients. (get_computation_cost_at): Do not use divide. (rewrite_use_nonlinear_expr, rewrite_use_address, rewrite_use_compare): Assert that expressing the computation did not fail. * tree-ssa-address.c: Include tree-affine.h. (add_to_parts, most_expensive_mult_to_index, addr_to_parts, create_mem_ref): Work with double_int coefficients. * tree-affine.c: New file. * tree-affine.h: New file. * tree-flow.h (struct affine_tree_combination): Removed. * Makefile.in (tree-affine.o): Add. (tree-ssa-address.o, tree-ssa-loop-ivopts.o): Add tree-affine.h dependency. From-SVN: r119854
Showing
- gcc/ChangeLog 25 additions, 0 deletionsgcc/ChangeLog
- gcc/Makefile.in 6 additions, 3 deletionsgcc/Makefile.in
- gcc/tree-affine.c 414 additions, 0 deletionsgcc/tree-affine.c
- gcc/tree-affine.h 71 additions, 0 deletionsgcc/tree-affine.h
- gcc/tree-flow.h 1 addition, 27 deletionsgcc/tree-flow.h
- gcc/tree-ssa-address.c 56 additions, 38 deletionsgcc/tree-ssa-address.c
- gcc/tree-ssa-loop-ivopts.c 50 additions, 546 deletionsgcc/tree-ssa-loop-ivopts.c
Loading
Please register or sign in to comment