CFG,DFG

Ian Lance Taylor iant@google.com
Thu Oct 22 06:31:00 GMT 2009


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



More information about the Gcc mailing list