Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp184 auto *GVSummary = SummaryPtr.get(); in selectCallee() local
185 if (!Index.isGlobalValueLive(GVSummary)) { in selectCallee()
203 if (GVSummary->getSummaryKind() == GlobalValueSummary::GlobalVarKind) { in selectCallee()
207 if (GlobalValue::isInterposableLinkage(GVSummary->linkage())) { in selectCallee()
213 auto *Summary = cast<FunctionSummary>(GVSummary->getBaseObject()); in selectCallee()
570 for (auto &GVSummary : DefinedGVSummaries) { in ComputeImportForModule() local
574 auto VI = Index.getValueInfo(GVSummary.first); in ComputeImportForModule()
576 if (!Index.isGlobalValueLive(GVSummary.second)) { in ComputeImportForModule()
581 dyn_cast<FunctionSummary>(GVSummary.second->getBaseObject()); in ComputeImportForModule()