LLVM 22.0.0git
WorkloadImportsManager Class Reference

A ModuleImportsManager that operates based on a workload definition (see -thinlto-workload-def). More...

Inheritance diagram for WorkloadImportsManager:
[legend]

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< ModuleImportsManagercreate (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 ModuleSummaryIndexIndex
DenseMap< StringRef, FunctionImporter::ExportSetTy > *const ExportLists

Detailed Description

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.

Constructor & Destructor Documentation

◆ WorkloadImportsManager()


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