Home
last modified time | relevance | path

Searched refs:ResolvedCalleeSummary (Results 1 – 2 of 2) 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DFunctionImport.cpp324 const FunctionSummary *ResolvedCalleeSummary = nullptr; in computeImportForFunction() local
339 ResolvedCalleeSummary = cast<FunctionSummary>(CalleeSummary); in computeImportForFunction()
364 ResolvedCalleeSummary = cast<FunctionSummary>(CalleeSummary); in computeImportForFunction()
366 assert(ResolvedCalleeSummary->instCount() <= NewThreshold && in computeImportForFunction()
369 auto ExportModulePath = ResolvedCalleeSummary->modulePath(); in computeImportForFunction()
386 for (auto &Edge : ResolvedCalleeSummary->calls()) { in computeImportForFunction()
390 for (auto &Ref : ResolvedCalleeSummary->refs()) { in computeImportForFunction()
414 Worklist.emplace_back(ResolvedCalleeSummary, AdjThreshold, VI.getGUID()); in computeImportForFunction()