intermediate representation

han@cs.rochester.edu
Wed, 20 Feb 91 21:23:33 -0500

          From comp.compilers

Related articles
[16 earlier articles]
Re: Intermediate Representation jouvelot@brokaw.lcs.mit.edu (1990-08-13)
Re: Intermediate Representation marti@antares.inf.ethz.ch (1990-08-13)
Re: Intermediate Representation muller@procope.pa.dec.com (Eric Muller) (1990-08-14)
Re: Intermediate Representation pd@complex.Eng.Sun.COM (1990-08-15)
Re: Intermediate Representation staff@cadlab.sublink.org (1990-08-18)
Re: Intermediate Representation ok@goanna.cs.rmit.OZ.AU (1990-08-20)
intermediate representation han@cs.rochester.edu (1991-02-20)
Re: intermediate representation lavinus@csgrad.cs.vt.edu (1991-02-22)
Re: intermediate representation mike@vlsivie.tuwien.ac.at (1991-02-23)
Re: intermediate representation rfg@ncd.com (1991-02-26)
Re: intermediate representation megatest!djones@decwrl.dec.com (1991-02-27)
Re: intermediate representation tarvydas@turing.toronto.edu (1991-03-04)
| List of all articles for this month |
Newsgroups: comp.compilers
From: han@cs.rochester.edu
Keywords: question, optimize, design, analysis
Organization: Compilers Central
Date: Wed, 20 Feb 91 21:23:33 -0500

      I am taking a compiler seminar course that emphasizes the back end
optimization issues. In order to get hands-on experience, I would like to
practice applying various optimization techniques on the intermediate
representation produced by the front end. (I have not decided on the
front end, yet. I might write one or pick up one and modify.) At this
point, I am looking for intermediate representations that I can play with.
So, my first question is: Are there well documented (and, hopefully,
state-of-the-art) definitions of intermediate representations available?
How can I get them? (Does the RTL that GCC uses count as one such IR?)
      Actually, my fellow students and I have taken a look at the RTL dump
produced by GCC. To our surprise, the RTL dump showed strong dependency
on the target machine even at the earliest stage of optimization.
The RTL dump on SPARC looked very different from that on Sun3 workstation.
We had expected that the machine dependency would show up at much later
stage and that we would be able to try optimization with RTL without worrying
about machine dependencies.
So, my second question is: Is it generally expected for an intermediate
representation to be machine dependent? How far toward the end of code
generation phase can machine dependencies be prevented from showing up?
--


Post a followup to this message

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