Displaying 20 results from an estimated 600 matches similar to: "[LLVMdev] Sparse propagation framework"
2009 May 28
0
[LLVMdev] Sparse propagation framework
On Wed, May 27, 2009 at 5:26 PM, Mark Lacey <superoptimizer at gmail.com> wrote:
> Hi All,
>
Hi Mark,
> I'm relatively new to LLVM (but not optimizing compilers), and have been
> reading docs and browsing code.
>
Bienvenue!
> I noticed in the 2.4 release notes that a sparse propagation framework had
> been added based on the SCCP algorithm. I might have a need for
2009 May 28
1
[LLVMdev] Sparse propagation framework
On Wed, May 27, 2009 at 7:11 PM, Bill Wendling <isanbard at gmail.com> wrote:
> On Wed, May 27, 2009 at 5:26 PM, Mark Lacey <superoptimizer at gmail.com>
> wrote:
> > I noticed in the 2.4 release notes that a sparse propagation framework
> had
> > been added based on the SCCP algorithm. I might have a need for exactly
> this
> > kind of framework in order
2009 May 28
1
[LLVMdev] Sparse propagation framework
On Wed, May 27, 2009 at 7:11 PM, Bill Wendling <isanbard at gmail.com> wrote:
>> I noticed in the 2.4 release notes that a sparse propagation framework had
>> been added based on the SCCP algorithm. I might have a need for exactly this
>> kind of framework in order to prototype an analysis I have in mind.
>>
>> I also noticed, however, that this doesn't
2011 Apr 06
7
[LLVMdev] GSoC 2011: Superoptimization for LLVM IR
Hello,
I want to present my project for GSoC 2011 for LLVM below. It would be very
nice to hear suggestions and your opinion, thanks!
Superoptimization for LLVM IR
Objective
This project focuses on implementing superoptimization algorithms targeted
at
the LLVM IR. The project uses arbitrary LLVM bitcode as a training set to
discover new peephole optimizations that can be later integrated into
2015 Jul 22
8
[LLVMdev] some superoptimizer results
We (the folks working on Souper) would appreciate any feedback on these
IR-level superoptimizer results:
http://blog.regehr.org/extra_files/souper-jul-15.html
My impression is that while there's clearly plenty of material in here
that doesn't want to get implemented in an opt pass, there are a number
of gems hiding in there that are worth implementing.
Blog post containing
2009 Dec 14
1
[LLVMdev] project idea: llvm superoptimizer
Here's an idea for a research project that I thought I'd put out there
since probably nobody in my group will have time to follow up on it.
It would be interesting to take ideas from this superoptimizer for x86:
http://theory.stanford.edu/~aiken/publications/papers/asplos06.pdf
http://theory.stanford.edu/~sbansal/superoptimizer.html
and adapt them to run on LLVM code.
It would
2012 May 26
3
[LLVMdev] Work in your project
Hi guys,
In next three years I'm going to get the scientific degree in System
programming.
That's why I'm looking for the interesting and actual theme not like a new
bicycle with square rings.
My degree work in university was connected with value range propagation
(VRP) functionality in clang static analyzer based on AST.
I founded it rather interesting and want to follow this
2011 Mar 23
2
[LLVMdev] [GSoC] Interface layer for optimizers
Hi folks,
I like open technologies, epecially LLVM compiler. I want to implement a new
interface layer in LLVM to plug-in optimizers as a part of GSoC, and then
load the interface with optimizers.
This would improve LLVM application for people who want to use their
optimizations in compilers.
The first "educative" step is to add Doxygen (for .h files) to the build and
integrate it
2015 Jul 22
2
[LLVMdev] some superoptimizer results
One thing that is important to consider is where in the pipeline these kinds of optimizations fit. We normally try to put the IR into a canonical simplified form in the mid-level optimizer. This form is supposed to be whatever is most useful for exposing other optimizations, and for lowering, but only in a generic sense. We do have some optimizations near the end of our pipeline (vectorization,
2011 Apr 07
0
[LLVMdev] GSoC 2011: Superoptimization for LLVM IR
A bit of feedback on this proposal:
It worries me that you talk about "extending the number of
transformations." The point of a superoptimizer is that it has no
specific model of transformations. Rather, it is simply looking for cheap
code fragments that are equivalent to expensive ones.
You have not specified how you will perform equivalence checking between
code sequences. The
2012 Jun 20
0
[LLVMdev] Work in your project
Hi Guys,
I checked the open projects on LLVM site, and superoptimizer theme
seems to be quite interesting for me. So im going to write the LLVM
superoptimizer (http://theory.stanford.edu/~aiken/publications/papers/asplos06.pdf)
:) Is this theme still actual? Could you please advise me some usefull
articles?
--
Best regards,
Sergey
2012/5/26 Serg Anohovsky <serg.anohovsky at gmail.com>:
>
2015 Jul 22
3
[LLVMdev] some superoptimizer results
On 07/22/2015 01:28 PM, Sean Silva wrote:
>
>
> On Wed, Jul 22, 2015 at 12:54 PM, Hal Finkel <hfinkel at anl.gov
> <mailto:hfinkel at anl.gov>> wrote:
>
> One thing that is important to consider is where in the pipeline
> these kinds of optimizations fit. We normally try to put the IR
> into a canonical simplified form in the mid-level optimizer.
2011 Apr 07
2
[LLVMdev] GSoC 2011: Superoptimization for LLVM IR
Hello all, thanks for the feedback!
It sounds like you are planning to follow the approach of Joshi, Nelson and
> Randall ("Denali: A Goal-directed Superoptimizer") in that you don't intend
> to exhaustively enumerate all possible code sequences, and see if they are
> the same as the original only better; but instead start from the original
> code
> sequence and
2011 Mar 23
1
[LLVMdev] [GSoC] Interface layer for optimizers
On 3/23/2011 6:07 AM, Крылов Владислав wrote:
> Hi folks,
>
> I like open technologies, epecially LLVM compiler. I want to implement
> a new interface layer in LLVM to plug-in optimizers as a part of GSoC,
> and then load the interface with optimizers.
LLVM already has a plug-in framework for loading new analysis and
optimization passes
2015 Jul 24
0
[LLVMdev] some superoptimizer results
> example (x+y)-x -> y. Here the right-hand side "y" is a particularly simple
> subexpression of the original :)
Yeah. We have not found a lot of this kind of thing-- it looks like you
and others scooped up a lot of the low-hanging fruit!
John
2009 Jun 02
3
[LLVMdev] Is there a control dependence graph builder?
Hi,
In browsing through the LLVM source, I don't currently see an implementation
for a control dependence graph builder. Am I overlooking something?
It doesn't look like LLVM currently provides a way to build the
post-dominance frontier of the reverse CFG, either. Dominators.h mentions
forward dominators, but I believe all this is referring to is dominators as
opposed to post-dominators,
2015 Jul 24
2
[LLVMdev] some superoptimizer results
Hi,
On 23/07/15 19:11, Philip Reames wrote:
>
>
> On 07/23/2015 07:24 AM, John Regehr wrote:
>>> I guess another way to select interesting transformations could be to look
>>> for sequences where the
>>> result uses a "subset" of the input instruction sequence.
>>
>> Yeah, I had been noticing those subsets too. It sounds like it's
2011 Apr 08
0
[LLVMdev] GSoC 2011: Superoptimization for LLVM IR
IMO super optimizer would yield less benefits on LLVM compared to
other compilers.
If you check the patch of the instcombine pass, you'll find out people
keep dragging "correct" optimization out, not because the optimization
violates the semantic of LLVM IR, but it will generate wrong code
sequences when lowering to machine code.
An example:
%3 = fcmp %1, %2
%6 = fcmp %4, %5
%7 =
2015 Jul 23
0
[LLVMdev] some superoptimizer results
On 07/23/2015 07:24 AM, John Regehr wrote:
>> I guess another way to select interesting transformations could be to
>> look for sequences where the
>> result uses a "subset" of the input instruction sequence.
>
> Yeah, I had been noticing those subsets too. It sounds like it's
> worth a try doing a run that looks only for those.
>
> One nice thing
2015 Jul 23
3
[LLVMdev] some superoptimizer results
> I guess another way to select interesting transformations could be to look for sequences where the
> result uses a "subset" of the input instruction sequence.
Yeah, I had been noticing those subsets too. It sounds like it's worth a
try doing a run that looks only for those.
One nice thing is that if we're just looking for subsets, we will not even
give the