search for: applyfunctionattribut

Displaying 3 results from an estimated 3 matches for "applyfunctionattribut".

2015 May 28
1
[LLVMdev] Capabilities of Clang's PGO (e.g. improving code density)
...ns. Indirectly, PGO does affect the >> inliner. (We'll remove this once the inliner does the right thing on >> its own.) > > OT: Can you give me a pointer to the clang code involved? I wasn't aware of > this. It is set in clang/lib/CodeGen/CodeGenPGO.cpp CodeGenPGO::applyFunctionAttributes. Note that it uses the function entry count to determine hotness. This means that functions entered infrequently but containing very hot loops would be marked cold, perhaps this works since it is only used for inlining and is presumably a stand-in for call edge hotness. The MaxFunctionCount for...
2015 May 28
0
[LLVMdev] Capabilities of Clang's PGO (e.g. improving code density)
On 05/27/2015 11:13 AM, Duncan P. N. Exon Smith wrote: >> On 2015 May 27, at 07:42, Diego Novillo <dnovillo at google.com> wrote: >> >> On Tue, May 26, 2015 at 11:47 PM, Lee Hunt <leehu at exchange.microsoft.com> wrote: >> >>> For example, from reading different pages on how Clang PGO, it’s unclear if >>> it does “block reordering” (i.e. moving
2015 May 27
3
[LLVMdev] Capabilities of Clang's PGO (e.g. improving code density)
> On 2015 May 27, at 07:42, Diego Novillo <dnovillo at google.com> wrote: > > On Tue, May 26, 2015 at 11:47 PM, Lee Hunt <leehu at exchange.microsoft.com> wrote: > >> For example, from reading different pages on how Clang PGO, it’s unclear if >> it does “block reordering” (i.e. moving unexecuted code blocks to a distant >> code page, leaving only ‘hot’