Newbie question: Offset for a pseudo.
N V Krishna
nvk@cs.ucla.edu
Mon Jun 27 15:48:00 GMT 2005
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.
More information about the Gcc
mailing list