Searched refs:SrcGV (Results 1 – 4 of 4) sorted by relevance
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()
452 GlobalValue *getLinkedToGlobal(const GlobalValue *SrcGV) { in getLinkedToGlobal() argument455 if (!SrcGV->hasName() || SrcGV->hasLocalLinkage()) in getLinkedToGlobal()459 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal()475 const GlobalVariable *SrcGV);793 const GlobalVariable *SrcGV) { in linkAppendingVarProto() argument794 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getValueType())) in linkAppendingVarProto()801 StringRef Name = SrcGV->getName(); in linkAppendingVarProto()811 PointerType *VoidPtrTy = Type::getInt8Ty(SrcGV->getContext())->getPointerTo(); in linkAppendingVarProto()815 EltTy = StructType::get(SrcGV->getContext(), Tys, false); in linkAppendingVarProto()823 if (!SrcGV->hasAppendingLinkage() || !DstGV->hasAppendingLinkage()) in linkAppendingVarProto()[all …]
81 GlobalValue *getLinkedToGlobal(const GlobalValue *SrcGV) { in getLinkedToGlobal() argument85 if (!SrcGV->hasName() || GlobalValue::isLocalLinkage(SrcGV->getLinkage())) in getLinkedToGlobal()89 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal()188 const GlobalVariable *SrcGV; in computeResultingSelectionKind() local190 getComdatLeader(*SrcM, ComdatName, SrcGV)) in computeResultingSelectionKind()196 uint64_t SrcSize = SrcDL.getTypeAllocSize(SrcGV->getValueType()); in computeResultingSelectionKind()198 if (SrcGV->getInitializer() != DstGV->getInitializer()) in computeResultingSelectionKind()