summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-05 22:09:31 +0000
committerChris Lattner <sabre@nondot.org>2003-08-05 22:09:31 +0000
commit92f5fb598c7bfd776b73cac023c6c69638468670 (patch)
treebbd5bfe8b491de576dc4b2db0092d4f6c7a18b38 /llvm/lib
parente62a2a76e5a181fbf8f636acac2b68e5fb988ea7 (diff)
downloadbcm5719-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.h4
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
OpenPOWER on IntegriCloud