This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: CFG,DFG
- From: Ian Lance Taylor <iant at google dot com>
- To: swati raina <razdanswati at yahoo dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 21 Oct 2009 16:57:37 -0700
- Subject: Re: CFG,DFG
- References: <896212.96703.qm@web35703.mail.mud.yahoo.com>
swati raina <razdanswati@yahoo.com> writes:
> The compiler stores the information about dependencies among various
> instruction in control flow graphs and data flow graph. What kind of
> graphs are these? and can this dependency information be extracted
> from gcc?
See cfg*.[ch] and df*.[ch]. Note that df*.[ch] only applies to RTL.
There is no clean way to extract the dependency information. Your
best approach would be to write a plugin to dump the information in
some useful format.
Ian