Skip to content

Commit 2596b2c

Browse files
author
Wael Yehia
committed
s/PGO/instrumentation profiling/g
1 parent 45259f3 commit 2596b2c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

clang/docs/UsersManual.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3035,11 +3035,11 @@ indexed format, regardeless whether it is produced by frontend or the IR pass.
30353035

30363036
.. option:: -fprofile-continuous
30373037

3038-
Enables continuous PGO mode where profile counter updates are continuously
3039-
synced to a file. This option sets any neccessary modifiers (currently ``%c``)
3040-
in the default profile filename and passes any necessary flags to the
3041-
middle-end to support this mode. Value profiling is not supported in
3042-
continuous mode.
3038+
Enables the continuous instrumentation profiling where profile counter updates
3039+
are continuously synced to a file. This option sets any neccessary modifiers
3040+
(currently ``%c``) in the default profile filename and passes any necessary
3041+
flags to the middle-end to support this mode. Value profiling is not supported
3042+
in continuous mode.
30433043

30443044
.. code-block:: console
30453045

clang/include/clang/Basic/CodeGenOptions.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ AFFECTING_VALUE_CODEGENOPT(OptimizationLevel, 2, 0) ///< The -O[0-3] option spec
221221
AFFECTING_VALUE_CODEGENOPT(OptimizeSize, 2, 0) ///< If -Os (==1) or -Oz (==2) is specified.
222222

223223
CODEGENOPT(AtomicProfileUpdate , 1, 0) ///< Set -fprofile-update=atomic
224-
CODEGENOPT(ContinuousProfileSync, 1, 0) ///< Enable continuous PGO mode
224+
CODEGENOPT(ContinuousProfileSync, 1, 0) ///< Enable continuous instrumentation profiling
225225
/// Choose profile instrumenation kind or no instrumentation.
226226
ENUM_CODEGENOPT(ProfileInstr, ProfileInstrKind, 2, ProfileNone)
227227
/// Choose profile kind for PGO use compilation.

clang/include/clang/Driver/Options.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1888,7 +1888,7 @@ def fprofile_update_EQ : Joined<["-"], "fprofile-update=">,
18881888
MarshallingInfoFlag<CodeGenOpts<"AtomicProfileUpdate">>;
18891889
def fprofile_continuous : Flag<["-"], "fprofile-continuous">,
18901890
Group<f_Group>, Visibility<[ClangOption, CC1Option]>,
1891-
HelpText<"Enable Continuous PGO mode">,
1891+
HelpText<"Enable continuous instrumentation profiling mode">,
18921892
MarshallingInfoFlag<CodeGenOpts<"ContinuousProfileSync">>;
18931893

18941894
defm pseudo_probe_for_profiling : BoolFOption<"pseudo-probe-for-profiling",

0 commit comments

Comments
 (0)