llvm-6502/include/llvm/ADT
Chris Lattner fad86b003a Rework the routines that convert AP[S]Int into a string. Now, instead of
returning an std::string by value, it fills in a SmallString/SmallVector
passed in.  This significantly reduces string thrashing in some cases.

More specifically, this:
 - Adds an operator<< and a print method for APInt that allows you to 
   directly send them to an ostream.
 - Reimplements APInt::toString to be much simpler and more efficient
   algorithmically in addition to not thrashing strings quite as much.

This speeds up llvm-dis on kc++ by 7%, and may also slightly speed up the
asmprinter.  This also fixes a bug I introduced into the asmwriter in a
previous patch w.r.t. alias printing.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54873 91177308-0d34-0410-b5e6-96231b3b80d8
2008-08-17 07:19:36 +00:00
..
APFloat.h
APInt.h Rework the routines that convert AP[S]Int into a string. Now, instead of 2008-08-17 07:19:36 +00:00
APSInt.h Rework the routines that convert AP[S]Int into a string. Now, instead of 2008-08-17 07:19:36 +00:00
BitVector.h
DenseMap.h Make DenseMap's insert return a pair, to more closely resemble std::map. 2008-07-07 17:46:23 +00:00
DenseSet.h Make DenseMap's insert return a pair, to more closely resemble std::map. 2008-07-07 17:46:23 +00:00
DepthFirstIterator.h
EquivalenceClasses.h
FoldingSet.h Remove an unnecessary reinterpret_cast. 2008-07-07 18:07:36 +00:00
GraphTraits.h
hash_map.h.in
hash_set.h.in
HashExtras.h
ilist_node.h Fold the useful features of alist and alist_node into ilist, and 2008-07-28 21:51:04 +00:00
ilist.h Removed unused parameters. 2008-08-01 05:50:13 +00:00
ImmutableList.h Minor tweaks to the ImmutableList iterator interface. 2008-07-11 22:43:07 +00:00
ImmutableMap.h Removed redundant ctor. 2008-08-14 21:17:07 +00:00
ImmutableSet.h
IndexedMap.h
IntrusiveRefCntPtr.h
iterator
iterator.h.in
OwningPtr.h
PostOrderIterator.h
PriorityQueue.h
SCCIterator.h
ScopedHashTable.h
SetOperations.h
SetVector.h
SmallPtrSet.h
SmallSet.h
SmallString.h
SmallVector.h Add a value_type typedef to SmallVector, to make it more compatible with STL adapters. 2008-08-15 18:45:51 +00:00
SparseBitVector.h Fold the useful features of alist and alist_node into ilist, and 2008-07-28 21:51:04 +00:00
Statistic.h
STLExtras.h Don't use std::advance just to increment or decrement by one. 2008-07-07 18:39:33 +00:00
StringExtras.h
StringMap.h optimize StringMap::clear 2008-07-02 05:30:45 +00:00
StringSet.h
Tree.h
Trie.h
UniqueVector.h
VectorExtras.h