Displaying 2 results from an estimated 2 matches for "singlefunctioninliner".
2009 May 26
3
[LLVMdev] Wondering how best to run inlining on a single function.
...can only be run by the (Module)PassManager and
which will try to inline calls into every function in the module,
including functions we've already optimized. This seems like it will
waste time.
I think that, because we optimize every Python function as we generate
it, it makes sense to write a SingleFunctionInliner (is there a better
name?) that acts as a FunctionPass and add that to our normal
FunctionPassManager. Can you guys see anything that will go wrong if I
do that? Is there a better way, or an option that doesn't involve
writing new code?
Thanks,
Jeffrey
2009 May 27
0
[LLVMdev] Wondering how best to run inlining on a single function.
...e)PassManager and
> which will try to inline calls into every function in the module,
> including functions we've already optimized. This seems like it will
> waste time.
>
> I think that, because we optimize every Python function as we generate
> it, it makes sense to write a SingleFunctionInliner (is there a better
> name?) that acts as a FunctionPass and add that to our normal
> FunctionPassManager. Can you guys see anything that will go wrong if I
> do that? Is there a better way, or an option that doesn't involve
> writing new code?
Hi Jeffrey,
Does this need to be an a...