Re: What is a restructuring compiler?

hzmonte@hotmail.com (hzmonte)
25 Oct 2004 10:19:40 -0400

          From comp.compilers

Related articles
What is a restructuring compiler? hzmonte@hotmail.com (2004-10-21)
Re: What is a restructuring compiler? nmm1@cus.cam.ac.uk (2004-10-23)
Re: What is a restructuring compiler? hzmonte@hotmail.com (2004-10-25)
Re: What is a restructuring compiler? nmm1@cus.cam.ac.uk (2004-10-30)
Re: What is a restructuring compiler? silviusr@yahoo.com (Silvius Rus) (2004-10-30)
Re: What is a restructuring compiler? pohjalai@cc.helsinki.fi (A Pietu Pohjalainen) (2004-10-30)
Re: What is a restructuring compiler? news1@oregonw.com (M Wolfe) (2004-11-29)
| List of all articles for this month |

From: hzmonte@hotmail.com (hzmonte)
Newsgroups: comp.compilers
Date: 25 Oct 2004 10:19:40 -0400
Organization: http://groups.google.com
References: 04-10-143 04-10-164
Keywords: optimize, comment
Posted-Date: 25 Oct 2004 10:19:40 EDT

> Once a compiler has parsed and analysed its code, it can do many
> things to it. It can turn as much of it into vector operations as
> possible; it can separate out independent threads; it can rearrange
> the code to obfuscate its history; it can optimise it for a register
> machine; and so on. All of those operations are restructuring, and
> differ solely in their purpose.


I assume this restructuring is for optimization; so, a restructuring
compiler is one kind of an optimizing compiler? If that's the case,
why would there exist a restructuring compiler by itself? I mean, an
optimizing compiler would not limit its optimization techniques to
restructuring alone; that is, there would not be a compiler that does
restructuring alone.
[Actually, there are. They rewrite programs to make them more amenable
to other kinds of optimization. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.