Lines Matching defs:GS
1451 processInternalGlobal(GlobalVariable *GV, const GlobalStatus &GS,
1464 if (!GS.HasMultipleAccessingFunctions &&
1465 GS.AccessingFunction &&
1469 GS.AccessingFunction->doesNotRecurse() &&
1470 isPointerValueDeadOnEntryToFunction(GS.AccessingFunction, GV,
1476 GS.AccessingFunction->getEntryBlock().begin().getNonConst();
1494 if (!GS.IsLoaded) {
1515 if (GS.StoredType <= GlobalStatus::InitializerStored) {
1521 if (GS.Ordering == AtomicOrdering::NotAtomic) {
1547 Value *StoredOnceValue = GS.getStoredOnceValue();
1548 if (GS.StoredType == GlobalStatus::StoredOnce && StoredOnceValue) {
1550 const_cast<Function &>(*GS.StoredOnceStore->getFunction());
1602 if (GS.NumStores == 1)
1603 if (forwardStoredOnceStore(GV, GS.StoredOnceStore, LookupDomTree))
1608 if (SOVConstant && GS.Ordering == AtomicOrdering::NotAtomic &&
1631 GlobalStatus GS;
1633 if (GlobalStatus::analyzeGlobal(&GV, GS))
1637 if (!GS.IsCompared && !GV.hasGlobalUnnamedAddr()) {
1658 return processInternalGlobal(GVar, GS, GetTTI, GetTLI, LookupDomTree) ||