[llvm-commits] CVS: llvm/include/llvm/CodeGen/PhyRegAlloc.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Aug 5 17:10:02 PDT 2003
Changes in directory llvm/include/llvm/CodeGen:
PhyRegAlloc.h updated: 1.45 -> 1.46
---
Log message:
Add a map
---
Diffs of the changes:
Index: llvm/include/llvm/CodeGen/PhyRegAlloc.h
diff -u llvm/include/llvm/CodeGen/PhyRegAlloc.h:1.45 llvm/include/llvm/CodeGen/PhyRegAlloc.h:1.46
--- llvm/include/llvm/CodeGen/PhyRegAlloc.h:1.45 Tue Aug 5 17:03:27 2003
+++ llvm/include/llvm/CodeGen/PhyRegAlloc.h Tue Aug 5 17:09:31 2003
@@ -69,6 +69,10 @@
// AddedInstrMap - Used to store instrns added in this phase
std::map<const MachineInstr *, AddedInstrns> AddedInstrMap;
+ // ScratchRegsUsed - Contains scratch register uses for a particular MI.
+ typedef std::multimap<const MachineInstr*, int> ScratchRegsUsedTy;
+ ScratchRegsUsedTy ScratchRegsUsed;
+
AddedInstrns AddedInstrAtEntry; // to store instrns added at entry
LoopInfo *LoopDepthCalc; // to calculate loop depths
More information about the llvm-commits
mailing list