Lines Matching refs:GS
1811 GlobalVariable *GV, const GlobalStatus &GS, TargetLibraryInfo *TLI, in processInternalGlobal() argument
1822 if (!GS.HasMultipleAccessingFunctions && in processInternalGlobal()
1823 GS.AccessingFunction && in processInternalGlobal()
1828 GS.AccessingFunction->doesNotRecurse() && in processInternalGlobal()
1829 isPointerValueDeadOnEntryToFunction(GS.AccessingFunction, GV, in processInternalGlobal()
1832 Instruction &FirstI = const_cast<Instruction&>(*GS.AccessingFunction in processInternalGlobal()
1851 if (!GS.IsLoaded) { in processInternalGlobal()
1873 if (GS.StoredType <= GlobalStatus::InitializerStored) { in processInternalGlobal()
1897 if (GS.StoredType == GlobalStatus::StoredOnce && GS.StoredOnceValue) { in processInternalGlobal()
1902 if (Constant *SOVConstant = dyn_cast<Constant>(GS.StoredOnceValue)) in processInternalGlobal()
1922 if (optimizeOnceStoredGlobal(GV, GS.StoredOnceValue, GS.Ordering, DL, TLI)) in processInternalGlobal()
1927 if (Constant *SOVConstant = dyn_cast<Constant>(GS.StoredOnceValue)) { in processInternalGlobal()
1928 if (GS.Ordering == AtomicOrdering::NotAtomic) { in processInternalGlobal()
1948 GlobalStatus GS; in processGlobal() local
1950 if (GlobalStatus::analyzeGlobal(&GV, GS)) in processGlobal()
1954 if (!GS.IsCompared && !GV.hasGlobalUnnamedAddr()) { in processGlobal()
1975 return processInternalGlobal(GVar, GS, TLI, LookupDomTree) || Changed; in processGlobal()