This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: hacking gcc (new optimization)


Hey

If your trying to get more comfortable with GCC's IR's you may want to:

-fdump-tree-all, but mostly all you will want to look at its your
-fdump-tree-gimple, any code you see within using the 'tree' type.
That is GENERIC code, but this is then further lowered to GIMPLE, in
turn to some other post optimized gimple forms and then into some RTL
forms but my backend gcc knowledge isnt as strong as it should be.
-fdump-translation-unit is helpful but you have to know what your
looking for rather since this is more close to what your coding from
what your actually trying to represent which you will see in gimple is
the way i have it in my head i guess. But at the end of the day they
are DAG forms of representing data.

--Phil


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]