llvm::InstrProfOptions

Options for the frontend instrumentation based profiling pass.

Synopsis

Declared in <llvm/Transforms/Utils/Instrumentation.h>

struct InstrProfOptions;

Member Functions

NameDescription
InstrProfOptions [constructor]Construct InstrProf options with default field values.

Data Members

NameDescription
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.