Lines Matching refs:NewGlobals
668 std::vector<GlobalVariable*> NewGlobals; in SRAGlobal() local
677 NewGlobals.reserve(STy->getNumElements()); in SRAGlobal()
688 NewGlobals.push_back(NGV); in SRAGlobal()
707 NewGlobals.reserve(NumElements); in SRAGlobal()
721 NewGlobals.push_back(NGV); in SRAGlobal()
732 if (NewGlobals.empty()) in SRAGlobal()
751 if (Val >= NewGlobals.size()) Val = 0; // Out of bound array access. in SRAGlobal()
753 Value *NewPtr = NewGlobals[Val]; in SRAGlobal()
789 for (unsigned i = 0, e = NewGlobals.size(); i != e; ++i) in SRAGlobal()
790 if (NewGlobals[i]->use_empty()) { in SRAGlobal()
791 Globals.erase(NewGlobals[i]); in SRAGlobal()
795 return FirstGlobal != NewGlobals.size() ? NewGlobals[FirstGlobal] : 0; in SRAGlobal()