Hi, Ian
I will try my best to explain what I want. :-)
Assume I want basic block register usage information, and
I further assume that native machine has a register set
{R0, R1, R2, R3}. The source code might be compiled into
two basic blocks. What I want is something like,
BB1 (0x100 - 0x120)
In 0100
Out 0010
BB2 (0x121 - 0x130)
In 1010
Out 0001
Here I use a bitmask with 1-bit for every physical register
on the native machine. Every basic block has its live-ins/outs
information with it. And I also want to assosicated each basic
block with its corresponding binary (virtual) address.
Thanks.
Regards,
chenwj
--
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667