Lines Matching defs:VI
176 for (const auto &VI : ExportList)
177 ExportsGUID.push_back(VI.getGUID());
241 for (const ValueInfo &VI : GS->refs()) {
242 AddUnsigned(VI.isDSOLocal(Index.withDSOLocalPropagation()));
243 AddUsedCfiGlobal(VI.getGUID());
364 const Config &C, ValueInfo VI,
372 C.VisibilityScheme == Config::ELF ? VI.getELFVisibility()
374 for (auto &S : VI.getSummaryList()) {
389 if (isPrevailing(VI.getGUID(), S.get())) {
402 S->setCanAutoHide(VI.canAutoHide() &&
403 !GUIDPreservedSymbols.count(VI.getGUID()));
420 recordNewLinkage(S->modulePath(), VI.getGUID(), S->linkage());
424 for (auto &S : VI.getSummaryList()) {
463 ValueInfo VI, function_ref<bool(StringRef, ValueInfo)> isExported,
467 llvm::count_if(VI.getSummaryList(),
472 for (auto &S : VI.getSummaryList()) {
475 if (isExported(S->modulePath(), VI)) {
534 if (isPrevailing(VI.getGUID(), S.get()) && ExternallyVisibleCopies == 1)
1974 auto isExported = [&](StringRef ModuleIdentifier, ValueInfo VI) {
1976 return (ExportList != ExportLists.end() && ExportList->second.count(VI)) ||
1977 ExportedGUIDs.count(VI.getGUID());