llvm::PGOInstrumentationUse

The profile annotation (profile-instr-use) pass for IR based PGO.

Synopsis

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

class PGOInstrumentationUse
    : public OptionalPassInfoMixin<PGOInstrumentationUse>

Base Classes

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

Member Functions

NameDescription
PGOInstrumentationUse [constructor]Construct a PGO profile-use pass that annotates IR from a profile file.
run Apply profile data to annotate M for PGO.

Static Member Functions

NameDescription
isRequired Return false; optional passes may be skipped.