diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-24 20:09:32 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-24 20:09:32 +0000 |
commit | 2a15795f79b8a38ba3d0c8af9ac87738dc67b757 (patch) | |
tree | 15e8f39fcea6710eaf6421db403e5763c55d3734 /gcc/common.opt | |
parent | 9e9bac20aa32b9bb41ded1bbe0451f67ad99e0a5 (diff) | |
download | gcc-2a15795f79b8a38ba3d0c8af9ac87738dc67b757.tar.gz |
* doc/invoke.texi (-fipa-cp-clone): New option.
(-fipa-cp): Update docs.
(--param ipcp-unit-growth):New.
* ipa-cp.c: Include fibheap.h, params.h
(ipcp_initialize_node_lattices): When not cloning, all externally
visible functions are bottom.
(ipcp_need_redirect_p): Accept clones.
(ipcp_insert_stage): Use cost driven heuristics.
(max_count, dead_nodes): New static vars.
(ipcp_need_original_clone_p, ipcp_estimate_cloning_cost,
ipcp_const_param_count): New functions.
* common.opt (ipa-cp-clone): New command line option.
* params.def (ipcp-unit-growth): New.
* gcc.dg/ipa/ipacost-1.c: New testcase.
* gcc.dg/ipa/ipacost-2.c: New testcase.
* gcc.dg/ipa/ipa-7.c: Update template.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139543 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/common.opt')
-rw-r--r-- | gcc/common.opt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt index 9fc5db3e158..523f71206c7 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -623,6 +623,10 @@ fipa-cp Common Report Var(flag_ipa_cp) Optimization Perform Interprocedural constant propagation +fipa-cp-clone +Common Report Var(flag_ipa_cp_clone) Optimization +Perform cloning to make Interprocedural constant propagation stronger + fipa-pure-const Common Report Var(flag_ipa_pure_const) Init(0) Optimization Discover pure and const functions |