diff options
| author | Chris Lattner <sabre@nondot.org> | 2003-08-05 22:09:31 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2003-08-05 22:09:31 +0000 | 
| commit | 92f5fb598c7bfd776b73cac023c6c69638468670 (patch) | |
| tree | bbd5bfe8b491de576dc4b2db0092d4f6c7a18b38 /llvm/lib | |
| parent | e62a2a76e5a181fbf8f636acac2b68e5fb988ea7 (diff) | |
| download | bcm5719-llvm-92f5fb598c7bfd776b73cac023c6c69638468670.tar.gz bcm5719-llvm-92f5fb598c7bfd776b73cac023c6c69638468670.zip | |
Add a map
llvm-svn: 7620
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h index d58feb60607..e30cc8f9cc9 100644 --- a/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h +++ b/llvm/lib/CodeGen/RegAlloc/PhyRegAlloc.h @@ -69,6 +69,10 @@ class PhyRegAlloc {    // 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  | 

