[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveVariables.h

Alkis Evlogimenos alkis at cs.uiuc.edu
Sun Jan 11 03:19:01 PST 2004


Changes in directory llvm/include/llvm/CodeGen:

LiveVariables.h updated: 1.10 -> 1.11

---
Log message:

Make LiveVariables::HandlePhysRegUse and
LiveVariables::HandlePhysRegDef private they use information that is
not in memory when LiveVariables finishes the analysis.

Also update the TwoAddressInstructionPass to not use this interface.


---
Diffs of the changes:  (+3 -2)

Index: llvm/include/llvm/CodeGen/LiveVariables.h
diff -u llvm/include/llvm/CodeGen/LiveVariables.h:1.10 llvm/include/llvm/CodeGen/LiveVariables.h:1.11
--- llvm/include/llvm/CodeGen/LiveVariables.h:1.10	Thu Dec 18 07:02:36 2003
+++ llvm/include/llvm/CodeGen/LiveVariables.h	Sun Jan 11 03:18:45 2004
@@ -109,6 +109,9 @@
   MachineInstr **PhysRegInfo;
   bool          *PhysRegUsed;
 
+  void HandlePhysRegUse(unsigned Reg, MachineInstr *MI);
+  void HandlePhysRegDef(unsigned Reg, MachineInstr *MI);
+
 public:
 
   virtual bool runOnMachineFunction(MachineFunction &MF);
@@ -253,8 +256,6 @@
   void MarkVirtRegAliveInBlock(VarInfo &VRInfo, const BasicBlock *BB);
   void HandleVirtRegUse(VarInfo &VRInfo, MachineBasicBlock *MBB,
                        	MachineInstr *MI);
-  void HandlePhysRegUse(unsigned Reg, MachineInstr *MI);
-  void HandlePhysRegDef(unsigned Reg, MachineInstr *MI);
 };
 
 } // End llvm namespace





More information about the llvm-commits mailing list