Lines Matching refs:NewGlobals
442 std::vector<GlobalVariable*> NewGlobals; in SRAGlobal() local
451 NewGlobals.reserve(STy->getNumElements()); in SRAGlobal()
464 NewGlobals.push_back(NGV); in SRAGlobal()
483 NewGlobals.reserve(NumElements); in SRAGlobal()
499 NewGlobals.push_back(NGV); in SRAGlobal()
510 if (NewGlobals.empty()) in SRAGlobal()
529 if (Val >= NewGlobals.size()) Val = 0; // Out of bound array access. in SRAGlobal()
531 Value *NewPtr = NewGlobals[Val]; in SRAGlobal()
532 Type *NewTy = NewGlobals[Val]->getValueType(); in SRAGlobal()
569 for (unsigned i = 0, e = NewGlobals.size(); i != e; ++i) in SRAGlobal()
570 if (NewGlobals[i]->use_empty()) { in SRAGlobal()
571 Globals.erase(NewGlobals[i]); in SRAGlobal()
575 return FirstGlobal != NewGlobals.size() ? NewGlobals[FirstGlobal] : nullptr; in SRAGlobal()