Searched refs:SrcGV (Results 1 – 3 of 3) sorted by relevance
455 GlobalValue *getLinkedToGlobal(const GlobalValue *SrcGV) { in getLinkedToGlobal() argument458 if (!SrcGV->hasName() || SrcGV->hasLocalLinkage()) in getLinkedToGlobal()462 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal()478 const GlobalVariable *SrcGV);849 const GlobalVariable *SrcGV) { in linkAppendingVarProto() argument850 Type *EltTy = cast<ArrayType>(TypeMap.get(SrcGV->getType()->getElementType())) in linkAppendingVarProto()853 StringRef Name = SrcGV->getName(); in linkAppendingVarProto()863 PointerType *VoidPtrTy = Type::getInt8Ty(SrcGV->getContext())->getPointerTo(); in linkAppendingVarProto()867 EltTy = StructType::get(SrcGV->getContext(), Tys, false); in linkAppendingVarProto()873 if (!SrcGV->hasAppendingLinkage() || !DstGV->hasAppendingLinkage()) { in linkAppendingVarProto()[all …]
96 GlobalValue *getLinkedToGlobal(const GlobalValue *SrcGV) { in getLinkedToGlobal() argument100 if (!SrcGV->hasName() || GlobalValue::isLocalLinkage(getLinkage(SrcGV))) in getLinkedToGlobal()104 GlobalValue *DGV = DstM.getNamedValue(getName(SrcGV)); in getLinkedToGlobal()402 const GlobalVariable *SrcGV; in computeResultingSelectionKind() local404 getComdatLeader(SrcM, ComdatName, SrcGV)) in computeResultingSelectionKind()412 SrcDL.getTypeAllocSize(SrcGV->getType()->getPointerElementType()); in computeResultingSelectionKind()414 if (SrcGV->getInitializer() != DstGV->getInitializer()) in computeResultingSelectionKind()
133 auto *SrcGV = DestModule.getNamedValue(ImportedName); in findExternalCalls() local134 if (SrcGV) { in findExternalCalls()135 assert(isa<Function>(SrcGV) && "Name collision during import"); in findExternalCalls()136 if (!cast<Function>(SrcGV)->isDeclaration()) { in findExternalCalls()