|
LLVM 24.0.0git
|
#include "llvm/Transforms/IPO/MemProfContextDisambiguation.h"
Public Member Functions | |
| LLVM_ABI | MemProfContextDisambiguation (const ModuleSummaryIndex *Summary=nullptr, bool isSamplePGO=false) |
| LLVM_ABI PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
| LLVM_ABI void | run (ModuleSummaryIndex &Index, function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> isPrevailing, LLVMContext &Ctx, function_ref< void(StringRef, StringRef, const Twine &)> EmitRemark=nullptr) |
| Public Member Functions inherited from llvm::detail::PassInfoMixin< MemProfContextDisambiguation > | |
| void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
| static LLVM_ABI bool | isEnabled (const cl::LibraryOptionsContext &C) |
| Return -memprof-context-disambiguation. | |
| static LLVM_ABI bool | supportsHotColdNew (const cl::LibraryOptionsContext &C) |
| Return -supports-hot-cold-new. | |
| Static Public Member Functions inherited from llvm::OptionalPassInfoMixin< MemProfContextDisambiguation > | |
| static bool | isRequired () |
| Static Public Member Functions inherited from llvm::detail::InfoMixin< MemProfContextDisambiguation > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. | |
Definition at line 44 of file MemProfContextDisambiguation.h.
| MemProfContextDisambiguation::MemProfContextDisambiguation | ( | const ModuleSummaryIndex * | Summary = nullptr, |
| bool | isSamplePGO = false ) |
Definition at line 7919 of file MemProfContextDisambiguation.cpp.
|
static |
Return -memprof-context-disambiguation.
Definition at line 7923 of file MemProfContextDisambiguation.cpp.
References C().
Referenced by llvm::PassBuilder::buildLTODefaultPipeline(), and llvm::PassBuilder::buildThinLTODefaultPipeline().
| PreservedAnalyses MemProfContextDisambiguation::run | ( | Module & | M, |
| ModuleAnalysisManager & | AM ) |
Definition at line 7951 of file MemProfContextDisambiguation.cpp.
References llvm::PreservedAnalyses::all(), checkDotOptions(), F, FAM, llvm::getIPOOptions(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), and llvm::PreservedAnalyses::none().
| void MemProfContextDisambiguation::run | ( | ModuleSummaryIndex & | Index, |
| function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> | isPrevailing, | ||
| LLVMContext & | Ctx, | ||
| function_ref< void(StringRef, StringRef, const Twine &)> | EmitRemark = nullptr ) |
Definition at line 8027 of file MemProfContextDisambiguation.cpp.
References llvm::OptimizationRemarkEmitter::allowExtraAnalysis(), assert(), Changed, checkDotOptions(), DEBUG_TYPE, llvm::getIPOOptions(), and updateClonedCalleeEdgesForImport().
|
static |
Return -supports-hot-cold-new.
Definition at line 7928 of file MemProfContextDisambiguation.cpp.
References C().
Referenced by llvm::lto::LTO::run().