Searched refs:GVS (Results 1 – 11 of 11) sorted by relevance
128 if (auto *GVS = dyn_cast<GlobalVarSummary>(Ref->getBaseObject())) { in propagateAttributesToRefs() local130 GVS->setReadOnly(false); in propagateAttributesToRefs()132 GVS->setWriteOnly(false); in propagateAttributesToRefs()182 if (auto *GVS = dyn_cast<GlobalVarSummary>(S->getBaseObject())) in propagateAttributes() local188 GVS->setReadOnly(false); in propagateAttributes()189 GVS->setWriteOnly(false); in propagateAttributes()197 if (auto *GVS = dyn_cast<GlobalVarSummary>( in propagateAttributes() local199 if (isGlobalValueLive(GVS)) { in propagateAttributes()200 if (GVS->maybeReadOnly()) in propagateAttributes()202 if (GVS->maybeWriteOnly()) in propagateAttributes()[all …]
37 for (auto &GVS : V.getSummaryList()) { in initializeCounts() local38 auto S = GVS.get()->getBaseObject(); in initializeCounts()66 for (auto &GVS : V.getSummaryList()) { in computeSyntheticCounts() local67 auto S = GVS.get()->getBaseObject(); in computeSyntheticCounts()
199 if (auto *GVS = dyn_cast<GlobalVarSummary>(GS)) { in computeLTOCacheKey() local200 AddUnsigned(GVS->maybeReadOnly()); in computeLTOCacheKey()201 AddUnsigned(GVS->maybeWriteOnly()); in computeLTOCacheKey()380 static bool isWeakObjectWithRWAccess(GlobalValueSummary *GVS) { in isWeakObjectWithRWAccess() argument381 if (auto *VarSummary = dyn_cast<GlobalVarSummary>(GVS->getBaseObject())) in isWeakObjectWithRWAccess()
485 if (GlobalValueSummary *GVS = DefinedGlobals.lookup(GV.getGUID())) in dropDeadSymbols() local486 if (!Index.isGlobalValueLive(GVS)) { in dropDeadSymbols()
249 auto *GVS = dyn_cast_or_null<GlobalVarSummary>( in processGlobalForThinLTO() local251 if (GVS && in processGlobalForThinLTO()252 (ImportIndex.isReadOnly(GVS) || ImportIndex.isWriteOnly(GVS))) { in processGlobalForThinLTO()261 if (ImportIndex.isWriteOnly(GVS)) in processGlobalForThinLTO()
442 static bool classof(const GlobalValueSummary *GVS) {443 return GVS->getSummaryKind() == AliasKind;619 static bool classof(const GlobalValueSummary *GVS) {620 return GVS->getSummaryKind() == FunctionKind;776 static bool classof(const GlobalValueSummary *GVS) {777 return GVS->getSummaryKind() == GlobalVarKind;1088 bool isReadOnly(const GlobalVarSummary *GVS) const {1089 return WithAttributePropagation && GVS->maybeReadOnly();1091 bool isWriteOnly(const GlobalVarSummary *GVS) const {1092 return WithAttributePropagation && GVS->maybeWriteOnly();[all …]
650 auto *GVS = dyn_cast_or_null<GlobalVarSummary>( in checkVariableImport() local652 return GVS && (Index.isReadOnly(GVS) || Index.isWriteOnly(GVS)); in checkVariableImport()
1846 for (auto &GVS : I.second.SummaryList) in lower() local1847 if (GVS->isLive()) in lower()1848 for (auto &Ref : GVS->refs()) in lower()1874 for (auto &GVS : VI.getSummaryList()) in lower() local1875 if (GVS->isLive() && !GlobalValue::isLocalLinkage(GVS->linkage())) in lower()
14 # GVS.Giri (swecha team)<gvs.giri947@gmail.com>,2012.
659 - !1620 gvariant: Ensure GVS.depth is initialised
48038 z%l&-7oJ0^=<GVS-rys5>yuHx9Rg%;Yi62-9>O<zwTr57^&+TQ63qHM-WZ`<JdZi$l69565 z`pIA0uw+BdvfJ3_p)_Fm+uQacX8@rKtzkA|s<z2Gzn|2woh5M)kRe!$GVS<C-+-46