Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DFunctionImport.cpp171 auto *GVSummary = SummaryPtr.get(); in selectCallee() local
172 if (GlobalValue::isInterposableLinkage(GVSummary->linkage())) in selectCallee()
175 if (auto *AS = dyn_cast<AliasSummary>(GVSummary)) { in selectCallee()
176 GVSummary = &AS->getAliasee(); in selectCallee()
182 if (!GlobalValue::isLinkOnceODRLinkage(GVSummary->linkage())) in selectCallee()
186 auto *Summary = cast<FunctionSummary>(GVSummary); in selectCallee()
346 for (auto &GVSummary : DefinedGVSummaries) { in ComputeImportForModule() local
347 auto *Summary = GVSummary.second; in ComputeImportForModule()
354 DEBUG(dbgs() << "Initalize import for " << GVSummary.first << "\n"); in ComputeImportForModule()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DFunctionImport.cpp170 auto *GVSummary = SummaryPtr.get(); in selectCallee() local
171 if (!Index.isGlobalValueLive(GVSummary)) in selectCallee()
187 if (GVSummary->getSummaryKind() == GlobalValueSummary::GlobalVarKind) in selectCallee()
189 if (GlobalValue::isInterposableLinkage(GVSummary->linkage())) in selectCallee()
193 auto *Summary = cast<FunctionSummary>(GVSummary->getBaseObject()); in selectCallee()
432 for (auto &GVSummary : DefinedGVSummaries) { in ComputeImportForModule() local
436 auto VI = Index.getValueInfo(GVSummary.first); in ComputeImportForModule()
438 if (!Index.isGlobalValueLive(GVSummary.second)) { in ComputeImportForModule()
443 dyn_cast<FunctionSummary>(GVSummary.second->getBaseObject()); in ComputeImportForModule()