reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
311 if (Linkage == GlobalValue::ExternalWeakLinkage) 312 Linkage = GlobalValue::LinkOnceAnyLinkage; 313 else if (Linkage == GlobalValue::AvailableExternallyLinkage) 314 Linkage = GlobalValue::LinkOnceODRLinkage; 315 else if (Linkage == GlobalValue::InternalLinkage || 316 Linkage == GlobalValue::ExternalLinkage) 317 Linkage = GlobalValue::PrivateLinkage; 322 new GlobalVariable(M, Value->getType(), true, Linkage, Value, 323 getPGOFuncNameVarName(PGOFuncName, Linkage));