llvm::CGProfilePass

Pass that builds call-graph profile counts and attaches them as module metadata.

Synopsis

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

class CGProfilePass
    : public OptionalPassInfoMixin<CGProfilePass>

Base Classes

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

Member Functions

NameDescription
CGProfilePass [constructor]Construct a call-graph profile pass.
run Collect call-graph profile counts for M and emit them as module flags.

Static Member Functions

NameDescription
isRequired Return false; optional passes may be skipped.