search for: gratian

Displaying 8 results from an estimated 8 matches for "gratian".

2011 Feb 20
2
[LLVMdev] Question about Value Range Propagation
...ing something? It's possible that these do something different/have different usage scenarios?. If they are the same, I think it would be better to remove it from the open project list, so other people don't start thinking about how to do it, only to see later that it's already done :) Gratian -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110220/c435f660/attachment.html>
2011 Feb 21
0
[LLVMdev] Question about Value Range Propagation
Hi, Gratian, I did that Summer of Code. I used a different algorithm than Patterson's. It is a constraint system by Su and Wagner, which is more modern, and has some advantages over older works. In particular, it is non-iterative. I found it very hard to compare it with Patterson's analysis, becaus...
2010 Dec 28
0
[LLVMdev] Missed optimization opportunity
On Dec 28, 2010, at 9:39 AM, Lup Gratian wrote: > I recently downloaded LLVM 2.8 and started playing with the optimizations a bit. > I saw something curious while trying the following function: > > int g(unsigned int a) { > unsigned int c[100]; > c[10] = a; > c[11] = a; > unsigned int b = c[10] + c[11]; >...
2010 Dec 29
1
[LLVMdev] Missed optimization opportunity
On Dec 28, 2010, at 12:48 PM, Chris Lattner wrote: > On Dec 28, 2010, at 9:39 AM, Lup Gratian wrote: >> I find it strange that it hasn't found that %add and %mul have the same value, %cmp would be then false, selecting and returning 15. If 'a' is replaced by a constant it works. > > You're right, that is a missed optimization. I added it to the missed optimizat...
2011 Mar 23
0
[LLVMdev] GSOC Project Proposal: Profile-guided optimizations
Hi! My name is Gratian and I would like to participate to GSOC 2011. I'm interested in profile-guided optimizations, and I want to implement two optimizations that can bring tangible benefits for most applications: profile-guided function inlining and basic block positioning. Inlining can be greatly improved if we ta...
2010 Dec 28
2
[LLVMdev] Missed optimization opportunity
I recently downloaded LLVM 2.8 and started playing with the optimizations a bit. I saw something curious while trying the following function: int g(unsigned int a) { unsigned int c[100]; c[10] = a; c[11] = a; unsigned int b = c[10] + c[11]; if(b > a*2) a = 4; else a = 8; return a + 7; } The generated code, with -O3 activated, is define i32 @g(i32 a) nounwind readnone { %add = shl i32
2011 Mar 11
0
[LLVMdev] Call profiling and function placement in object file
...y these numbers. The assigned number would be the ID of the cluster in which the function is found. If this is not possible the only idea left would be to place the functions in different sections, but that would interfere with directives written by the user in the source files. Thanks in advance, Gratian PS: It's probably clear that I want to implement a function placement optimization like the one described by Pettis & Hansen. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110311/8510c646/attachmen...
2011 Mar 30
0
[LLVMdev] GSoC: Profile-guided inlining and block positioning
1. Summary I will implement two optimizations in the LLVM compiler, both based on runtime profile information: an inlining mechanism that takes the call frequency into consideration, and a better basic block placement algorithm. 2. The project LLVM now includes an efficient framework [1] for instrumenting an application and collecting edge and path profile information. Profile-guided