Lines Matching refs:GS
208 auto AddUsedThings = [&](GlobalValueSummary *GS) { in computeLTOCacheKey() argument
209 if (!GS) return; in computeLTOCacheKey()
210 AddUnsigned(GS->getVisibility()); in computeLTOCacheKey()
211 AddUnsigned(GS->isLive()); in computeLTOCacheKey()
212 AddUnsigned(GS->canAutoHide()); in computeLTOCacheKey()
213 for (const ValueInfo &VI : GS->refs()) { in computeLTOCacheKey()
217 if (auto *GVS = dyn_cast<GlobalVarSummary>(GS)) { in computeLTOCacheKey()
221 if (auto *FS = dyn_cast<FunctionSummary>(GS)) { in computeLTOCacheKey()
241 for (auto &GS : DefinedGlobals) { in computeLTOCacheKey() local
242 GlobalValue::LinkageTypes Linkage = GS.second->linkage(); in computeLTOCacheKey()
245 AddUsedCfiGlobal(GS.first); in computeLTOCacheKey()
246 AddUsedThings(GS.second); in computeLTOCacheKey()