This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Newbie question: Offset for a pseudo.
- From: N V Krishna <nvk at cs dot ucla dot edu>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 27 Jun 2005 08:48:33 -0700 (PDT)
- Subject: 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.