LLVM 20.0.0git
|
#include "llvm/Transforms/Instrumentation/MemProfiler.h"
Public Member Functions | |
MemProfUsePass (std::string MemoryProfileFile, IntrusiveRefCntPtr< vfs::FileSystem > FS=nullptr) | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
Public Member Functions inherited from llvm::PassInfoMixin< MemProfUsePass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< MemProfUsePass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Definition at line 54 of file MemProfiler.h.
|
explicit |
Definition at line 1197 of file MemProfiler.cpp.
References llvm::vfs::getRealFileSystem().
PreservedAnalyses MemProfUsePass::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 1204 of file MemProfiler.cpp.
References llvm::PreservedAnalyses::all(), ClPrintMemProfMatchInfo, llvm::memprof::computeUndriftMap(), llvm::IndexedInstrProfReader::create(), llvm::dbgs(), llvm::errs(), F, FAM, llvm::memprof::getAllocTypeAttributeString(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), llvm::handleAllErrors(), Info, LLVM_DEBUG, llvm::ErrorInfoBase::message(), llvm::PreservedAnalyses::none(), readMemprof(), and SalvageStaleProfile.