ΒΆvoid computeLTOCacheKey(
SmallString<40>& Key,
const lto::Config& Conf,
const llvm::ModuleSummaryIndex& Index,
llvm::StringRef ModuleID,
const FunctionImporter::ImportMapTy&
ImportList,
const FunctionImporter::ExportSetTy&
ExportList,
const std::map<GlobalValue::GUID,
GlobalValue::LinkageTypes>&
ResolvedODR,
const llvm::GVSummaryMapTy& DefinedGlobals,
const std::set<GlobalValue::GUID>&
CfiFunctionDefs = {},
const std::set<GlobalValue::GUID>&
CfiFunctionDecls = {})
void computeLTOCacheKey(
SmallString<40>& Key,
const lto::Config& Conf,
const llvm::ModuleSummaryIndex& Index,
llvm::StringRef ModuleID,
const FunctionImporter::ImportMapTy&
ImportList,
const FunctionImporter::ExportSetTy&
ExportList,
const std::map<GlobalValue::GUID,
GlobalValue::LinkageTypes>&
ResolvedODR,
const llvm::GVSummaryMapTy& DefinedGlobals,
const std::set<GlobalValue::GUID>&
CfiFunctionDefs = {},
const std::set<GlobalValue::GUID>&
CfiFunctionDecls = {})
Description
Computes a unique hash for the Module considering the current list of export/import and other global analysis results. The hash is produced in \p Key.
Declared at: llvm/include/llvm/LTO/LTO.h:69
Parameters
- SmallString<40>& Key
- const lto::Config& Conf
- const llvm::ModuleSummaryIndex& Index
- llvm::StringRef ModuleID
- const FunctionImporter::ImportMapTy& ImportList
- const FunctionImporter::ExportSetTy& ExportList
- const std::map<GlobalValue::GUID, GlobalValue::LinkageTypes>& ResolvedODR
- const llvm::GVSummaryMapTy& DefinedGlobals
- const std::set<GlobalValue::GUID>& CfiFunctionDefs = {}
- const std::set<GlobalValue::GUID>& CfiFunctionDecls = {}