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