LLVM 20.0.0git
|
The profile annotation (profile-instr-use) pass for IR based PGO. More...
#include "llvm/Transforms/Instrumentation/PGOInstrumentation.h"
Public Member Functions | |
PGOInstrumentationUse (std::string Filename="", std::string RemappingFilename="", bool IsCS=false, IntrusiveRefCntPtr< vfs::FileSystem > FS=nullptr) | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &MAM) |
Public Member Functions inherited from llvm::PassInfoMixin< PGOInstrumentationUse > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< PGOInstrumentationUse > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
The profile annotation (profile-instr-use) pass for IR based PGO.
Definition at line 71 of file PGOInstrumentation.h.
PGOInstrumentationUse::PGOInstrumentationUse | ( | std::string | Filename = "" , |
std::string | RemappingFilename = "" , |
||
bool | IsCS = false , |
||
IntrusiveRefCntPtr< vfs::FileSystem > | FS = nullptr |
||
) |
Definition at line 2337 of file PGOInstrumentation.cpp.
References llvm::vfs::getRealFileSystem(), PGOTestProfileFile, and PGOTestProfileRemappingFile.
PreservedAnalyses PGOInstrumentationUse::run | ( | Module & | M, |
ModuleAnalysisManager & | MAM | ||
) |
Definition at line 2351 of file PGOInstrumentation.cpp.
References llvm::PreservedAnalyses::all(), annotateAllFunctions(), F, FAM, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), MAM, and llvm::PreservedAnalyses::none().