Pass that flattens contextual profiles into MD_prof metadata.

Synopsis

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

class PGOCtxProfFlatteningPass
    : public OptionalPassInfoMixin<PGOCtxProfFlatteningPass>

Base Classes

Name

Description

OptionalPassInfoMixin<PGOCtxProfFlatteningPass>

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

Member Functions

Name

Description

PGOCtxProfFlatteningPass [constructor]

Construct a contextual profile flattening pass.

run

Flatten contextual profiles in M into MD_prof metadata.

Static Member Functions

Name

Description

isRequired

Return false; optional passes may be skipped.

Created with MrDocs