LLVM 20.0.0git
Classes | Public Member Functions | List of all members
llvm::MemProfContextDisambiguation Class Reference

#include "llvm/Transforms/IPO/MemProfContextDisambiguation.h"

Inheritance diagram for llvm::MemProfContextDisambiguation:
Inheritance graph
[legend]

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.
 

Detailed Description

Definition at line 30 of file MemProfContextDisambiguation.h.

Constructor & Destructor Documentation

◆ MemProfContextDisambiguation()

MemProfContextDisambiguation::MemProfContextDisambiguation ( const ModuleSummaryIndex Summary = nullptr,
bool  isSamplePGO = false 
)

Member Function Documentation

◆ run() [1/2]

PreservedAnalyses MemProfContextDisambiguation::run ( Module M,
ModuleAnalysisManager AM 
)

◆ run() [2/2]

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.


The documentation for this class was generated from the following files: