public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Intermodule constant propagation
@ 2003-11-24  9:41 Mircea Namolaru
  2003-11-24 10:10 ` Andrew Pinski
  0 siblings, 1 reply; 14+ messages in thread
From: Mircea Namolaru @ 2003-11-24  9:41 UTC (permalink / raw)
  To: gcc





We would like to add several interprocedural optimizations to gcc, starting
with constant propagation.

We are thinking of implementing a flow insensitive form of the
interprocedural
constant propagation algorithm described in [1][2], based on the new
intermodule code (http://gcc.gnu.org/ml/gcc-patches/2003-05/msg01665.html).

We would appreciate any feedback regarding gcc interprocedural
optimizations
(work done or in development, potential problems etc).

[1]Callahan, D., Cooper, K.D., Kennedy, K., and Torczon, L. Interprocedural
constant propagation. ACM SIGPLAN Notices 1986, pp. 152-161.
[2]Grove, D.,and Torczon,L,Interprocedural Constant Propagation: A Study of
Jump Function Implementations. PLDI 1993, pp. 90-99.

Mircea

^ permalink raw reply	[flat|nested] 14+ messages in thread
* Re: Intermodule constant propagation
@ 2003-12-08 15:23 Mircea Namolaru
  2003-12-08 16:31 ` Diego Novillo
  0 siblings, 1 reply; 14+ messages in thread
From: Mircea Namolaru @ 2003-12-08 15:23 UTC (permalink / raw)
  To: Andrew Pinski; +Cc: gcc, Jan Hubicka, apinski





Good. So I understand that whole-program analysis and optimizations
can be developed in gcc based on -fwhole-program. My plans are to
implement interprocedural (whole program) constant propagation using
a context insensitive approach. I want to apply this to the stage
where the call-graph is available, prior to (and possibly guiding)
inlining; right now (gcc3.4) it seems best to work at the generic
tree level (where the call-graph is available), but maybe it's better
to work on gimple in tree-ssa branch?

Mircea

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

end of thread, other threads:[~2003-12-08 15:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-24  9:41 Intermodule constant propagation Mircea Namolaru
2003-11-24 10:10 ` Andrew Pinski
2003-11-24 19:43   ` Jan Hubicka
2003-11-24 20:24     ` Dan Nicolaescu
2003-11-24 20:46       ` Andrew Pinski
2003-11-24 22:39         ` Geoff Keating
2003-11-25  0:44           ` Andrew Pinski
2003-11-25  9:41             ` Andrew Pinski
2003-11-25 13:27             ` Jan Hubicka
2003-11-25 23:04             ` Geoff Keating
2003-11-26  6:03               ` Andrew Pinski
2003-11-26 21:06                 ` Geoff Keating
2003-12-08 15:23 Mircea Namolaru
2003-12-08 16:31 ` Diego Novillo

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).