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 | c393c57afc971f88f2ad4618a921c359c0c57969 (patch) | |
tree | e5fa3a10740a66e98dcb51d0666a22979ee08132 /lib/CodeGen | |
parent | 6ae3117582a12ecb92b8c38c13a0b3bf267139b8 (diff) |
Add a map
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7620 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/RegAlloc/PhyRegAlloc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.h b/lib/CodeGen/RegAlloc/PhyRegAlloc.h index d58feb6060..e30cc8f9cc 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.h +++ b/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 |