Searched refs:SrcGV (Results 1 – 3 of 3) sorted by relevance
367 GlobalValue *getLinkedToGlobal(GlobalValue *SrcGV) { in getLinkedToGlobal() argument370 if (!SrcGV->hasName() || SrcGV->hasLocalLinkage()) in getLinkedToGlobal()374 GlobalValue *DGV = DstM->getNamedValue(SrcGV->getName()); in getLinkedToGlobal()388 bool linkAppendingVarProto(GlobalVariable *DstGV, GlobalVariable *SrcGV);389 bool linkGlobalProto(GlobalVariable *SrcGV);426 static void CopyGVAttributes(GlobalValue *DestGV, const GlobalValue *SrcGV) { in CopyGVAttributes() argument428 unsigned Alignment = std::max(DestGV->getAlignment(), SrcGV->getAlignment()); in CopyGVAttributes()429 DestGV->copyAttributesFrom(SrcGV); in CopyGVAttributes()432 forceRenaming(DestGV, SrcGV->getName()); in CopyGVAttributes()553 GlobalVariable *SrcGV) { in linkAppendingVarProto() argument[all …]
433 GlobalValue *getLinkedToGlobal(const GlobalValue *SrcGV) { in getLinkedToGlobal() argument436 if (!SrcGV->hasName() || SrcGV->hasLocalLinkage()) in getLinkedToGlobal()440 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal()456 const GlobalVariable *SrcGV);746 const GlobalVariable *SrcGV) { in linkAppendingVarProto() argument747 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getValueType())) in linkAppendingVarProto()754 StringRef Name = SrcGV->getName(); in linkAppendingVarProto()764 PointerType *VoidPtrTy = Type::getInt8Ty(SrcGV->getContext())->getPointerTo(); in linkAppendingVarProto()768 EltTy = StructType::get(SrcGV->getContext(), Tys, false); in linkAppendingVarProto()776 if (!SrcGV->hasAppendingLinkage() || !DstGV->hasAppendingLinkage()) in linkAppendingVarProto()[all …]
83 GlobalValue *getLinkedToGlobal(const GlobalValue *SrcGV) { in getLinkedToGlobal() argument87 if (!SrcGV->hasName() || GlobalValue::isLocalLinkage(SrcGV->getLinkage())) in getLinkedToGlobal()91 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal()204 const GlobalVariable *SrcGV; in computeResultingSelectionKind() local206 getComdatLeader(*SrcM, ComdatName, SrcGV)) in computeResultingSelectionKind()212 uint64_t SrcSize = SrcDL.getTypeAllocSize(SrcGV->getValueType()); in computeResultingSelectionKind()214 if (SrcGV->getInitializer() != DstGV->getInitializer()) in computeResultingSelectionKind()