Compute a unique LTO cache key for a module.
Synopsis
Declared in <llvm/LTO/LTO.h>
std::string
computeLTOCacheKey(
lto::Config const& Conf,
ModuleSummaryIndex const& Index,
StringRef ModuleID,
FunctionImporter::ImportMapTy const& ImportList,
FunctionImporter::ExportSetTy const& ExportList,
std::map<GlobalValue::GUID, GlobalValue::LinkageTypes> const& ResolvedODR,
GVSummaryMapTy const& DefinedGlobals,
DenseSet<GlobalValue::GUID> const& CfiFunctionDefs = {},
DenseSet<GlobalValue::GUID> const& CfiFunctionDecls = {});
Description
Considers the current list of export/import and other global analysis results.
Return Value
Unique LTO cache key for the module.
Parameters
Name |
Description |
Conf |
LTO configuration contributing to the key. |
Index |
Combined module summary index. |
ModuleID |
Identifier of the module being keyed. |
ImportList |
Functions to import into the module. |
ExportList |
Functions exported from the module. |
ResolvedODR |
Resolved ODR linkage types by GUID. |
DefinedGlobals |
Summaries of globals defined in the module. |
CfiFunctionDefs |
CFI function definition GUIDs. |
CfiFunctionDecls |
CFI function declaration GUIDs. |
Created with MrDocs