* cgraph.h (rebuild_cgraph_edges): Declare.
commit7df1e81bf22441ef3991152a6beb57ff92160736
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Aug 2005 20:14:22 +0000 (19 20:14 +0000)
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Aug 2005 20:14:22 +0000 (19 20:14 +0000)
treec99b19dfa7568ab928d38e58450db44d5daf7eea
parent0d3104094677f27332d856d0487bbd497e01e8c9
* cgraph.h (rebuild_cgraph_edges): Declare.
* cgraphunit.c (rebuild_cgraph_edges): Rebuild.
* ipa-inline.c (cgraph_apply_inline_plan): Initialize bitmaps; free
dominance info.
(cgraph_decide_inlining_incrementally): Likewise.
* opts.c (decode_options): Temporarily disable salias.
* passes.c (init_optimization_passes): Temporariliy disable all IPA
passes; move SSA construction into early_optimization_passes.
* tree-inline.c: Include tree-pass.h
(remap_ssa_name): New function.
(remap_decl): Initialize SSA structs.
(copy_body_r): Handle SSA names; register global vars.
(copy_bb): Fold all new statements; update SSA_DEF_STMTs.
(copy_edges_for_bb): Update PHI nodes of EH edges.
(copy_phis_for_bb): New function.
(initialize_cfun): Break out from ...
(copy_cfg_body): ... here.
(setup_one_parameter): Handle SSA form.
(declare_return_variable): Likewise.
(expand_call_inline): Initialize calle_cfun early; deal with
SSA when replacing original assignment.
(optimize_inline_call): Some extra checking and rebuilding.
(tree_function_versioning): Use initialize_cfun; do not construct
temporary decl; free dominance info.
* tree-optimize.c (gate_all_optimizations): FOrce optimizations when in
SSA form.
(gate_all_early_optimizations): New.
(pass_all_early_optimizations): New.
(tree_lowering_passes): Do not compact blocks; do early
optimizations when called late; free dominance info.
* tree-pass.h (pass_all_early_optimizations): Declare.
* tree-ssa-ccp (get_maxval_strlen): Allow SSA to not be complette yet.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ipa-branch@103293 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog.ipa
gcc/bitmap.c
gcc/cgraph.h
gcc/cgraphunit.c
gcc/ipa-inline.c
gcc/opts.c
gcc/passes.c
gcc/tree-inline.c
gcc/tree-optimize.c
gcc/tree-pass.h
gcc/tree-ssa-ccp.c