This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PLUGIN] Support for registering cache tables from plugins
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Uros Bizjak <ubizjak at gmail dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Duncan Sands <baldrick at free dot fr>, Basile STARYNKEVITCH <basile at starynkevitch dot net>
- Date: Sat, 5 Sep 2009 11:57:20 +0200
- Subject: Re: [PLUGIN] Support for registering cache tables from plugins
- References: <4AA21375.6030506@gmail.com>
2009/9/5 Uros Bizjak <ubizjak@gmail.com>:
> Hello!
>
>> ? ?Out of curiosity, what kind of plugin are you writing?
>> It turns gimple into LLVM IR (seehttp://llvm.org/docs/LangRef.html)
>> and runs the LLVM optimizers and codegen rather than those of gcc.
>> It is llvm-gcc rewritten as a plugin. ?Currently it can codegen the
>> empty function :)
>
> Heh, what about the twisted idea to turn gimple into LLVM IR, run LLVM
> optimizers, turn optimized LLVM IR back into gimple and continue with gcc
> optimizers and codegen?
>
> This would be some kind of uber-optimized compiler, no? ;)
Or a clang frontend for GCC. Something even more useful. No idea if the
plugin hooks are already enough to support a frontend plugin.
Richard.