ΒΆvoid ComputeCrossModuleImportForModuleFromIndex(
llvm::StringRef ModulePath,
const llvm::ModuleSummaryIndex& Index,
FunctionImporter::ImportMapTy& ImportList)
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:159
Parameters
- llvm::StringRef ModulePath
- const llvm::ModuleSummaryIndex& Index
- FunctionImporter::ImportMapTy& ImportList