Replaces uses of unsigned for indexes in LiveInterval and VNInfo with
authorLang Hames <lhames@gmail.com>
Fri, 4 Sep 2009 20:41:11 +0000 (20:41 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 4 Sep 2009 20:41:11 +0000 (20:41 +0000)
commit8651125d2885f74546b6e2a556082111d5b75da3
tree4d6c1e4cb918fb86cc7f2acc370171b110123cf6
parent5684229a4583355a6b20a950614731c1a6d38f88
Replaces uses of unsigned for indexes in LiveInterval and VNInfo with
a new class, MachineInstrIndex, which hides arithmetic details from
most clients. This is a step towards allowing the register allocator
to update/insert code during allocation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81040 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/CodeGen/LiveInterval.h
include/llvm/CodeGen/LiveIntervalAnalysis.h
lib/CodeGen/LiveInterval.cpp
lib/CodeGen/LiveIntervalAnalysis.cpp
lib/CodeGen/PreAllocSplitting.cpp
lib/CodeGen/RegAllocLinearScan.cpp
lib/CodeGen/RegAllocPBQP.cpp
lib/CodeGen/SimpleRegisterCoalescing.cpp
lib/CodeGen/SimpleRegisterCoalescing.h
lib/CodeGen/Spiller.cpp
lib/CodeGen/StrongPHIElimination.cpp
lib/CodeGen/VirtRegMap.h