On 2005-03-29, at 05:59, Wei Qin wrote:

Hello GCC developers,

I am avid user of gcc and have 5 cross-gcc's installed on my machine.
Thanks for your great work. Recently I want to do some compiler work
that involves analyzing low level intermediate representation. I
thought about using research compilers such as SUIF or SUIF II but
those lack maintenance and cannot even be built without much hacking.
So I am now considering using gcc. But since I am not familiar with
its source code structure, I am not comfortable to work directly on
it. Instead, I am thinking of dumping the MIPS RTL prior to the first
scheduling pass and then use an RTL parser to read it into another
compiler such as mach-SUIF. But the document says that RTL does not
contain all information of a source program, e.g. global variables. So
I wonder if there is a way for me to get complete low level MIPS IR
that is largely optimized but not register allocated. Or should I give
up this thought? Expert please advise.

I don't feel like an expert. However you may consider looking at the fall-out the the LLVM keyword in google a bit closer. It may very well give you quite what you want. If you are interested generally in compilers TenDRA (www.ten15.org) will fit too.



Reply via email to