The instrumentation (profile-instr-gen) pass for IR based PGO.
Declared in <llvm/Transforms/Instrumentation/PGOInstrumentation.h>
class PGOInstrumentationGen
: public OptionalPassInfoMixin<PGOInstrumentationGen>
| Name | Description |
|---|---|
OptionalPassInfoMixin<PGOInstrumentationGen> | A CRTP mix-in for passes that can be skipped. |
| Name | Description |
|---|---|
PGOInstrumentationGen [constructor] | Construct an IR-based PGO instrumentation generation pass. |
run | Instrument M to collect profile data for the configured PGO kind. |
| Name | Description |
|---|---|
isRequired | Return false; optional passes may be skipped. |