Lines Matching refs:GS
1406 const auto &GS = DefinedGlobals.find(GV.getGUID()); in thinLTOFinalizeInModule() local
1407 if (GS == DefinedGlobals.end()) in thinLTOFinalizeInModule()
1411 if (FunctionSummary *FS = dyn_cast<FunctionSummary>(GS->second)) { in thinLTOFinalizeInModule()
1428 auto NewLinkage = GS->second->linkage(); in thinLTOFinalizeInModule()
1442 if (GS->second->getVisibility() != GlobalValue::DefaultVisibility) in thinLTOFinalizeInModule()
1443 GV.setVisibility(GS->second->getVisibility()); in thinLTOFinalizeInModule()
1467 GS->second->canAutoHide()) { in thinLTOFinalizeInModule()
1542 auto GS = DefinedGlobals.find(GV.getGUID()); in thinLTOInternalizeModule() local
1543 if (GS == DefinedGlobals.end()) { in thinLTOInternalizeModule()
1554 GS = DefinedGlobals.find(GlobalValue::getGUID(OrigId)); in thinLTOInternalizeModule()
1555 if (GS == DefinedGlobals.end()) { in thinLTOInternalizeModule()
1562 GS = DefinedGlobals.find(GlobalValue::getGUID(OrigName)); in thinLTOInternalizeModule()
1563 assert(GS != DefinedGlobals.end()); in thinLTOInternalizeModule()
1566 return !GlobalValue::isLocalLinkage(GS->second->linkage()); in thinLTOInternalizeModule()