Searched refs:OldGV (Results 1 - 5 of 5) sorted by relevance
/netbsd-current/external/apache2/llvm/dist/llvm/lib/LTO/ |
H A D | LTO.cpp | 1073 GlobalVariable *OldGV = RegularLTO.CombinedModule->getNamedGlobal(I.first); local 1074 if (OldGV && DL.getTypeAllocSize(OldGV->getValueType()) == I.second.Size) { 1077 OldGV->setAlignment(I.second.Align); 1086 if (OldGV) { 1087 OldGV->replaceAllUsesWith(ConstantExpr::getBitCast(GV, OldGV->getType())); 1088 GV->takeName(OldGV); 1089 OldGV->eraseFromParent();
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGDecl.cpp | 354 llvm::GlobalVariable *OldGV = GV; local 357 CGM.getModule(), Init->getType(), OldGV->isConstant(), 358 OldGV->getLinkage(), Init, "", 359 /*InsertBefore*/ OldGV, OldGV->getThreadLocalMode(), 360 OldGV->getType()->getPointerAddressSpace()); 361 GV->setVisibility(OldGV->getVisibility()); 362 GV->setDSOLocal(OldGV->isDSOLocal()); 363 GV->setComdat(OldGV->getComdat()); 366 GV->takeName(OldGV); [all...] |
H A D | ItaniumCXXABI.cpp | 3656 llvm::GlobalVariable *OldGV = CGM.getModule().getNamedGlobal(Name); local 3657 if (OldGV && !OldGV->isDeclaration()) { 3658 assert(!OldGV->hasAvailableExternallyLinkage() && 3661 return llvm::ConstantExpr::getBitCast(OldGV, CGM.Int8PtrTy); 3821 llvm::GlobalVariable *OldGV = M.getNamedGlobal(Name); local 3839 if (OldGV) { 3840 GV->takeName(OldGV); 3842 llvm::ConstantExpr::getBitCast(GV, OldGV->getType()); 3843 OldGV [all...] |
H A D | CGObjCGNU.cpp | 1363 auto *OldGV = TheModule.getGlobalVariable(SymName); variable 1372 assert(!OldGV); 1421 if (OldGV) { 1422 OldGV->replaceAllUsesWith(llvm::ConstantExpr::getBitCast(GV, 1423 OldGV->getType())); 1424 OldGV->removeFromParent();
|
H A D | CodeGenModule.cpp | 4020 llvm::GlobalVariable *OldGV = nullptr; local 4030 OldGV = GV; 4037 if (OldGV) { 4039 GV->takeName(OldGV); 4041 if (!OldGV->use_empty()) { 4043 llvm::ConstantExpr::getBitCast(GV, OldGV->getType()); 4044 OldGV->replaceAllUsesWith(NewPtrForOldDecl); 4047 OldGV->eraseFromParent(); 4362 // We must make a new GlobalVariable* and update everything that used OldGV
|
Completed in 575 milliseconds