This is the mail archive of the gcc@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: CFG,DFG


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


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