Searched defs:OldGV (Results 1 - 3 of 3) sorted by relevance
/external/clang/lib/CodeGen/ |
H A D | CGDecl.cpp | 258 llvm::GlobalVariable *OldGV = GV; local 261 OldGV->isConstant(), 262 OldGV->getLinkage(), Init, "", 263 /*InsertBefore*/ OldGV, 264 OldGV->getThreadLocalMode(), 266 GV->setVisibility(OldGV->getVisibility()); 269 GV->takeName(OldGV); 273 llvm::ConstantExpr::getBitCast(GV, OldGV->getType()); 274 OldGV->replaceAllUsesWith(NewPtrForOldDecl); 277 OldGV [all...] |
H A D | CodeGenModule.cpp | 1693 llvm::GlobalVariable *OldGV = nullptr; local 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
|
H A D | ItaniumCXXABI.cpp | 2483 llvm::GlobalVariable *OldGV = CGM.getModule().getNamedGlobal(Name); local 2484 if (OldGV && !OldGV->isDeclaration()) { 2485 assert(!OldGV->hasAvailableExternallyLinkage() && 2488 return llvm::ConstantExpr::getBitCast(OldGV, CGM.Int8PtrTy); 2617 if (OldGV) { 2618 GV->takeName(OldGV); 2620 llvm::ConstantExpr::getBitCast(GV, OldGV->getType()); 2621 OldGV->replaceAllUsesWith(NewPtr); 2622 OldGV [all...] |
Completed in 2471 milliseconds