ΒΆvoid ComputeCrossModuleImportForModuleFromIndex(
    llvm::StringRef ModulePath,
    const llvm::ModuleSummaryIndex& Index,
    FunctionImporter::ImportMapTy& ImportList)

Description

Mark all external summaries in \p Index for import into the given module. Used for distributed builds using a distributed index. \p ImportList will be populated with a map that can be passed to FunctionImporter::importFunctions() above (see description there).

Declared at: llvm/include/llvm/Transforms/IPO/FunctionImport.h:165

Parameters

llvm::StringRef ModulePath
const llvm::ModuleSummaryIndex& Index
FunctionImporter::ImportMapTy& ImportList