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, bool DisableSampleProfileInlining=false, bool UseFlattenedProfile=false) | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
![]() | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
![]() | |
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 , |
||
bool | DisableSampleProfileInlining = false , |
||
bool | UseFlattenedProfile = false |
||
) |
Definition at line 2335 of file SampleProfile.cpp.
PreservedAnalyses SampleProfileLoaderPass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 2344 of file SampleProfile.cpp.
References llvm::PreservedAnalyses::all(), F, FAM, llvm::vfs::getRealFileSystem(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::PreservedAnalyses::none(), SampleProfileFile, and SampleProfileRemappingFile.