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 | 1003dc72b419592946c1b74b4cb26bceeeecdea9 (patch) | |
| tree | 25c47bf3c047a971d84f6380acd7f8de69f82834 /llvm/lib | |
| parent | dcdfa788b134e9ece98d16909f68d363c1d5727f (diff) | |
| download | bcm5719-llvm-1003dc72b419592946c1b74b4cb26bceeeecdea9.tar.gz bcm5719-llvm-1003dc72b419592946c1b74b4cb26bceeeecdea9.zip | |
rename DenseMap to IndexedMap.
llvm-svn: 33749
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/PHIElimination.cpp | 1 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/RegAllocLocal.cpp | 4 | ||||
| -rw-r--r-- | llvm/lib/CodeGen/VirtRegMap.h | 6 |
3 files changed, 5 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/PHIElimination.cpp b/llvm/lib/CodeGen/PHIElimination.cpp index a5d17c2e4b0..6a9f4282080 100644 --- a/llvm/lib/CodeGen/PHIElimination.cpp +++ b/llvm/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/llvm/lib/CodeGen/RegAllocLocal.cpp b/llvm/lib/CodeGen/RegAllocLocal.cpp index 644e221212a..74d76c14fc4 100644 --- a/llvm/lib/CodeGen/RegAllocLocal.cpp +++ b/llvm/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/llvm/lib/CodeGen/VirtRegMap.h b/llvm/lib/CodeGen/VirtRegMap.h index 84cf2380350..5b06c01bfdf 100644 --- a/llvm/lib/CodeGen/VirtRegMap.h +++ b/llvm/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 |

