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

Vikram Adve vadve at cs.uiuc.edu
Sat May 31 02:43:01 PDT 2003


Changes in directory llvm/include/llvm/CodeGen:

PhyRegAlloc.h updated: 1.41 -> 1.42

---
Log message:

Minor changes.


---
Diffs of the changes:

Index: llvm/include/llvm/CodeGen/PhyRegAlloc.h
diff -u llvm/include/llvm/CodeGen/PhyRegAlloc.h:1.41 llvm/include/llvm/CodeGen/PhyRegAlloc.h:1.42
--- llvm/include/llvm/CodeGen/PhyRegAlloc.h:1.41	Wed Jan 15 13:56:21 2003
+++ llvm/include/llvm/CodeGen/PhyRegAlloc.h	Sat May 31 02:41:54 2003
@@ -61,6 +61,10 @@
   const TargetRegInfo &MRI;             // Machine Register information
   const unsigned NumOfRegClasses;       // recorded here for efficiency
 
+  // Map to indicate whether operands of each MachineInstr have been updated
+  // according to their assigned colors.  This is primarily for debugging and
+  // could be removed in the long run.
+  std::map<const MachineInstr *, bool> OperandsColoredMap;
   
   // AddedInstrMap - Used to store instrns added in this phase
   std::map<const MachineInstr *, AddedInstrns> AddedInstrMap;
@@ -116,6 +120,7 @@
   void colorIncomingArgs();
   void colorCallRetArgs();
   void updateMachineCode();
+  void updateInstruction(MachineInstr* MInst, BasicBlock* BB);
 
   void printLabel(const Value *const Val);
   void printMachineCode();





More information about the llvm-commits mailing list