Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp213 auto *GVSummary = SummaryPtr.get(); in qualifyCalleeCandidates() local
214 if (!Index.isGlobalValueLive(GVSummary)) in qualifyCalleeCandidates()
215 return {FunctionImporter::ImportFailureReason::NotLive, GVSummary}; in qualifyCalleeCandidates()
217 if (GlobalValue::isInterposableLinkage(GVSummary->linkage())) in qualifyCalleeCandidates()
219 GVSummary}; in qualifyCalleeCandidates()
221 auto *Summary = dyn_cast<FunctionSummary>(GVSummary->getBaseObject()); in qualifyCalleeCandidates()
229 return {FunctionImporter::ImportFailureReason::GlobalVar, GVSummary}; in qualifyCalleeCandidates()
246 GVSummary}; in qualifyCalleeCandidates()
252 GVSummary}; in qualifyCalleeCandidates()
254 return {FunctionImporter::ImportFailureReason::None, GVSummary}; in qualifyCalleeCandidates()
[all …]
H A DMemProfContextDisambiguation.cpp3587 auto *GVSummary = in applyImport() local
3589 if (!GVSummary) { in applyImport()
3599 GVSummary = GVS.get(); in applyImport()
3603 assert(GVSummary && GVSummary->modulePath() == SrcModule); in applyImport()
3608 if (isa<AliasSummary>(GVSummary)) in applyImport()
3611 auto *FS = cast<FunctionSummary>(GVSummary->getBaseObject()); in applyImport()