LLVM 22.0.0git
|
A ModuleImportsManager that operates based on a workload definition (see -thinlto-workload-def). More...
Public Member Functions | |
WorkloadImportsManager (function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> IsPrevailing, const ModuleSummaryIndex &Index, DenseMap< StringRef, FunctionImporter::ExportSetTy > *ExportLists) | |
Public Member Functions inherited from ModuleImportsManager | |
virtual | ~ModuleImportsManager ()=default |
Additional Inherited Members | |
Static Public Member Functions inherited from ModuleImportsManager | |
static std::unique_ptr< ModuleImportsManager > | create (function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> IsPrevailing, const ModuleSummaryIndex &Index, DenseMap< StringRef, FunctionImporter::ExportSetTy > *ExportLists=nullptr) |
Protected Member Functions inherited from ModuleImportsManager | |
ModuleImportsManager (function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> IsPrevailing, const ModuleSummaryIndex &Index, DenseMap< StringRef, FunctionImporter::ExportSetTy > *ExportLists=nullptr) | |
Protected Attributes inherited from ModuleImportsManager | |
function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> | IsPrevailing |
const ModuleSummaryIndex & | Index |
DenseMap< StringRef, FunctionImporter::ExportSetTy > *const | ExportLists |
A ModuleImportsManager that operates based on a workload definition (see -thinlto-workload-def).
For modules that do not define workload roots, it applies the base ModuleImportsManager import policy.
Definition at line 546 of file FunctionImport.cpp.
|
inline |
Definition at line 803 of file FunctionImport.cpp.
References llvm::dbgs(), ModuleImportsManager::ExportLists, if(), ModuleImportsManager::Index, ModuleImportsManager::IsPrevailing, LLVM_DEBUG, ModuleImportsManager::ModuleImportsManager(), UseCtxProfile, and WorkloadDefinitions.