reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
341 OldGV->isConstant(), 342 OldGV->getLinkage(), Init, "", 343 /*InsertBefore*/ OldGV, 344 OldGV->getThreadLocalMode(), 346 GV->setVisibility(OldGV->getVisibility()); 347 GV->setDSOLocal(OldGV->isDSOLocal()); 348 GV->setComdat(OldGV->getComdat()); 351 GV->takeName(OldGV); 355 llvm::ConstantExpr::getBitCast(GV, OldGV->getType()); 356 OldGV->replaceAllUsesWith(NewPtrForOldDecl); 359 OldGV->eraseFromParent();