EricFisher 发表于 2010-04-28 09:18

Modular GCC

http://gcc.gnu.org/wiki/ModularGCC

Instead of having a single monolithic binary, I propose separating the major components in libbackend.a into several libraries.

These libraries would live in separate sub-directories under gcc/.

* gcc/

    * c/ - The C front end.
    * driver/ - The gcc driver.
    * generic/ - Tree files.
    * gimple/ - Gimple generation, analysis and optimization.
    * ipa/ - Callgraph manager and IPA analysis/optimization.
    * rtl/ - RTL code generation and optimization.
    * diagnostic/ - Generic diagnostic routines.
    * cfg/ - Control Flow Graph routines.
    * openmp/ - OpenMP implementation.

I propose to modularize the gcc/ directory using the different Intermediate Languages (IL) as the main separators.

I believe that all the intermediate languages in GCC should have a streaming representation.

给我的感觉,有点像Open64了。

prolj 发表于 2010-04-28 10:08

还少一个lno
而且gimple要Tuples,而不是那种占用内存多的Tree Node

albcamus 发表于 2010-04-28 10:37

真佩服你们研究gcc的人!
页: [1]
查看完整版本: Modular GCC