# prof-value-profiling, Qprof-value-profiling

Controls which values are value profiled.

## Syntax

Linux: | -prof-value-profiling[=keyword]

macOS: | -prof-value-profiling[=keyword]

Windows: | /Qprof-value-profiling[:keyword]

## Arguments

keyword | Controls which type of value profiling is performed. Possible values are:
none | Prevents all types of value profiling.
nodivide | Prevents value profiling of non-compile time constants used in division or remainder operations.
noindcall | Prevents value profiling of function addresses at indirect call sites.
all | Enables all types of value profiling.

You can specify more than one keyword, but they must be separated by commas.

## Default

all | All value profile types are enabled and value profiling is performed.

## Description

This option controls which features are value profiled.

If this option is specified with option [Q]prof-gen, it turns off instrumentation of operations of the specified type. This also prevents feedback of values for the operations.

If this option is specified with option [Q]prof-use, it turns off feedback of values collected of the specified type.

If you specify level 2 or higher for option[q or Q]opt-report, the value profiling specialization information will be reported within the PGO optimization report.

## IDE Equivalent

None

## Alternate Options

None

Parent topic: Profile Guided Optimization (PGO) Options

## See Also

prof-gen, Qprof-gen compiler option
prof-use, Qprof-use compiler option
qopt-report, Qopt-report compiler option