[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveVariables.h
Evan Cheng
evan.cheng at apple.com
Sat Mar 17 02:30:16 PDT 2007
Changes in directory llvm/include/llvm/CodeGen:
LiveVariables.h updated: 1.35 -> 1.36
---
Log message:
Track the BB's where each virtual register is used.
---
Diffs of the changes: (+6 -0)
LiveVariables.h | 6 ++++++
1 files changed, 6 insertions(+)
Index: llvm/include/llvm/CodeGen/LiveVariables.h
diff -u llvm/include/llvm/CodeGen/LiveVariables.h:1.35 llvm/include/llvm/CodeGen/LiveVariables.h:1.36
--- llvm/include/llvm/CodeGen/LiveVariables.h:1.35 Mon Feb 19 15:49:53 2007
+++ llvm/include/llvm/CodeGen/LiveVariables.h Sat Mar 17 04:29:54 2007
@@ -79,6 +79,10 @@
///
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 @@
BitVector ReservedRegisters;
private: // Intermediate data structures
+ MachineFunction *MF;
+
const MRegisterInfo *RegInfo;
MachineInstr **PhysRegInfo;
More information about the llvm-commits
mailing list