|generic intermediate optimization library firstname.lastname@example.org.EDU.AU (Peter Rickwood) (2001-09-20)|
|Re: generic intermediate optimization library email@example.com (2001-09-21)|
|Re: generic intermediate optimization library firstname.lastname@example.org (2001-09-21)|
|Re: generic intermediate optimization library email@example.com (Tzvetan Mikov) (2001-09-25)|
|Re: generic intermediate optimization library firstname.lastname@example.org (Tim Dwyer) (2001-09-26)|
|Date:||21 Sep 2001 23:41:09 -0400|
|Posted-Date:||21 Sep 2001 23:41:09 EDT|
Peter Rickwood <email@example.com.EDU.AU> wrote in message news:01-09-088...
> Is anyone aware of any existing libraries/API's which do optimization
> on a well-defined, documented, retargetable intermediate language?
> So, for example, a library that allows you to pass in (say) the root
> node of an expression tree, and performs specified optimizations on
> that tree, outputting an optimized syntax tree in the same
> intermediate language...
> I realize that open-source compilers of course have optimizing code,
> but I'm wondering how modular this code is (ie. how easily it can be
> stripped out and used in isolation)....
Yep gcc, you can hack the libs. I did it once, don't know how it
evolved but there was no real documentation.
Give a try to C--, it's a kind of general purpose optimizing assembly
. There is an equivalent system build in the ML comunity,don't remeber
Give a try also to system like trafola...
But those work on a kind of assembly language (or three adress code).
There a research projects on building compiling environements. Try a
look at smart-tools it's still not in a state where it can be used for
anything usefull, but it has a good basis. And there are some
researchs close to be released, about tree optimizations systems.
Return to the
Search the comp.compilers archives again.