gcc/gcc cgraph.h cgraphunit.c ipa_prop.c ipa_p ...

razya@gcc.gnu.org razya@gcc.gnu.org
Sun May 8 14:41:00 GMT 2005


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	tree-profiling-branch
Changes by:	razya@gcc.gnu.org	2005-05-08 14:41:51

Modified files:
	gcc            : cgraph.h cgraphunit.c ipa_prop.c ipa_prop.h 
	                 tree-inline.c ChangeLog.profiling 
	gcc/testsuite/lib: scancgraph.exp 

Log message:
	2005-05-08  Razya Ladelsky  <razya@il.ibm.com>
	
	* ipa_prop.h (ipcp_replcae_map): Rename to ipa_replace_map.
	* ipa_prop.c (ipcp_callsite_compute_param): Add check to make
	sure the constant sent in the callsite and the formal parameter
	of the callee are of the same type.
	(build_const_val): Add another parameter, the type of the constant
	that should be built.
	(ipcp_propagate_const, ipcp_replace_map_create): Call build_const_val
	with type parameter.
	(ipcp_method_cval_print): Add support for reference to constants
	formal parameters (as in fortran).
	(ipcp_replace_map_create): Use ipa_replace_map instead of
	ipcp_replcae_map.
	(ipcp_insert_stage): Same.
	* tree-inline.c (copy_decl_for_dup): Clear the LABEL_DECL_UID also
	for the case of versioning.
	(tree_function_versioning): Use ipa_replace_map instead of
	ipcp_replcae_map.  Add allocation of the struct functin for the new
	version (removed from cgraph_copy_node_for_versioning).
	(replace_ref_tree): Use ipa_replace_map instead of ipcp_replcae_map.
	* cgraph.h (update_call_expr): Remove a parameter.
	* cgraphunit.c (update_call_expr): Remove a parameter, some cleanups.
	(cgraph_copy_node_for_versioning): Remove the allocation of struct
	function.
	(cgraph_function_versioning): Use the modified update_call_expr.
	* testsuite/lib/scancgraph.exp : Scan all ipa files.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cgraph.h.diff?cvsroot=gcc&only_with_tag=tree-profiling-branch&r1=1.1.4.16.2.30&r2=1.1.4.16.2.31
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cgraphunit.c.diff?cvsroot=gcc&only_with_tag=tree-profiling-branch&r1=1.1.4.35.2.49&r2=1.1.4.35.2.50
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ipa_prop.c.diff?cvsroot=gcc&only_with_tag=tree-profiling-branch&r1=1.1.2.5&r2=1.1.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ipa_prop.h.diff?cvsroot=gcc&only_with_tag=tree-profiling-branch&r1=1.1.2.2&r2=1.1.2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree-inline.c.diff?cvsroot=gcc&only_with_tag=tree-profiling-branch&r1=1.26.2.83.2.47&r2=1.26.2.83.2.48
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.profiling.diff?cvsroot=gcc&only_with_tag=tree-profiling-branch&r1=1.1.2.153&r2=1.1.2.154
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/lib/scancgraph.exp.diff?cvsroot=gcc&only_with_tag=tree-profiling-branch&r1=1.1.2.1&r2=1.1.2.2



More information about the Gcc-cvs mailing list