reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
329 GlobalValue *DGV = getLinkedToGlobal(&GV); 333 if (!GV.hasAppendingLinkage()) { 344 if (DGV && !GV.hasLocalLinkage() && !GV.hasAppendingLinkage()) { 344 if (DGV && !GV.hasLocalLinkage() && !GV.hasAppendingLinkage()) { 346 auto *SGVar = dyn_cast<GlobalVariable>(&GV); 362 getMinVisibility(DGV->getVisibility(), GV.getVisibility()); 364 GV.setVisibility(Visibility); 367 DGV->getUnnamedAddr(), GV.getUnnamedAddr()); 369 GV.setUnnamedAddr(UnnamedAddr); 373 (GV.hasLocalLinkage() || GV.hasLinkOnceLinkage() || 373 (GV.hasLocalLinkage() || GV.hasLinkOnceLinkage() || 374 GV.hasAvailableExternallyLinkage())) 377 if (GV.isDeclaration()) 380 if (const Comdat *SC = GV.getComdat()) { 389 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, GV)) 392 ValuesToLink.insert(&GV);