LLVM 22.0.0git
|
The profile annotation (profile-instr-use) pass for IR based PGO. More...
#include "llvm/Transforms/Instrumentation/PGOInstrumentation.h"
Public Member Functions | |
LLVM_ABI | PGOInstrumentationUse (std::string Filename="", std::string RemappingFilename="", bool IsCS=false, IntrusiveRefCntPtr< vfs::FileSystem > FS=nullptr) |
LLVM_ABI 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 69 of file PGOInstrumentation.h.
PGOInstrumentationUse::PGOInstrumentationUse | ( | std::string | Filename = "", |
std::string | RemappingFilename = "", | ||
bool | IsCS = false, | ||
IntrusiveRefCntPtr< vfs::FileSystem > | FS = nullptr ) |
Definition at line 2360 of file PGOInstrumentation.cpp.
References llvm::vfs::getRealFileSystem(), if(), llvm::move(), PGOTestProfileFile, and PGOTestProfileRemappingFile.
PreservedAnalyses PGOInstrumentationUse::run | ( | Module & | M, |
ModuleAnalysisManager & | MAM ) |
Definition at line 2374 of file PGOInstrumentation.cpp.
References llvm::PreservedAnalyses::all(), annotateAllFunctions(), F, FAM, MAM, and llvm::PreservedAnalyses::none().