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

Synopsis

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

class PGOInstrumentationGenCreateVar
    : public OptionalPassInfoMixin<PGOInstrumentationGenCreateVar>

Base Classes

Name

Description

OptionalPassInfoMixin<PGOInstrumentationGenCreateVar>

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

Member Functions

Name

Description

PGOInstrumentationGenCreateVar [constructor]

Construct a pass that creates COMDAT profile variables for CSPGO.

run

Create COMDAT profile variables in M for context‐sensitive PGO.

Static Member Functions

Name

Description

isRequired

Return false; optional passes may be skipped.

Created with MrDocs