reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
336 if (!DGV) 339 if (!DGV->isDeclaration()) 344 if (DGV && !GV.hasLocalLinkage() && !GV.hasAppendingLinkage()) { 345 auto *DGVar = dyn_cast<GlobalVariable>(DGV); 362 getMinVisibility(DGV->getVisibility(), GV.getVisibility()); 363 DGV->setVisibility(Visibility); 367 DGV->getUnnamedAddr(), GV.getUnnamedAddr()); 368 DGV->setUnnamedAddr(UnnamedAddr); 372 if (!DGV && !shouldOverrideFromSrc() && 389 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, GV)) 389 if (DGV && shouldLinkFromSource(LinkFromSrc, *DGV, GV))