public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: lrtaylor@micron.com
To: <ian@wasabisystems.com>, <rgulati@cadence.com>
Cc: <gcc-help@gcc.gnu.org>
Subject: RE: Using the GCC IR
Date: Mon, 09 Feb 2004 19:29:00 -0000	[thread overview]
Message-ID: <363801FFD7B74240A329CEC3F7FE4CC4015F3921@ntxboimbx07.micron.com> (raw)

"GPL side-stepping"?  What do you mean?

Lyle

-----Original Message-----
From: gcc-help-owner@gcc.gnu.org [mailto:gcc-help-owner@gcc.gnu.org] On
Behalf Of Ian Lance Taylor
Sent: Friday, February 06, 2004 10:19 PM
To: Rohit Gulati
Cc: gcc-help@gcc.gnu.org
Subject: Re: Using the GCC IR

"Rohit Gulati" <rgulati@cadence.com> writes:

> Can I get access to the IR generated by GCC. I know how to dump the
> IR to file. Is there a way to access the IR in memory (walk the IR).

Well, sure.  gcc code does it all the time.  Look at the source, and
read the internals manual.

There is no way to have gcc write out the internal representation,
modify it yourself, and then invoke the backend on the result.  gcc
does not read in the internal representation.  This is intentional,
due to concerns about GPL side-stepping.

Ian

             reply	other threads:[~2004-02-09 19:29 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-09 19:29 lrtaylor [this message]
2004-02-09 19:33 ` Ian Lance Taylor
  -- strict thread matches above, loose matches on Subject: below --
2004-02-09 19:42 lrtaylor
2004-02-07  3:28 Rohit Gulati
2004-02-07  5:19 ` Ian Lance Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=363801FFD7B74240A329CEC3F7FE4CC4015F3921@ntxboimbx07.micron.com \
    --to=lrtaylor@micron.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=ian@wasabisystems.com \
    --cc=rgulati@cadence.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).