LLVM 22.0.0git
|
#include "llvm/Transforms/IPO/MemProfContextDisambiguation.h"
Public Member Functions | |
MemProfContextDisambiguation (const ModuleSummaryIndex *Summary=nullptr, bool isSamplePGO=false) | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
void | run (ModuleSummaryIndex &Index, function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> isPrevailing) |
![]() | |
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. | |
Definition at line 30 of file MemProfContextDisambiguation.h.
MemProfContextDisambiguation::MemProfContextDisambiguation | ( | const ModuleSummaryIndex * | Summary = nullptr , |
bool | isSamplePGO = false |
||
) |
Definition at line 5833 of file MemProfContextDisambiguation.cpp.
References AllocIdForDot, assert(), ContextIdForDot, DotGraphScope, llvm::errorOrToExpected(), llvm::errs(), llvm::MemoryBuffer::getFile(), llvm::getModuleSummaryIndex(), llvm::logAllUnhandledErrors(), MemProfImportSummary, and llvm::report_fatal_error().
PreservedAnalyses MemProfContextDisambiguation::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 5879 of file MemProfContextDisambiguation.cpp.
References llvm::PreservedAnalyses::all(), F, FAM, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), and llvm::PreservedAnalyses::none().
void MemProfContextDisambiguation::run | ( | ModuleSummaryIndex & | Index, |
function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> | isPrevailing | ||
) |
Definition at line 5890 of file MemProfContextDisambiguation.cpp.
References assert(), and llvm::SupportsHotColdNew.