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

Description

Compute all the imports for the given module using the 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:156

Parameters

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