llvm::PGOInstrumentationGen

The instrumentation (profile-instr-gen) pass for IR based PGO.

Synopsis

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

class PGOInstrumentationGen
    : public OptionalPassInfoMixin<PGOInstrumentationGen>

Base Classes

NameDescription
OptionalPassInfoMixin<PGOInstrumentationGen>A CRTP mix-in for passes that can be skipped.

Member Functions

NameDescription
PGOInstrumentationGen [constructor]Construct an IR-based PGO instrumentation generation pass.
run Instrument M to collect profile data for the configured PGO kind.

Static Member Functions

NameDescription
isRequired Return false; optional passes may be skipped.