This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How, i can work with read-rtl.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]