Lines Matching refs:GS
1505 const auto &GS = DefinedGlobals.find(GV.getGUID()); in thinLTOFinalizeInModule() local
1506 if (GS == DefinedGlobals.end()) in thinLTOFinalizeInModule()
1510 if (FunctionSummary *FS = dyn_cast<FunctionSummary>(GS->second)) { in thinLTOFinalizeInModule()
1527 auto NewLinkage = GS->second->linkage(); in thinLTOFinalizeInModule()
1541 if (GS->second->getVisibility() != GlobalValue::DefaultVisibility) in thinLTOFinalizeInModule()
1542 GV.setVisibility(GS->second->getVisibility()); in thinLTOFinalizeInModule()
1566 GS->second->canAutoHide()) { in thinLTOFinalizeInModule()
1641 auto GS = DefinedGlobals.find(GV.getGUID()); in thinLTOInternalizeModule() local
1642 if (GS == DefinedGlobals.end()) { in thinLTOInternalizeModule()
1653 GS = DefinedGlobals.find(GlobalValue::getGUID(OrigId)); in thinLTOInternalizeModule()
1654 if (GS == DefinedGlobals.end()) { in thinLTOInternalizeModule()
1661 GS = DefinedGlobals.find(GlobalValue::getGUID(OrigName)); in thinLTOInternalizeModule()
1662 assert(GS != DefinedGlobals.end()); in thinLTOInternalizeModule()
1665 return !GlobalValue::isLocalLinkage(GS->second->linkage()); in thinLTOInternalizeModule()