Lines Matching refs:VI
161 for (const auto &VI : ExportList) { in computeLTOCacheKey() local
162 auto GUID = VI.getGUID(); in computeLTOCacheKey()
239 for (const ValueInfo &VI : GS->refs()) { in computeLTOCacheKey() local
240 AddUnsigned(VI.isDSOLocal(Index.withDSOLocalPropagation())); in computeLTOCacheKey()
241 AddUsedCfiGlobal(VI.getGUID()); in computeLTOCacheKey()
350 const Config &C, ValueInfo VI, in thinLTOResolvePrevailingGUID() argument
358 C.VisibilityScheme == Config::ELF ? VI.getELFVisibility() in thinLTOResolvePrevailingGUID()
360 for (auto &S : VI.getSummaryList()) { in thinLTOResolvePrevailingGUID()
375 if (isPrevailing(VI.getGUID(), S.get())) { in thinLTOResolvePrevailingGUID()
388 S->setCanAutoHide(VI.canAutoHide() && in thinLTOResolvePrevailingGUID()
389 !GUIDPreservedSymbols.count(VI.getGUID())); in thinLTOResolvePrevailingGUID()
406 recordNewLinkage(S->modulePath(), VI.getGUID(), S->linkage()); in thinLTOResolvePrevailingGUID()
410 for (auto &S : VI.getSummaryList()) { in thinLTOResolvePrevailingGUID()
449 ValueInfo VI, function_ref<bool(StringRef, ValueInfo)> isExported, in thinLTOInternalizeAndPromoteGUID() argument
453 llvm::count_if(VI.getSummaryList(), in thinLTOInternalizeAndPromoteGUID()
458 for (auto &S : VI.getSummaryList()) { in thinLTOInternalizeAndPromoteGUID()
461 if (isExported(S->modulePath(), VI)) { in thinLTOInternalizeAndPromoteGUID()
520 if (isPrevailing(VI.getGUID(), S.get()) && ExternallyVisibleCopies == 1) in thinLTOInternalizeAndPromoteGUID()
1782 auto isExported = [&](StringRef ModuleIdentifier, ValueInfo VI) { in runThinLTO() argument
1784 return (ExportList != ExportLists.end() && ExportList->second.count(VI)) || in runThinLTO()
1785 ExportedGUIDs.count(VI.getGUID()); in runThinLTO()