Skip to content
Snippets Groups Projects
  • Jan Hubicka's avatar
    110cfe1c
    tree-inline.c (remap_ssa_name): New function. · 110cfe1c
    Jan Hubicka authored
    	* tree-inline.c (remap_ssa_name): New function.
    	(remap_decl): Update SSA datastructures for DECLs.
    	(copy_body_r): Deal with SSA_NAMEs; add referenced global vars.
    	(copy_bb): Set SSA_NAME def stmts.
    	(update_ssa_acorss_eh_edges): New function.
    	(copy_edge_for_bb): Call it; mark new vars for renaming.
    	(copy_phis_for_bb): New function.
    	(initialize_cfun): Break out from ...
    	(copy_cfg_body): ... here; maintain AUX map for both directions;
    	call SSA updating workers; do not produce copy of cfun to be copied.
    	(setup_one_parameter): Do propagation across SSA form.
    	(declare_return_variable): Work on SSA; use return_slot instead of
    	address of return slot of argument to avoid folding back and forth.
    	(expand_call_inline): Update SSA from on return values.
    	(optimize_inline_calls): Do sanity checking, dead blocks removal,
    	update SSA form.
    	(tree_function_verioning): Update initialize_cfun.
    
    From-SVN: r120260
    110cfe1c
    History
    tree-inline.c (remap_ssa_name): New function.
    Jan Hubicka authored
    	* tree-inline.c (remap_ssa_name): New function.
    	(remap_decl): Update SSA datastructures for DECLs.
    	(copy_body_r): Deal with SSA_NAMEs; add referenced global vars.
    	(copy_bb): Set SSA_NAME def stmts.
    	(update_ssa_acorss_eh_edges): New function.
    	(copy_edge_for_bb): Call it; mark new vars for renaming.
    	(copy_phis_for_bb): New function.
    	(initialize_cfun): Break out from ...
    	(copy_cfg_body): ... here; maintain AUX map for both directions;
    	call SSA updating workers; do not produce copy of cfun to be copied.
    	(setup_one_parameter): Do propagation across SSA form.
    	(declare_return_variable): Work on SSA; use return_slot instead of
    	address of return slot of argument to avoid folding back and forth.
    	(expand_call_inline): Update SSA from on return values.
    	(optimize_inline_calls): Do sanity checking, dead blocks removal,
    	update SSA form.
    	(tree_function_verioning): Update initialize_cfun.
    
    From-SVN: r120260