This is the mail archive of the gcc@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]

Newbie question: Offset for a pseudo.


Hello All,
I have two questions. I am trying to implement some new register
allocator scheme and at this moment I am trying to spill some of the
pseudos. I am facing two questions:

- For globals how to find the offset of the pseudo from the beginning
variable section? For example for constants in constant pool we can
get_pool_offset() would do that.

- Is there a corresponding function for pseudos present for locals?

Any help in this regards would be greatly appreciated. Thanks in Advance.

Warm regards,
N V Krishna.


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