LLVM 20.0.0git
|
The instrumentation (profile-instr-gen) pass for IR based PGO. More...
#include "llvm/Transforms/Instrumentation/PGOInstrumentation.h"
Public Member Functions | |
PGOInstrumentationGenCreateVar (std::string CSInstrName="", bool Sampling=false) | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &MAM) |
Public Member Functions inherited from llvm::PassInfoMixin< PGOInstrumentationGenCreateVar > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< PGOInstrumentationGenCreateVar > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
The instrumentation (profile-instr-gen) pass for IR based PGO.
Definition at line 43 of file PGOInstrumentation.h.
|
inline |
Definition at line 46 of file PGOInstrumentation.h.
PreservedAnalyses PGOInstrumentationGenCreateVar::run | ( | Module & | M, |
ModuleAnalysisManager & | MAM | ||
) |
Definition at line 1893 of file PGOInstrumentation.cpp.
References llvm::appendToCompilerUsed(), createIRLevelProfileFlagVar(), llvm::createProfileFileNameVar(), llvm::createProfileSamplingVar(), llvm::PreservedAnalyses::preserve(), and llvm::PreservedAnalyses::preserveSet().