LLVM 20.0.0git
|
The sample profiler data loader pass. More...
#include "llvm/Transforms/IPO/SampleProfile.h"
Public Member Functions | |
SampleProfileLoaderPass (std::string File="", std::string RemappingFile="", ThinOrFullLTOPhase LTOPhase=ThinOrFullLTOPhase::None, IntrusiveRefCntPtr< vfs::FileSystem > FS=nullptr) | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
Public Member Functions inherited from llvm::PassInfoMixin< SampleProfileLoaderPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< SampleProfileLoaderPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
The sample profiler data loader pass.
Definition at line 39 of file SampleProfile.h.
SampleProfileLoaderPass::SampleProfileLoaderPass | ( | std::string | File = "" , |
std::string | RemappingFile = "" , |
||
ThinOrFullLTOPhase | LTOPhase = ThinOrFullLTOPhase::None , |
||
IntrusiveRefCntPtr< vfs::FileSystem > | FS = nullptr |
||
) |
Definition at line 2306 of file SampleProfile.cpp.
PreservedAnalyses SampleProfileLoaderPass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 2312 of file SampleProfile.cpp.
References llvm::PreservedAnalyses::all(), F, FAM, llvm::vfs::getRealFileSystem(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::PreservedAnalyses::none(), SampleProfileFile, and SampleProfileRemappingFile.