llvm::ThinLTOCodeGenerator::gatherImportedSummariesForModule

Compute the list of summaries and the subset of declaration summaries needed for importing into module.

Synopsis

Declared in <llvm/LTO/legacy/ThinLTOCodeGenerator.h>

void
gatherImportedSummariesForModule(
    Module& Module,
    ModuleSummaryIndex& Index,
    ModuleToSummariesForIndexTy& ModuleToSummariesForIndex,
    GVSummaryPtrSet& DecSummaries,
    lto::InputFile const& File);

Parameters

NameDescription
ModuleModule that will import from others.
IndexCombined module summary index.
ModuleToSummariesForIndexMap filled with summaries needed for import.
DecSummariesSet filled with declaration summaries needed for import.
FileInput file corresponding to Module.