Lines Matching refs:GS
1056 const auto &GS = DefinedGlobals.find(GV.getGUID()); in thinLTOFinalizeInModule() local
1057 if (GS == DefinedGlobals.end()) in thinLTOFinalizeInModule()
1061 if (FunctionSummary *FS = dyn_cast<FunctionSummary>(GS->second)) { in thinLTOFinalizeInModule()
1078 auto NewLinkage = GS->second->linkage(); in thinLTOFinalizeInModule()
1092 if (GS->second->getVisibility() != GlobalValue::DefaultVisibility) in thinLTOFinalizeInModule()
1093 GV.setVisibility(GS->second->getVisibility()); in thinLTOFinalizeInModule()
1117 GS->second->canAutoHide()) { in thinLTOFinalizeInModule()
1159 auto GS = DefinedGlobals.find(GV.getGUID()); in thinLTOInternalizeModule() local
1160 if (GS == DefinedGlobals.end()) { in thinLTOInternalizeModule()
1171 GS = DefinedGlobals.find(GlobalValue::getGUID(OrigId)); in thinLTOInternalizeModule()
1172 if (GS == DefinedGlobals.end()) { in thinLTOInternalizeModule()
1179 GS = DefinedGlobals.find(GlobalValue::getGUID(OrigName)); in thinLTOInternalizeModule()
1180 assert(GS != DefinedGlobals.end()); in thinLTOInternalizeModule()
1183 return !GlobalValue::isLocalLinkage(GS->second->linkage()); in thinLTOInternalizeModule()