Pass that lowers contextual PGO instrumentation into runtime calls.

Synopsis

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

class PGOCtxProfLoweringPass
    : public OptionalPassInfoMixin<PGOCtxProfLoweringPass>

Base Classes

Name

Description

OptionalPassInfoMixin<PGOCtxProfLoweringPass>

A CRTP mix‐in for passes that can be skipped.

Member Functions

Name

Description

PGOCtxProfLoweringPass [constructor]

Construct a contextual PGO instrumentation lowering pass.

run

Lower contextual PGO instrumentation in M.

Static Member Functions

Name

Description

isCtxIRPGOInstrEnabled

Return true if contextual IR PGO instrumentation is enabled.

isRequired

Return false; optional passes may be skipped.

Created with MrDocs