Displaying 2 results from an estimated 2 matches for "inlineddf".
Did you mean:
inlineddi
2015 Jul 31
0
[LLVMdev] RFC: Callee speedup estimation in inline cost analysis
Just nitpicking:
1) DI(F) should include a component that estimate the epi/prologue cost
(frameSetupCost) which InlinedDF does not have
2) The speedup should include callsite cost associated with 'C' (call
instr, argument passing):
Speedup(F,C) = (DI(F) + CallCost(C) - InlinedDF(F,C))/DI(F).
Otherwise the proposal looks reasonable to me.
David
On Thu, Jul 30, 2015 at 2:25 PM, Easwaran Raman <eraman...
2015 Jul 30
4
[LLVMdev] RFC: Callee speedup estimation in inline cost analysis
TLDR - The proposal below is intended to allow inlining of larger callees
when such inlining is expected to reduce the dynamic instructions count.
Proposal
-------------
LLVM inlines a function if the size growth (in the given context) is less
than a threshold. The threshold is increased based on certain
characteristics of the called function (inline keyword and the fraction of
vector