| 
    LLVM 22.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) | |
| LLVM_ABI 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 39 of file PGOInstrumentation.h.
      
  | 
  inline | 
Definition at line 42 of file PGOInstrumentation.h.
| PreservedAnalyses PGOInstrumentationGenCreateVar::run | ( | Module & | M, | 
| ModuleAnalysisManager & | MAM ) | 
Definition at line 1991 of file PGOInstrumentation.cpp.
References llvm::appendToCompilerUsed(), createIRLevelProfileFlagVar(), llvm::createProfileFileNameVar(), llvm::createProfileSamplingVar(), llvm::CSFDO, MAM, llvm::PreservedAnalyses::preserve(), and llvm::PreservedAnalyses::preserveSet().