Track the BB's where each virtual register is used.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35135 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Evan Cheng
2007-03-17 09:29:54 +00:00
parent ba1a3df608
commit c6a2410d58
2 changed files with 28 additions and 15 deletions

View File

@@ -79,6 +79,10 @@ public:
///
BitVector AliveBlocks;
/// UsedBlocks - Set of blocks of which this value is actually used. This
/// is a bit set which uses the basic block number as an index.
BitVector UsedBlocks;
/// Kills - List of MachineInstruction's which are the last use of this
/// virtual register (kill it) in their basic block.
///
@@ -116,6 +120,8 @@ private:
BitVector ReservedRegisters;
private: // Intermediate data structures
MachineFunction *MF;
const MRegisterInfo *RegInfo;
MachineInstr **PhysRegInfo;