public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* reading the gcc-IR in back-end
@ 2002-10-13  7:39 Avinash K. Shrivastava
  2002-10-13 13:45 ` Pop Sébastian
  2002-10-16 11:42 ` Jim Wilson
  0 siblings, 2 replies; 5+ messages in thread
From: Avinash K. Shrivastava @ 2002-10-13  7:39 UTC (permalink / raw)
  To: gcc


kindly entertain the queries,


[1] how the GCC back-end reads the front-end-IR for processing.

[2] Do we need to modify it [back-end] to read the IR from a file instead
    of from the memory.


thanks,
Sincerely,
-Avinash



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

* Re: reading the gcc-IR in back-end
  2002-10-13  7:39 reading the gcc-IR in back-end Avinash K. Shrivastava
@ 2002-10-13 13:45 ` Pop Sébastian
  2002-10-16 11:42 ` Jim Wilson
  1 sibling, 0 replies; 5+ messages in thread
From: Pop Sébastian @ 2002-10-13 13:45 UTC (permalink / raw)
  To: Avinash K. Shrivastava; +Cc: gcc

On Sun, Oct 13, 2002 at 02:38:07PM +0530, Avinash K. Shrivastava wrote:
> 
> kindly entertain the queries,
> 
> 
> [1] how the GCC back-end reads the front-end-IR for processing.
> 
GCC trees are converted to RTL via the expand_* functions (in gcc/expr.c).

> [2] Do we need to modify it [back-end] to read the IR from a file instead
>     of from the memory.
> 
If you store the tree format in a file, then you have to read it back into
memory before doing anything else :-).

If you build a valid GCC tree, then you don't have to modify the back-end.


Sebastian.

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

* Re: reading the gcc-IR in back-end
  2002-10-13  7:39 reading the gcc-IR in back-end Avinash K. Shrivastava
  2002-10-13 13:45 ` Pop Sébastian
@ 2002-10-16 11:42 ` Jim Wilson
  1 sibling, 0 replies; 5+ messages in thread
From: Jim Wilson @ 2002-10-16 11:42 UTC (permalink / raw)
  To: Avinash K. Shrivastava; +Cc: gcc

>[2] Do we need to modify it [back-end] to read the IR from a file instead
>    of from the memory.

If you do that, we won't be able to accept the patch into gcc.

Jim

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

* reading the gcc-IR in back-end
  2002-10-13  7:06 Avinash K. Shrivastava
@ 2002-10-13 11:19 ` Avinash K. Shrivastava
  0 siblings, 0 replies; 5+ messages in thread
From: Avinash K. Shrivastava @ 2002-10-13 11:19 UTC (permalink / raw)
  To: GCC, gcc, gcc


kindly entertain the queries,


[1] how the GCC back-end reads the front-end-IR for processing.

[2] Do we need to modify it [back-end] to read the IR from a file instead
    of from the memory.


thanks,
Sincerely,
-Avinash


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

* reading the gcc-IR in back-end
@ 2002-10-13  7:06 Avinash K. Shrivastava
  2002-10-13 11:19 ` Avinash K. Shrivastava
  0 siblings, 1 reply; 5+ messages in thread
From: Avinash K. Shrivastava @ 2002-10-13  7:06 UTC (permalink / raw)
  To: GCC, gcc, gcc


kindly entertain the queries,


[1] how the GCC back-end reads the front-end-IR for processing.

[2] Do we need to modify it [back-end] to read the IR from a file instead
    of from the memory.


thanks,
Sincerely,
-Avinash


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

end of thread, other threads:[~2002-10-16 17:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-13  7:39 reading the gcc-IR in back-end Avinash K. Shrivastava
2002-10-13 13:45 ` Pop Sébastian
2002-10-16 11:42 ` Jim Wilson
  -- strict thread matches above, loose matches on Subject: below --
2002-10-13  7:06 Avinash K. Shrivastava
2002-10-13 11:19 ` Avinash K. Shrivastava

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