This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How, i can work with read-rtl.c
- From: Ian Lance Taylor <iant at google dot com>
- To: Klaus Friedrich <klaus-fried at gmx dot net>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 28 Nov 2006 07:20:44 -0800
- Subject: Re: How, i can work with read-rtl.c
- References: <456C043A.4000707@gmx.net>
Klaus Friedrich <klaus-fried@gmx.net> writes:
> my name is Klaus Friedrich. For my diploma thesis, i will work with
> the gcc4.1 internals. I would like to extract information about the RTL
> language. So i try to use for exapmle GET_CODE(x) and PUT_CODE(x,
> newcode) funtions. For this purpose i will read a RTX from a
> external ASCII file, like ....00.expand.
>
> Please tell me, how i can use read_rty(), print_rtx() functions, to
> get a RTX object!
In general, you can't. There is no interface for this.
You will have to write one yourself.
Ian