Lines Matching refs:Linkage
127 GlobalValue::LinkageTypes Linkage, in getPGOFuncName() argument
130 return GlobalValue::getGlobalIdentifier(RawFuncName, Linkage, FileName); in getPGOFuncName()
175 GlobalValue::LinkageTypes Linkage) { in getPGOFuncNameVarName() argument
179 if (!GlobalValue::isLocalLinkage(Linkage)) in getPGOFuncNameVarName()
193 GlobalValue::LinkageTypes Linkage, in createPGOFuncNameVar() argument
199 if (Linkage == GlobalValue::ExternalWeakLinkage) in createPGOFuncNameVar()
200 Linkage = GlobalValue::LinkOnceAnyLinkage; in createPGOFuncNameVar()
201 else if (Linkage == GlobalValue::AvailableExternallyLinkage) in createPGOFuncNameVar()
202 Linkage = GlobalValue::LinkOnceODRLinkage; in createPGOFuncNameVar()
203 else if (Linkage == GlobalValue::InternalLinkage || in createPGOFuncNameVar()
204 Linkage == GlobalValue::ExternalLinkage) in createPGOFuncNameVar()
205 Linkage = GlobalValue::PrivateLinkage; in createPGOFuncNameVar()
210 new GlobalVariable(M, Value->getType(), true, Linkage, Value, in createPGOFuncNameVar()
211 getPGOFuncNameVarName(PGOFuncName, Linkage)); in createPGOFuncNameVar()