Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:OldGV

1693   llvm::GlobalVariable *OldGV = nullptr;
1703 OldGV = GV;
1710 if (OldGV) {
1712 GV->takeName(OldGV);
1714 if (!OldGV->use_empty()) {
1716 llvm::ConstantExpr::getBitCast(GV, OldGV->getType());
1717 OldGV->replaceAllUsesWith(NewPtrForOldDecl);
1720 OldGV->eraseFromParent();
1885 // We must make a new GlobalVariable* and update everything that used OldGV