Lines Matching defs:NewGV
925 GlobalVariable *NewGV = new GlobalVariable(
938 Builder.CreateMemSet(NewGV, InitVal, AllocSize, std::nullopt);
942 CI->replaceAllUsesWith(NewGV);
974 LoadUse.set(NewGV);
1018 // To further other optimizations, loop over all users of NewGV and try to
1021 ConstantPropUsersOf(NewGV, DL, TLI);
1023 return NewGV;
1182 GlobalVariable *NewGV = new GlobalVariable(Type::getInt1Ty(GV->getContext()),
1189 NewGV->copyAttributesFrom(GV);
1190 GV->getParent()->insertGlobalVariable(GV->getIterator(), NewGV);
1218 DL.getTypeAllocSizeInBits(NewGV->getValueType()) / 8;
1236 DIGlobalVariableExpression::get(NewGV->getContext(), DGV, E);
1237 NewGV->addDebugInfo(DGVE);
1247 NewGV->addDebugInfo(GV);
1273 new LoadInst(NewGV->getValueType(), NewGV, LI->getName() + ".b",
1280 assert(isa<LoadInst>(StoreVal) && "Not a load of NewGV!");
1284 new StoreInst(StoreVal, NewGV, false, Align(1), SI->getOrdering(),
1291 NewGV->getValueType(), NewGV, LI->getName() + ".b", false, Align(1),
1310 NewGV->takeName(GV);