[graphite] Graphite branch cleanups [2/4]

Sebastian Pop sebpop@gmail.com
Sat Feb 21 19:02:00 GMT 2009


2009-02-20  Sebastian Pop  <sebastian.pop@amd.com>

	* graphite.c: Split graphite code generation to a new file.
	(graphite_verify, gmp_cst_to_tree, clast_name_to_gcc,
	max_precision_type, clast_to_gcc_expression_red,
	clast_to_gcc_expression, gcc_type_for_clast_expr,
	gcc_type_for_clast_eq, loop_iv_stack_patch_for_consts,
	graphite_translate_clast_equation, graphite_create_guard_cond_expr,
	graphite_create_new_guard, clast_get_body_of_loop,
	gcc_type_for_cloog_iv, gcc_type_for_iv_of_clast_loop,
	graphite_create_new_loop, build_iv_mapping, copy_renames,
	translate_clast, find_cloog_iv_in_expr, compute_cloog_iv_types_1,
	compute_cloog_iv_types, free_scattering, save_var_name,
	initialize_cloog_names, build_scop_context, build_cloog_prog,
	set_cloog_options, debug_clast_stmt, scop_to_clast,
	print_generated_program, debug_generated_program,
	gloog): Moved to graphite-clast-to-gimple.c.

	(struct cloog_prog_clast): Moved to graphite-clast-to-gimple.h.

	(iv_stack_entry_is_constant, iv_stack_entry_is_iv,
	loop_iv_stack_push_iv, loop_iv_stack_insert_constant,
	loop_iv_stack_pop, loop_iv_stack_get_iv,
	loop_iv_stack_get_iv_from_name, debug_loop_iv_stack,
	free_loop_iv_stack, loop_iv_stack_remove_constants,
	debug_rename_elt, debug_rename_map_1, debug_rename_map,
	rename_map_elt_info, eq_rename_map_elts, debug_ivtype_elt,
	debug_ivtype_map_1, debug_ivtype_map, ivtype_map_elt_info,
	eq_ivtype_map_elts, sese_add_exit_phis_edge,
	sese_add_exit_phis_var, sese_insert_phis_for_liveouts,
	get_vdef_before_sese, sese_adjust_vphi,
	get_new_name_from_old_name, sese_adjust_phis_for_liveouts,
	oldiv_for_loop, rename_variables_in_stmt, is_parameter,
	is_iv, expand_scalar_variables_ssa_name,
	expand_scalar_variables_expr, expand_scalar_variables_stmt,
	expand_scalar_variables, rename_variables, remove_condition,
	get_true_edge_from_guard_bb, get_false_edge_from_guard_bb,
	add_loop_exit_phis, insert_loop_close_phis, struct igp,
	default_liveout_before_guard, add_guard_exit_phis,
	insert_guard_phis, register_old_and_new_names,
	graphite_copy_stmts_from_block, register_sese_liveout_renames,
	copy_bb_and_scalar_dependences, outermost_loop_in_sese,
	if_region_set_false_region, create_if_region_on_edge,
	move_sese_in_condition): Moved to sese.c.

	(nb_loops_around_loop_in_sese, struct ifsese, if_region_entry,
	if_region_exit, if_region_get_condition_block,
	struct rename_map_elt, new_rename_map_elt, enum iv_stack_entry_kind,
	union iv_stack_entry_data_union, struct iv_stack_entry_struct,
	iv_stack_entry_p, loop_iv_stack, struct ivtype_map_elt,
	ivtype_map_elt, new_ivtype_map_elt,
	recompute_all_dominators): Moved to sese.h.

	* graphite-clast-to-gimple.c: New.
	* graphite-clast-to-gimple.h: New.
	* Makefile.in: Add new rule for graphite-clast-to-gimple.o.
	* sese.c: Modified as said above.
	* sese.h: Same.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1407_graphite_cleanup_2.diff
Type: text/x-patch
Size: 149643 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090221/ee95a972/attachment.bin>


More information about the Gcc-patches mailing list