Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DFunctionImport.cpp286 const FunctionSummary *ResolvedCalleeSummary; in computeImportForFunction() local
288 ResolvedCalleeSummary = cast<FunctionSummary>( in computeImportForFunction()
291 GlobalValue::isLinkOnceODRLinkage(ResolvedCalleeSummary->linkage()) && in computeImportForFunction()
294 ResolvedCalleeSummary = cast<FunctionSummary>(CalleeSummary); in computeImportForFunction()
296 assert(ResolvedCalleeSummary->instCount() <= Threshold && in computeImportForFunction()
299 auto ExportModulePath = ResolvedCalleeSummary->modulePath(); in computeImportForFunction()
318 for (auto &Edge : ResolvedCalleeSummary->calls()) { in computeImportForFunction()
322 for (auto &Ref : ResolvedCalleeSummary->refs()) { in computeImportForFunction()
329 Worklist.push_back(std::make_pair(ResolvedCalleeSummary, Threshold)); in computeImportForFunction()