diff options
author | Chris Lattner <sabre@nondot.org> | 2007-02-01 05:32:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-02-01 05:32:05 +0000 |
commit | 94c002a190cd2e3a52b1510bc997e53d63af0b3b (patch) | |
tree | f7966be2a37b2bfdaf9d7198138f00b46e7f1a3f /lib/CodeGen | |
parent | e3f71b4198cebee9c9f2534c39bd3e19740eee6a (diff) | |
download | external_llvm-94c002a190cd2e3a52b1510bc997e53d63af0b3b.zip external_llvm-94c002a190cd2e3a52b1510bc997e53d63af0b3b.tar.gz external_llvm-94c002a190cd2e3a52b1510bc997e53d63af0b3b.tar.bz2 |
rename DenseMap to IndexedMap.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33749 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/PHIElimination.cpp | 1 | ||||
-rw-r--r-- | lib/CodeGen/RegAllocLocal.cpp | 4 | ||||
-rw-r--r-- | lib/CodeGen/VirtRegMap.h | 6 |
3 files changed, 5 insertions, 6 deletions
diff --git a/lib/CodeGen/PHIElimination.cpp b/lib/CodeGen/PHIElimination.cpp index a5d17c2..6a9f428 100644 --- a/lib/CodeGen/PHIElimination.cpp +++ b/lib/CodeGen/PHIElimination.cpp @@ -21,7 +21,6 @@ #include "llvm/CodeGen/SSARegMap.h" #include "llvm/Target/TargetInstrInfo.h" #include "llvm/Target/TargetMachine.h" -#include "llvm/ADT/DenseMap.h" #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/Statistic.h" #include "llvm/Support/Compiler.h" diff --git a/lib/CodeGen/RegAllocLocal.cpp b/lib/CodeGen/RegAllocLocal.cpp index 644e221..74d76c1 100644 --- a/lib/CodeGen/RegAllocLocal.cpp +++ b/lib/CodeGen/RegAllocLocal.cpp @@ -26,7 +26,7 @@ #include "llvm/Support/CommandLine.h" #include "llvm/Support/Debug.h" #include "llvm/Support/Compiler.h" -#include "llvm/ADT/DenseMap.h" +#include "llvm/ADT/IndexedMap.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/Statistic.h" #include <algorithm> @@ -55,7 +55,7 @@ namespace { // Virt2PhysRegMap - This map contains entries for each virtual register // that is currently available in a physical register. - DenseMap<unsigned, VirtReg2IndexFunctor> Virt2PhysRegMap; + IndexedMap<unsigned, VirtReg2IndexFunctor> Virt2PhysRegMap; unsigned &getVirt2PhysRegMapSlot(unsigned VirtReg) { return Virt2PhysRegMap[VirtReg]; diff --git a/lib/CodeGen/VirtRegMap.h b/lib/CodeGen/VirtRegMap.h index 84cf238..5b06c01 100644 --- a/lib/CodeGen/VirtRegMap.h +++ b/lib/CodeGen/VirtRegMap.h @@ -18,7 +18,7 @@ #define LLVM_CODEGEN_VIRTREGMAP_H #include "llvm/Target/MRegisterInfo.h" -#include "llvm/ADT/DenseMap.h" +#include "llvm/ADT/IndexedMap.h" #include "llvm/Support/Streams.h" #include <map> @@ -41,12 +41,12 @@ namespace llvm { /// it; even spilled virtual registers (the register mapped to a /// spilled register is the temporary used to load it from the /// stack). - DenseMap<unsigned, VirtReg2IndexFunctor> Virt2PhysMap; + IndexedMap<unsigned, VirtReg2IndexFunctor> Virt2PhysMap; /// Virt2StackSlotMap - This is virtual register to stack slot /// mapping. Each spilled virtual register has an entry in it /// which corresponds to the stack slot this register is spilled /// at. - DenseMap<int, VirtReg2IndexFunctor> Virt2StackSlotMap; + IndexedMap<int, VirtReg2IndexFunctor> Virt2StackSlotMap; /// MI2VirtMap - This is MachineInstr to virtual register /// mapping. In the case of memory spill code being folded into /// instructions, we need to know which virtual register was |