Lines Matching defs:GS
1455 processInternalGlobal(GlobalVariable *GV, const GlobalStatus &GS,
1468 if (!GS.HasMultipleAccessingFunctions &&
1469 GS.AccessingFunction &&
1473 GS.AccessingFunction->doesNotRecurse() &&
1474 isPointerValueDeadOnEntryToFunction(GS.AccessingFunction, GV,
1480 GS.AccessingFunction->getEntryBlock().begin().getNonConst();
1498 if (!GS.IsLoaded) {
1519 if (GS.StoredType <= GlobalStatus::InitializerStored) {
1525 if (GS.Ordering == AtomicOrdering::NotAtomic) {
1551 Value *StoredOnceValue = GS.getStoredOnceValue();
1552 if (GS.StoredType == GlobalStatus::StoredOnce && StoredOnceValue) {
1554 const_cast<Function &>(*GS.StoredOnceStore->getFunction());
1606 if (GS.NumStores == 1)
1607 if (forwardStoredOnceStore(GV, GS.StoredOnceStore, LookupDomTree))
1612 if (SOVConstant && GS.Ordering == AtomicOrdering::NotAtomic &&
1635 GlobalStatus GS;
1637 if (GlobalStatus::analyzeGlobal(&GV, GS))
1641 if (!GS.IsCompared && !GV.hasGlobalUnnamedAddr()) {
1662 return processInternalGlobal(GVar, GS, GetTTI, GetTLI, LookupDomTree) ||