]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Document locality partitioning params in invoke.texi
authorKyrylo Tkachov <ktkachov@nvidia.com>
Thu, 17 Apr 2025 17:50:44 +0000 (10:50 -0700)
committerKyrylo Tkachov <ktkachov@nvidia.com>
Tue, 22 Apr 2025 10:03:53 +0000 (12:03 +0200)
Filip Kastl pointed out that contrib/check-params-in-docs.py complains
about params not documented in invoke.texi, so this patch adds the short
explanation from params.opt for these to the invoke.texi section.
Thanks for the reminder.

Signed-off-by: Kyrylo Tkachov <ktkachov@nvidia.com>
gcc/

* doc/invoke.texi (lto-partition-locality-frequency-cutoff,
lto-partition-locality-size-cutoff, lto-max-locality-partition):
Document.

gcc/doc/invoke.texi

index 020442aa032e79c13ad2ad66cd134e0d2d887bb9..1a43b3b839d755882fb9498a438a462b14833516 100644 (file)
@@ -16963,6 +16963,19 @@ Size of max partition for WHOPR (in estimated instructions).
 to provide an upper bound for individual size of partition.
 Meant to be used only with balanced partitioning.
 
+@item lto-partition-locality-frequency-cutoff
+The denominator n of fraction 1/n of the execution frequency of callee to be
+cloned for a particular caller. Special value of 0 dictates to always clone
+without a cut-off.
+
+@item lto-partition-locality-size-cutoff
+Size cut-off for callee including inlined calls to be cloned for a particular
+caller.
+
+@item lto-max-locality-partition
+Maximal size of a locality partition for LTO (in estimated instructions).
+Value of 0 results in default value being used.
+
 @item lto-max-streaming-parallelism
 Maximal number of parallel processes used for LTO streaming.