Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DFunctionImportUtils.cpp67 auto Summary = ImportIndex.findSummaryInModule( in shouldPromoteLocalToGlobal()
102 ImportIndex.getModuleHash(SGV->getParent()->getModuleIdentifier())); in getPromotedName()
204 VI = ImportIndex.getValueInfo(GV.getGUID()); in processGlobalForThinLTO()
206 if (VI && ImportIndex.hasSyntheticEntryCounts()) { in processGlobalForThinLTO()
236 if (!GV.isDeclaration() && VI && ImportIndex.withAttributePropagation()) { in processGlobalForThinLTO()
248 ImportIndex.findSummaryInModule(VI, M.getModuleIdentifier())); in processGlobalForThinLTO()
250 (ImportIndex.isReadOnly(GVS) || ImportIndex.isWriteOnly(GVS))) { in processGlobalForThinLTO()
259 if (ImportIndex.isWriteOnly(GVS)) in processGlobalForThinLTO()
289 } else if (VI && VI.isDSOLocal(ImportIndex.withDSOLocalPropagation())) { in processGlobalForThinLTO()
/llvm-project-15.0.7/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()