Home
last modified time | relevance | path

Searched refs:ImportIndex (Results 1 – 2 of 2) sorted by relevance

/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp77 auto Summary = ImportIndex.findSummaryInModule( in shouldPromoteLocalToGlobal()
122 ImportIndex.getModuleHash(SGV->getParent()->getModuleIdentifier())); in getPromotedName()
224 VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO()
226 if (VI && ImportIndex.hasSyntheticEntryCounts()) { in processGlobalForThinLTO()
256 if (!GV.isDeclaration() && VI && ImportIndex.withAttributePropagation()) { in processGlobalForThinLTO()
268 ImportIndex.findSummaryInModule(VI, M.getModuleIdentifier())); in processGlobalForThinLTO()
270 (ImportIndex.isReadOnly(GVS) || ImportIndex.isWriteOnly(GVS))) { in processGlobalForThinLTO()
279 if (ImportIndex.isWriteOnly(GVS)) in processGlobalForThinLTO()
309 } else if (VI && VI.isDSOLocal(ImportIndex.withDSOLocalPropagation())) { in processGlobalForThinLTO()
/src/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DFunctionImportUtils.h30 const ModuleSummaryIndex &ImportIndex; variable
104 : M(M), ImportIndex(Index), GlobalsToImport(GlobalsToImport), in FunctionImportGlobalProcessing()
111 HasExportedFunctions = ImportIndex.hasExportedFunctions(M); in FunctionImportGlobalProcessing()