]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
invoke.texi (Optimize Options): Document parameters ipa-cp-eval-threshold...
authorMartin Jambor <mjambor@suse.cz>
Wed, 21 May 2014 16:13:41 +0000 (18:13 +0200)
committerMartin Jambor <jamborm@gcc.gnu.org>
Wed, 21 May 2014 16:13:41 +0000 (18:13 +0200)
2014-05-21  Martin Jambor  <mjambor@suse.cz>

* doc/invoke.texi (Optimize Options): Document parameters
ipa-cp-eval-threshold, ipa-max-agg-items, ipa-cp-loop-hint-bonus and
ipa-cp-array-index-hint-bonus.

From-SVN: r210718

gcc/ChangeLog
gcc/doc/invoke.texi

index 452b4b0e6df7f68a60ff9d0887ac2a7dca6d535d..4be825c8f880042970aab7e93808994f03f71eb2 100644 (file)
@@ -1,3 +1,9 @@
+2014-05-21  Martin Jambor  <mjambor@suse.cz>
+
+       * doc/invoke.texi (Optimize Options): Document parameters
+       ipa-cp-eval-threshold, ipa-max-agg-items, ipa-cp-loop-hint-bonus and
+       ipa-cp-array-index-hint-bonus.
+
 2014-05-21  Mark Wielaard  <mjw@redhat.com>
 
        PR debug/16063
index 1a0cf19c879bcd93caf1e90f2e4d6fa1db95a4d2..dbb6af639cca101120a7ed4aa56da465702fd531 100644 (file)
@@ -10079,6 +10079,28 @@ parameter in order to propagate them and perform devirtualization.
 @option{ipa-cp-value-list-size} is the maximum number of values and types it
 stores per one formal parameter of a function.
 
+@item ipa-cp-eval-threshold
+IPA-CP calculates its own score of cloning profitability heuristics
+and performs those cloning opportunities with scores that exceed
+@option{ipa-cp-eval-threshold}.
+
+@item ipa-max-agg-items
+IPA-CP is also capable to propagate a number of scalar values passed
+in an aggregate. @option{ipa-max-agg-items} controls the maximum
+number of such values per one parameter.
+
+@item ipa-cp-loop-hint-bonus
+When IPA-CP determines that a cloning candidate would make the number
+of iterations of a loop known, it adds a bonus of
+@option{ipa-cp-loop-hint-bonus} bonus to the profitability score of
+the candidate.
+
+@item ipa-cp-array-index-hint-bonus
+When IPA-CP determines that a cloning candidate would make the index of
+an array access known, it adds a bonus of
+@option{ipa-cp-array-index-hint-bonus} bonus to the profitability
+score of the candidate.
+
 @item lto-partitions
 Specify desired number of partitions produced during WHOPR compilation.
 The number of partitions should exceed the number of CPUs used for compilation.