public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* CFG,DFG
@ 2009-10-21 23:14 swati raina
  2009-10-22  6:31 ` CFG,DFG Ian Lance Taylor
  0 siblings, 1 reply; 3+ messages in thread
From: swati raina @ 2009-10-21 23:14 UTC (permalink / raw)
  To: gcc

Hi..

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? 
 
Thanks
Swati Raina



      Get your new Email address!
Grab the Email name you've always wanted before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CFG,DFG
  2009-10-21 23:14 CFG,DFG swati raina
@ 2009-10-22  6:31 ` Ian Lance Taylor
  2009-10-22  7:16   ` CFG,DFG Paolo Bonzini
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Lance Taylor @ 2009-10-22  6:31 UTC (permalink / raw)
  To: swati raina; +Cc: gcc

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CFG,DFG
  2009-10-22  6:31 ` CFG,DFG Ian Lance Taylor
@ 2009-10-22  7:16   ` Paolo Bonzini
  0 siblings, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2009-10-22  7:16 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: swati raina, gcc

On 10/22/2009 01:57 AM, Ian Lance Taylor wrote:
> See cfg*.[ch] and df*.[ch].  Note that df*.[ch] only applies to RTL.
> There is no clean way to extract the dependency information.

On trees, the SSA def-use edges could be seen as (well, are) a DFG.

Paolo

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-10-22  6:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-21 23:14 CFG,DFG swati raina
2009-10-22  6:31 ` CFG,DFG Ian Lance Taylor
2009-10-22  7:16   ` CFG,DFG Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).