Lines Matching refs:GlobalValue
24 const GlobalValue *SGV, DenseSet<const GlobalValue *> *GlobalsToImport) { in doImportAsDefinition()
44 const GlobalValue *SGV) { in doImportAsDefinition()
52 const GlobalValue *SGV) { in doPromoteLocalToGlobal()
81 std::string FunctionImportGlobalProcessing::getName(const GlobalValue *SGV) { in getName()
95 GlobalValue::LinkageTypes
96 FunctionImportGlobalProcessing::getLinkage(const GlobalValue *SGV) { in getLinkage()
103 return GlobalValue::ExternalLinkage; in getLinkage()
112 case GlobalValue::ExternalLinkage: in getLinkage()
118 return GlobalValue::AvailableExternallyLinkage; in getLinkage()
122 case GlobalValue::AvailableExternallyLinkage: in getLinkage()
126 return GlobalValue::ExternalLinkage; in getLinkage()
130 case GlobalValue::LinkOnceAnyLinkage: in getLinkage()
131 case GlobalValue::LinkOnceODRLinkage: in getLinkage()
136 case GlobalValue::WeakAnyLinkage: in getLinkage()
145 case GlobalValue::WeakODRLinkage: in getLinkage()
151 return GlobalValue::AvailableExternallyLinkage; in getLinkage()
153 return GlobalValue::ExternalLinkage; in getLinkage()
155 case GlobalValue::AppendingLinkage: in getLinkage()
161 return GlobalValue::AppendingLinkage; in getLinkage()
163 case GlobalValue::InternalLinkage: in getLinkage()
164 case GlobalValue::PrivateLinkage: in getLinkage()
169 return GlobalValue::AvailableExternallyLinkage; in getLinkage()
171 return GlobalValue::ExternalLinkage; in getLinkage()
177 case GlobalValue::ExternalWeakLinkage: in getLinkage()
183 case GlobalValue::CommonLinkage: in getLinkage()
192 void FunctionImportGlobalProcessing::processGlobalForThinLTO(GlobalValue &GV) { in processGlobalForThinLTO()
198 GV.setVisibility(GlobalValue::HiddenVisibility); in processGlobalForThinLTO()
240 DenseSet<const GlobalValue *> *GlobalsToImport) { in renameModuleForThinLTO()