LLVM 20.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) |
Public Member Functions inherited from llvm::PassInfoMixin< MemProfContextDisambiguation > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< MemProfContextDisambiguation > | |
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 4777 of file MemProfContextDisambiguation.cpp.
References assert(), llvm::errorOrToExpected(), llvm::errs(), llvm::MemoryBuffer::getFile(), llvm::getModuleSummaryIndex(), llvm::logAllUnhandledErrors(), and MemProfImportSummary.
PreservedAnalyses MemProfContextDisambiguation::run | ( | Module & | M, |
ModuleAnalysisManager & | AM | ||
) |
Definition at line 4809 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 4820 of file MemProfContextDisambiguation.cpp.
References assert(), Index, and llvm::SupportsHotColdNew.