public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Questions about initialization data during LTO
@ 2019-09-11 23:27 Gary Oblock
  2019-09-12 10:12 ` Richard Biener
  2019-09-13 12:19 ` Martin Liška
  0 siblings, 2 replies; 9+ messages in thread
From: Gary Oblock @ 2019-09-11 23:27 UTC (permalink / raw)
  To: GCC Development

I'm trying to do a set of optimizations that drastically transform the
layout of arrays of structures. For obvious reasons they will need to
run at LTO time. I'm running into some difficulties comprehending how
the initialization data is stored. Also, I'm seeing DECL_INITIALs
being set to NULL and that is worrisome since it would throw a monkey
wrench into what I'm doing. That is, because for my optimizations to
work they will need to either disqualify an array with initialization
data or transform said data.

So, is the initialization data being hidden at LTO time?
If not what's its format and how do I best manipulate it?

Any insight into how to deal with these problem would be most helpful.
These are some really interesting optimizations and will greatly speed
up code that uses large arrays of structures.


Thanks,

Gary Oblock

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

end of thread, other threads:[~2019-09-16 22:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-11 23:27 Questions about initialization data during LTO Gary Oblock
2019-09-12 10:12 ` Richard Biener
2019-09-12 19:09   ` [EXT] " Gary Oblock
2019-09-13 12:58     ` Richard Biener
2019-09-13 12:19 ` Martin Liška
2019-09-13 19:01   ` [EXT] " Gary Oblock
2019-09-14 15:39     ` Martin Liška
2019-09-16 18:28       ` Gary Oblock
2019-09-16 22:19         ` Martin Liška

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