Lines Matching refs:GlobalValue
44 GlobalValueSummaryList &GVSummaryList, GlobalValue::GUID GUID, in thinLTOResolveWeakForLinkerGUID()
46 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOResolveWeakForLinkerGUID()
48 function_ref<void(StringRef, GlobalValue::GUID, GlobalValue::LinkageTypes)> in thinLTOResolveWeakForLinkerGUID()
53 GlobalValue::LinkageTypes OriginalLinkage = S->linkage(); in thinLTOResolveWeakForLinkerGUID()
54 if (!GlobalValue::isWeakForLinker(OriginalLinkage)) in thinLTOResolveWeakForLinkerGUID()
59 if (GlobalValue::isLinkOnceLinkage(OriginalLinkage)) in thinLTOResolveWeakForLinkerGUID()
60 S->setLinkage(GlobalValue::getWeakLinkage( in thinLTOResolveWeakForLinkerGUID()
61 GlobalValue::isLinkOnceODRLinkage(OriginalLinkage))); in thinLTOResolveWeakForLinkerGUID()
65 (GlobalValue::isLinkOnceODRLinkage(OriginalLinkage) || in thinLTOResolveWeakForLinkerGUID()
66 GlobalValue::isWeakODRLinkage(OriginalLinkage))) in thinLTOResolveWeakForLinkerGUID()
67 S->setLinkage(GlobalValue::AvailableExternallyLinkage); in thinLTOResolveWeakForLinkerGUID()
81 function_ref<bool(GlobalValue::GUID, const GlobalValueSummary *)> in thinLTOResolveWeakForLinkerInIndex()
83 function_ref<void(StringRef, GlobalValue::GUID, GlobalValue::LinkageTypes)> in thinLTOResolveWeakForLinkerInIndex()
100 GlobalValueSummaryList &GVSummaryList, GlobalValue::GUID GUID, in thinLTOInternalizeAndPromoteGUID()
101 function_ref<bool(StringRef, GlobalValue::GUID)> isExported) { in thinLTOInternalizeAndPromoteGUID()
104 if (GlobalValue::isLocalLinkage(S->linkage())) in thinLTOInternalizeAndPromoteGUID()
105 S->setLinkage(GlobalValue::ExternalLinkage); in thinLTOInternalizeAndPromoteGUID()
106 } else if (!GlobalValue::isLocalLinkage(S->linkage())) in thinLTOInternalizeAndPromoteGUID()
107 S->setLinkage(GlobalValue::InternalLinkage); in thinLTOInternalizeAndPromoteGUID()
115 function_ref<bool(StringRef, GlobalValue::GUID)> isExported) { in thinLTOInternalizeAndPromoteInIndex()