reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
842 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getValueType())) 849 StringRef Name = SrcGV->getName(); 859 PointerType *VoidPtrTy = Type::getInt8Ty(SrcGV->getContext())->getPointerTo(); 863 EltTy = StructType::get(SrcGV->getContext(), Tys, false); 871 if (!SrcGV->hasAppendingLinkage() || !DstGV->hasAppendingLinkage()) 873 "Linking globals named '" + SrcGV->getName() + 880 if (DstGV->isConstant() != SrcGV->isConstant()) 883 if (DstGV->getAlignment() != SrcGV->getAlignment()) 887 if (DstGV->getVisibility() != SrcGV->getVisibility()) 891 if (DstGV->hasGlobalUnnamedAddr() != SrcGV->hasGlobalUnnamedAddr()) 895 if (DstGV->getSection() != SrcGV->getSection()) 901 getArrayElements(SrcGV->getInitializer(), SrcElements); 919 DstM, NewType, SrcGV->isConstant(), SrcGV->getLinkage(), 919 DstM, NewType, SrcGV->isConstant(), SrcGV->getLinkage(), 920 /*init*/ nullptr, /*name*/ "", DstGV, SrcGV->getThreadLocalMode(), 921 SrcGV->getType()->getAddressSpace()); 923 NG->copyAttributesFrom(SrcGV); 924 forceRenaming(NG, SrcGV->getName()); 926 Constant *Ret = ConstantExpr::getBitCast(NG, TypeMap.get(SrcGV->getType()));