Options for the frontend instrumentation based profiling pass.
Declared in <llvm/Transforms/Utils/Instrumentation.h>
struct InstrProfOptions;
| Name | Description |
|---|---|
InstrProfOptions [constructor] | Construct InstrProf options with default field values. |
| Name | Description |
|---|---|
Atomic | Whether to use atomic profile counter increments. |
DoCounterPromotion | Whether to promote profile counters into registers. |
InstrProfileOutput | Name of the profile file to use as output. |
NoRedZone | Whether to add the 'noredzone' attribute to added runtime library calls. |
Sampling | Whether to sample instrumentation to reduce runtime overhead. |
UseBFIInPromotion | Whether to use Block Frequency Info to guide counter promotion. |