Searched refs:DGV (Results 1 – 4 of 4) sorted by relevance
374 GlobalValue *DGV = DstM->getNamedValue(SrcGV->getName()); in getLinkedToGlobal() local375 if (DGV == 0) return 0; in getLinkedToGlobal()379 if (DGV->hasLocalLinkage()) in getLinkedToGlobal()383 return DGV; in getLinkedToGlobal()523 GlobalValue *DGV = getLinkedToGlobal(I); in computeTypeMapping() local524 if (DGV == 0) continue; in computeTypeMapping()526 if (!DGV->hasAppendingLinkage() || !I->hasAppendingLinkage()) { in computeTypeMapping()527 TypeMap.addTypeMapping(DGV->getType(), I->getType()); in computeTypeMapping()532 ArrayType *DAT = cast<ArrayType>(DGV->getType()->getElementType()); in computeTypeMapping()539 if (GlobalValue *DGV = getLinkedToGlobal(I)) in computeTypeMapping() local[all …]
91 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal() local92 if (!DGV) in getLinkedToGlobal()97 if (DGV->hasLocalLinkage()) in getLinkedToGlobal()101 return DGV; in getLinkedToGlobal()354 GlobalValue *DGV = getLinkedToGlobal(&GV); in linkIfNeeded() local356 if (shouldLinkOnlyNeeded() && !(DGV && DGV->isDeclaration())) in linkIfNeeded()359 if (DGV && !GV.hasLocalLinkage() && !GV.hasAppendingLinkage()) { in linkIfNeeded()360 auto *DGVar = dyn_cast<GlobalVariable>(DGV); in linkIfNeeded()376 getMinVisibility(DGV->getVisibility(), GV.getVisibility()); in linkIfNeeded()377 DGV->setVisibility(Visibility); in linkIfNeeded()[all …]
440 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal() local441 if (!DGV) in getLinkedToGlobal()446 if (DGV->hasLocalLinkage()) in getLinkedToGlobal()450 return DGV; in getLinkedToGlobal()463 bool shouldLink(GlobalValue *DGV, GlobalValue &SGV);665 GlobalValue *DGV = getLinkedToGlobal(&SGV); in computeTypeMapping() local666 if (!DGV) in computeTypeMapping()669 if (!DGV->hasAppendingLinkage() || !SGV.hasAppendingLinkage()) { in computeTypeMapping()670 TypeMap.addTypeMapping(DGV->getType(), SGV.getType()); in computeTypeMapping()675 ArrayType *DAT = cast<ArrayType>(DGV->getValueType()); in computeTypeMapping()[all …]
20940 "DGV",