llvm::ModuleCopyProfPass

Module-level pass that inserts the CopyProf runtime initialization constructor and hooks it into llvm.global_ctors.

Synopsis

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

class ModuleCopyProfPass
    : public RequiredPassInfoMixin<ModuleCopyProfPass>

Base Classes

NameDescription
RequiredPassInfoMixin<ModuleCopyProfPass>A CRTP mix-in for passes that should not be skipped.

Member Functions

NameDescription
ModuleCopyProfPass [constructor]Construct a CopyProf module pass.
run Run CopyProf module instrumentation over M.

Static Member Functions

NameDescription
isRequired Return true; this pass cannot be skipped.