Displaying 5 results from an estimated 5 matches for "neverinline".
2006 Mar 07
1
[LLVMdev] Selectively Disable Inlining for Functions
...so that there is a well-known
entry-point to the function. If the function isn't inlined, but
arguments are deleted, this capability breaks.
As a specific proposal to provide "never inline" in a way that is
low-impact on LLVM and solves #3, I suggest that we add a new
llvm.neverinline global array variable (like the llvm.used global). This
global would point to all neverinline functions, and would have appending
linkage (like llvm.used).
With this design, these functions would be assumed to be used externally
(because a global with external visibility points to them) so no...
2010 Jan 09
0
[LLVMdev] Inlining
Hi Alastair,
> Forgive my confusion, but I can't help notice that LangRef states:
>
> Globals with "linkonce" linkage are merged with other globals of the same name when linkage occurs. This is typically used to implement inline functions, templates, or other code which must be generated in each translation unit that uses it. Unreferenced linkonce globals are allowed to be
2006 Mar 14
0
[LLVMdev] Selectively Disable Inlining for Functions
...is on purpose. But you can use both __attribute__((noinline)) and
> __attribute__((used)) for disabling IPO.
Fair enough.
>> As a specific proposal to provide "never inline" in a way that is
>> low-impact on LLVM and solves #3, I suggest that we add a new
>> llvm.neverinline global array variable (like the llvm.used global). This
>> global would point to all neverinline functions, and would have appending
>> linkage (like llvm.used).
>
> This is an implementation issue, but I wonder if we should use too many of
> those "magic" arrays...
2010 Jan 09
3
[LLVMdev] Inlining
Hi Duncan-
Forgive my confusion, but I can't help notice that LangRef states:
Globals with "linkonce" linkage are merged with other globals of the same name when linkage occurs. This is typically used to implement inline functions, templates, or other code which must be generated in each translation unit that uses it. Unreferenced linkonce globals are allowed to be discarded.
Why
2010 Jun 08
1
[LLVMdev] the PartialSpecialization pass (was Re: Is there a "callback optimization"?)
Good evening, Kenneth.
Thank you to apply (and rewrite my naive code better)
and to file the issue to http://llvm.org/bugs/show_bug.cgi?id=7304
I have checked r105528 at this morning.
I think the pass must be still cleaned up and rewritten.
There are my two proposals for enhancement.
1) To separate Specialization(and rewriting callsites) to other module.
It would be better if new module were