llvm::PGOOptions

A struct capturing PGO tunables.

Synopsis

Declared in <llvm/Support/PGOOptions.h>

struct PGOOptions;

Enums

NameDescription
CSPGOAction Context-sensitive PGO action to run.
ColdFuncOpt Attribute applied to cold functions under PGO.
PGOAction Profile-guided optimization action to run.

Member Functions

NameDescription
PGOOptions [constructor]Constructors
~PGOOptions [destructor]Destroy these PGO options.
operator= Copy-assign PGO options from another instance.

Data Members

NameDescription
Action Non-CS PGO action selected for this configuration.
AtomicCounterUpdate Whether profile counters should be updated atomically.
CSAction Context-sensitive PGO action selected for this configuration.
CSProfileGenFile Path used when generating a context-sensitive profile.
ColdOptType Attribute applied to cold functions under this configuration.
DebugInfoForProfiling Whether to emit special debug info to enable PGO profile generation.
MemoryProfile Path to the memory profile file, if any.
ProfileFile Path to the profile file to read or write.
ProfileRemappingFile Path to the profile remapping file, if any.
PseudoProbeForProfiling Whether to emit pseudo probes to enable PGO profile generation.