LLVM: ModuleImportsManager Class Reference (original) (raw)
Determine the list of imports and exports for each module. More...
Public Member Functions | |
---|---|
virtual | ~ModuleImportsManager ()=default |
virtual void | computeImportForModule (const GVSummaryMapTy &DefinedGVSummaries, StringRef ModName, FunctionImporter::ImportMapTy &ImportList) |
Given the list of globals defined in a module, compute the list of imports as well as the list of "exports", i.e. | |
Protected Attributes | |
---|---|
function_ref< bool(GlobalValue::GUID, const GlobalValueSummary *)> | IsPrevailing |
const ModuleSummaryIndex & | Index |
DenseMap< StringRef, FunctionImporter::ExportSetTy > *const | ExportLists |
Determine the list of imports and exports for each module.
Definition at line 492 of file FunctionImport.cpp.
◆ ~ModuleImportsManager()
virtual ModuleImportsManager::~ModuleImportsManager ( ) | virtualdefault |
---|
◆ computeImportForModule()
Given the list of globals defined in a module, compute the list of imports as well as the list of "exports", i.e.
the list of symbols referenced from another module (that may require promotion).
Definition at line 1017 of file FunctionImport.cpp.
References assert(), computeImportForFunction(), llvm::dbgs(), llvm::SmallVectorBase< Size_T >::empty(), getFailureName(), llvm::getHotnessName(), I, ImportInstrLimit, LLVM_DEBUG, llvm::SmallVectorImpl< T >::pop_back_val(), and PrintImportFailures.
◆ create()
◆ ExportLists
◆ Index
◆ IsPrevailing
The documentation for this class was generated from the following file:
- lib/Transforms/IPO/FunctionImport.cpp