Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/IPO/
DInliner.cpp233 int &TotalSecondaryCost) { in shouldBeDeferred() argument
254 TotalSecondaryCost = 0; in shouldBeDeferred()
286 TotalSecondaryCost += IC2.getCost(); in shouldBeDeferred()
294 TotalSecondaryCost += InlineConstants::LastCallToStaticBonus; in shouldBeDeferred()
296 if (inliningPreventsSomeOuterInline && TotalSecondaryCost < IC.getCost()) in shouldBeDeferred()
334 int TotalSecondaryCost = 0; in shouldInline() local
335 if (shouldBeDeferred(Caller, CS, IC, TotalSecondaryCost)) { in shouldInline()
338 << ", outer Cost = " << TotalSecondaryCost << '\n'); in shouldInline()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DInliner.cpp252 int TotalSecondaryCost = 0; in shouldInline() local
290 TotalSecondaryCost += Cost2; in shouldInline()
298 TotalSecondaryCost += InlineConstants::LastCallToStaticBonus; in shouldInline()
301 TotalSecondaryCost < Cost) { in shouldInline()
304 ", outer Cost = " << TotalSecondaryCost << '\n'); in shouldInline()