Lines Matching defs:GS
1621 const auto &GS = DefinedGlobals.find(GV.getGUID());
1622 if (GS == DefinedGlobals.end())
1626 if (FunctionSummary *FS = dyn_cast<FunctionSummary>(GS->second)) {
1643 auto NewLinkage = GS->second->linkage();
1657 if (GS->second->getVisibility() != GlobalValue::DefaultVisibility)
1658 GV.setVisibility(GS->second->getVisibility());
1682 GS->second->canAutoHide()) {
1757 auto GS = DefinedGlobals.find(GV.getGUID());
1758 if (GS == DefinedGlobals.end()) {
1769 GS = DefinedGlobals.find(GlobalValue::getGUID(OrigId));
1770 if (GS == DefinedGlobals.end()) {
1777 GS = DefinedGlobals.find(GlobalValue::getGUID(OrigName));
1778 assert(GS != DefinedGlobals.end());
1781 return !GlobalValue::isLocalLinkage(GS->second->linkage());