public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: A FrontEnd in C++?
@ 2002-08-22 13:50 Chris Lattner
  2002-08-23  0:51 ` AST optimizer " Pop Sébastian
  0 siblings, 1 reply; 39+ messages in thread
From: Chris Lattner @ 2002-08-22 13:50 UTC (permalink / raw)
  To: gcc

> Go right ahead.  All you need is a new branch and some free time.  I
> would personally suggest following some of the design and implementation
> ideas from SUIF and/or Sage++.  They are kind of neat.

As long as we are plugging compiler infrastructures, I thought I might
mention my own project LLVM: http://llvm.cs.uiuc.edu/

It's also completely written in C++ (G++ 3.2), uses a GCC->LLVM frontend,
is SSA based, open-source, and has some interesting technology available
in it.  The LLVM instruction set is roughly equivalent to SIMPLE
( http://llvm.cs.uiuc.edu/docs/LangRef.html ).

A few of the nify things LLVM provides are the modular pass system:
http://llvm.cs.uiuc.edu/docs/WritingAnLLVMPass.html
strong infrastructure for interprocedural optimizations, linktime, and
runtime optimizations, etc.  The infrastructure is _very_ fast.

Additionally, because it uses C++ and the STL throughout, writing
transformations is quite simple.  For example, LICM and GCSE are each
just a couple hundred lines of code (which are mostly comments):

http://llvm/doxygen/LICM_8cpp-source.html
http://llvm/doxygen/GCSE_8cpp-source.html

If you have any questions about LLVM or would like to discuss compiler
architecture, I'd be more than happy to participate.

-Chris

^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2002-08-27 13:02 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-22 13:50 A FrontEnd in C++? Chris Lattner
2002-08-23  0:51 ` AST optimizer " Pop Sébastian
2002-08-23 10:25   ` Chris Lattner
2002-08-25  9:48     ` [tree-ssa] " Pop Sébastian
2002-08-25 14:33       ` Chris Lattner
2002-08-25 16:03         ` Diego Novillo
2002-08-27  9:32           ` Chris Lattner
2002-08-26  8:52         ` Pop Sébastian
2002-08-26  9:17           ` Chris Lattner
2002-08-26 21:18           ` Daniel Berlin
2002-08-27  1:17             ` Pop Sébastian
2002-08-27  6:28               ` Diego Novillo
2002-08-27  7:08                 ` Steven Bosscher
2002-08-27  8:37               ` Daniel Berlin
2002-08-27 12:21               ` Per Bothner
2002-08-27 12:32                 ` Gabriel Dos Reis
2002-08-27 12:51                   ` Per Bothner
2002-08-27 13:02                     ` Gabriel Dos Reis
2002-08-27  6:44             ` Discussion about a new development plan? (was: Re: [tree-ssa] ASToptimizer in C++?) Steven Bosscher
2002-08-27  7:09               ` Discussion about a new development plan? (was: Re: [tree-ssa] AST optimizer " Jan Hubicka
2002-08-27  8:29             ` [tree-ssa] AST optimizer in C++? Chris Lattner
2002-08-25 15:35       ` Diego Novillo
2002-08-25 15:45         ` Chris Lattner
2002-08-25 16:08           ` Diego Novillo
2002-08-25 16:19             ` Diego Novillo
2002-08-26  8:39               ` Chris Lattner
2002-08-26 17:43                 ` Daniel Berlin
2002-08-26 18:12                   ` Chris Lattner
2002-08-26  8:35             ` Chris Lattner
2002-08-25 16:12           ` Daniel Berlin
2002-08-26  7:02             ` Pop Sébastian
2002-08-26  8:28               ` Steven Bosscher
2002-08-26  8:52             ` Chris Lattner
2002-08-26 17:40               ` Daniel Berlin
2002-08-26 17:44                 ` Daniel Berlin
2002-08-26 18:11                 ` Chris Lattner
2002-08-26 18:46                   ` Daniel Berlin
2002-08-27  9:26                     ` Chris Lattner
2002-08-27  9:57                       ` Chris Lattner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).