Cleanup function params using a struct.
authorSebastian Pop <sebastian.pop@amd.com>
Thu, 21 Jul 2011 22:57:00 +0000 (22:57 +0000)
committerSebastian Pop <spop@gcc.gnu.org>
Thu, 21 Jul 2011 22:57:00 +0000 (22:57 +0000)
commitcf7eab7da2842e739c95d0f2f0c65882ec908d0f
treea33ad0033b480044f4eb7f148ef08c7d2951076c
parent7b1e9596d3f5d1e5bdfb36bd60f708b2a4a187a1
Cleanup function params using a struct.

2011-07-21  Sebastian Pop  <sebastian.pop@amd.com>

* graphite-clast-to-gimple.c (struct ivs_params): New.
(clast_name_to_gcc): Use ivs_params to pass around parameters.
(clast_to_gcc_expression): Same.
(clast_to_gcc_expression_red): Same.
(gcc_type_for_clast_term): Same.
(gcc_type_for_clast_expr): Same.
(gcc_type_for_clast_red): Same.
(gcc_type_for_clast_bin): Same.
(gcc_type_for_clast_eq): Same.
(graphite_translate_clast_equation): Same.
(graphite_create_guard_cond_expr): Same.
(graphite_create_new_guard): Same.
(graphite_create_new_loop): Same.
(build_iv_mapping): Same.
(translate_clast_user): Same.
(graphite_create_new_loop_guard): Same.
(translate_clast): Same.
(translate_clast_for_loop): Same.
(translate_clast_for): Same.
(translate_clast_guard): Same.
(initialize_cloog_names): Fix typo.
(gloog): Initialize an ivs_params struct, pass it to translate_clast.

From-SVN: r176599
gcc/ChangeLog
gcc/graphite-clast-to-gimple.c