aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2010-04-27 16:56:33 +0200
committerJan Hubicka <hubicka@gcc.gnu.org>2010-04-27 14:56:33 +0000
commite65bb9be499d2cea82fdfad49d7cf901167f9562 (patch)
treeba01f849174d822c82ea0fcae6a53e429d1ab377 /gcc/common.opt
parent38e3d8681f2e6773b44afc6beee57630e9b20b8e (diff)
downloadgcc-e65bb9be499d2cea82fdfad49d7cf901167f9562.zip
gcc-e65bb9be499d2cea82fdfad49d7cf901167f9562.tar.gz
gcc-e65bb9be499d2cea82fdfad49d7cf901167f9562.tar.bz2
invoke.texi (-fipa-profile): Document.
* doc/invoke.texi (-fipa-profile): Document. * opts.c (decode_options): Enable ipa-profile at -O1. * timevar.def (TV_IPA_PROFILE): Define. * common.opt (fipa-profile): Add. * cgraph.c (cgraph_clone_node): Set local flag and clear vtable method flag for clones. (cgraph_propagate_frequency): Handle only local ones. * tree-pass.h (pass_ipa_profile): Declare. * ipa-profile.c (gate_profile): Use flag_ipa_profile. (pass_ipa_profile): Use TV_IPA_PROFILE. * ipa.c (ipa_profile): New function. (gate_ipa_profile): Likewise. (pass_ipa_profile): New global variable. * passes.c (pass_ipa_profile): New. From-SVN: r158788
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt10
1 files changed, 7 insertions, 3 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 70b2c90..bb39324 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -693,14 +693,18 @@ 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
+fipa-profile
+Common Report Var(flag_ipa_profile) Init(0) Optimization
+Perform interprocedural profile propagation
fipa-pta
Common Report Var(flag_ipa_pta) Init(0) Optimization
Perform interprocedural points-to analysis
+fipa-pure-const
+Common Report Var(flag_ipa_pure_const) Init(0) Optimization
+Discover pure and const functions
+
fipa-reference
Common Report Var(flag_ipa_reference) Init(0) Optimization
Discover readonly and non addressable static variables