reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1762 GV.removeDeadConstantUsers(); 1764 if (!GV.isDiscardableIfUnused() && !GV.isDeclaration()) 1764 if (!GV.isDiscardableIfUnused() && !GV.isDeclaration()) 1767 if (const Comdat *C = GV.getComdat()) 1768 if (!GV.hasLocalLinkage() && NotDiscardableComdats.count(C)) 1772 if (auto *F = dyn_cast<Function>(&GV)) 1775 Dead = GV.use_empty(); 1779 LLVM_DEBUG(dbgs() << "GLOBAL DEAD: " << GV << "\n"); 1780 GV.eraseFromParent();