llvm-6502/include/llvm/ADT
Jakob Stoklund Olesen 42e9c96392 Remove MachineRegisterInfo::getLastVirtReg(), it was giving wrong results
when no virtual registers have been allocated.

It was only used to resize IndexedMaps, so provide an IndexedMap::resize()
method such that

 Map.grow(MRI.getLastVirtReg());

can be replaced with the simpler

 Map.resize(MRI.getNumVirtRegs());

This works correctly when no virtuals are allocated, and it bypasses the to/from
index conversions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@123130 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-09 21:58:20 +00:00
..
APFloat.h
APInt.h PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() and 2010-12-07 08:25:19 +00:00
APSInt.h PR5207: Change APInt methods trunc(), sext(), zext(), sextOrTrunc() and 2010-12-07 08:25:19 +00:00
BitVector.h BitVector tweaks. 2010-11-26 18:25:20 +00:00
DAGDeltaAlgorithm.h
DeltaAlgorithm.h
DenseMap.h Use the new way of silencing this warning. 2010-12-19 20:57:14 +00:00
DenseMapInfo.h Add a specialization for 'long', a hole in the set of fundamental 2010-10-31 22:57:03 +00:00
DenseSet.h
DepthFirstIterator.h
EquivalenceClasses.h Merge System into Support. 2010-11-29 18:16:10 +00:00
FoldingSet.h Merge System into Support. 2010-11-29 18:16:10 +00:00
GraphTraits.h
ilist_node.h
ilist.h Add missing standard headers. Patch by Joerg Sonnenberger! 2010-12-19 20:43:38 +00:00
ImmutableIntervalMap.h Tweak ImmutableMap/ImmutableSet/ImmutableList APIs 2010-11-24 00:54:28 +00:00
ImmutableList.h Merge System into Support. 2010-11-29 18:16:10 +00:00
ImmutableMap.h Performance optimization on ImmutableMap/ImmutableSet: 2010-11-30 20:26:45 +00:00
ImmutableSet.h Performance optimization on ImmutableMap/ImmutableSet: 2010-11-30 20:26:45 +00:00
IndexedMap.h Remove MachineRegisterInfo::getLastVirtReg(), it was giving wrong results 2011-01-09 21:58:20 +00:00
InMemoryStruct.h ADT/InMemoryStruct: Add an experimental helper class intended for use in 2010-11-27 08:11:02 +00:00
IntEqClasses.h Use IntEqClasses to compute connected components of live intervals. 2010-12-21 00:48:17 +00:00
IntervalMap.h Add more checks to IntervalMapOverlaps::advance() to ensure that advanceTo sees 2010-12-17 22:07:54 +00:00
IntrusiveRefCntPtr.h
NullablePtr.h
Optional.h
OwningPtr.h
PointerIntPair.h
PointerUnion.h
PostOrderIterator.h
PriorityQueue.h
SCCIterator.h
ScopedHashTable.h add a handy typedef. 2011-01-03 03:16:20 +00:00
SetOperations.h
SetVector.h
SmallBitVector.h
SmallPtrSet.h Add missing standard headers. Patch by Joerg Sonnenberger! 2010-12-19 20:43:38 +00:00
SmallSet.h
SmallString.h Support/Path: Deprecate PathV1::isAbsolute. 2010-12-17 21:21:31 +00:00
SmallVector.h Add missing standard headers. Patch by Joerg Sonnenberger! 2010-12-19 20:43:38 +00:00
SparseBitVector.h Merge System into Support. 2010-11-29 18:16:10 +00:00
Statistic.h Merge System into Support. 2010-11-29 18:16:10 +00:00
STLExtras.h
StringExtras.h Merge System into Support. 2010-11-29 18:16:10 +00:00
StringMap.h Enhance ScopedHashTable to allow it to take an allocator argument. 2011-01-03 01:29:37 +00:00
StringRef.h Support/ADT/StringRef: Add find_last_of. 2010-11-30 23:27:35 +00:00
StringSet.h
StringSwitch.h
Trie.h
Triple.h Remove PIC16 remnants. 2010-11-27 18:20:30 +00:00
Twine.h Support/ADT/Twine: Add toNullTerminatedStringRef. 2010-12-01 20:37:30 +00:00
UniqueVector.h
ValueMap.h Merge System into Support. 2010-11-29 18:16:10 +00:00
VectorExtras.h