llvm-6502/lib/Support
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
..
Allocator.cpp Fold the useful features of alist and alist_node into ilist, and 2008-07-28 21:51:04 +00:00
Annotation.cpp
APFloat.cpp Rework the routines that convert AP[S]Int into a string. Now, instead of 2008-08-17 07:19:36 +00:00
APInt.cpp Rework the routines that convert AP[S]Int into a string. Now, instead of 2008-08-17 07:19:36 +00:00
APSInt.cpp
CommandLine.cpp
ConstantRange.cpp Rework the routines that convert AP[S]Int into a string. Now, instead of 2008-08-17 07:19:36 +00:00
Debug.cpp
Dwarf.cpp
FileUtilities.cpp
FoldingSet.cpp Avoid repeatedly reallocating the FoldingSetNodeID when searching 2008-08-12 17:40:22 +00:00
GraphWriter.cpp
IsInf.cpp
IsNAN.cpp
Makefile
ManagedStatic.cpp
MemoryBuffer.cpp
PluginLoader.cpp
raw_ostream.cpp add support for a cout/cerr analog (outs()/errs()) as well as 2008-08-17 04:13:37 +00:00
SlowOperationInformer.cpp
SmallPtrSet.cpp Fix several const-correctness issues, resolving some -Wcast-qual warnings. 2008-08-05 14:45:15 +00:00
Statistic.cpp
Streams.cpp
StringExtras.cpp
StringMap.cpp
StringPool.cpp
SystemUtils.cpp
Timer.cpp