Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DThinLTOBitcodeWriter.cpp51 for (auto &ExportGV : ExportM.global_values()) { in promoteInternals() local
52 if (!ExportGV.hasLocalLinkage()) in promoteInternals()
55 auto Name = ExportGV.getName(); in promoteInternals()
57 if (!PromoteExtra.count(&ExportGV)) { in promoteInternals()
71 if (const auto *C = ExportGV.getComdat()) in promoteInternals()
75 ExportGV.setName(NewName); in promoteInternals()
76 ExportGV.setLinkage(GlobalValue::ExternalLinkage); in promoteInternals()
77 ExportGV.setVisibility(GlobalValue::HiddenVisibility); in promoteInternals()
84 if (isa<Function>(&ExportGV) && allowPromotionAlias(OldName)) { in promoteInternals()