Home
last modified time | relevance | path

Searched refs:DGV (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Linker/
DLinkModules.cpp374 GlobalValue *DGV = DstM->getNamedValue(SrcGV->getName()); in getLinkedToGlobal() local
375 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() local
524 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 …]
/external/llvm/lib/Linker/
DLinkModules.cpp91 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal() local
92 if (!DGV) in getLinkedToGlobal()
97 if (DGV->hasLocalLinkage()) in getLinkedToGlobal()
101 return DGV; in getLinkedToGlobal()
354 GlobalValue *DGV = getLinkedToGlobal(&GV); in linkIfNeeded() local
356 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 …]
DIRMover.cpp440 GlobalValue *DGV = DstM.getNamedValue(SrcGV->getName()); in getLinkedToGlobal() local
441 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() local
666 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 …]