1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/include/llvm/ADT
Chris Lattner fe3155fc62 Switch the asmprinter (.ll) and all the stuff it requires over to
use raw_ostream instead of std::ostream.  Among other goodness,
this speeds up llvm-dis of kc++ with a release build from 0.85s
to 0.49s (88% faster).

Other interesting changes:
 1) This makes Value::print be non-virtual.
 2) AP[S]Int and ConstantRange can no longer print to ostream directly, 
    use raw_ostream instead.
 3) This fixes a bug in raw_os_ostream where it didn't flush itself 
    when destroyed.
 4) This adds a new SDNode::print method, instead of only allowing "dump".


A lot of APIs have both std::ostream and raw_ostream versions, it would
be useful to go through and systematically anihilate the std::ostream 
versions.

This passes dejagnu, but there may be minor fallout, plz let me know if
so and I'll fix it.

llvm-svn: 55263
2008-08-23 22:23:09 +00:00
..
APFloat.h add convenience 'constructors' 2008-06-30 18:02:44 +00:00
APInt.h Switch the asmprinter (.ll) and all the stuff it requires over to 2008-08-23 22:23:09 +00:00
APSInt.h Switch the asmprinter (.ll) and all the stuff it requires over to 2008-08-23 22:23:09 +00:00
BitVector.h Prune and tidy #includes. 2008-05-29 19:52:31 +00:00
DenseMap.h consolidate DenseMapInfo implementations, and add one for std::pair. 2008-08-22 05:08:25 +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 For PR1338: rename include/llvm/ADT/ilist and friends to end with ".h" 2008-05-29 17:41:17 +00:00
EquivalenceClasses.h For PR1338: rename include/llvm/ADT/ilist and friends to end with ".h" 2008-05-29 17:41:17 +00:00
FoldingSet.h Add a clear() method to FoldingSet. 2008-08-23 00:42:16 +00:00
GraphTraits.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
hash_map.h.in Update guards 2008-05-29 18:17:53 +00:00
hash_set.h.in Update guards 2008-05-29 18:17:53 +00:00
HashExtras.h For PR1338: rename include/llvm/ADT/ilist and friends to end with ".h" 2008-05-29 17:41:17 +00:00
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 Unbreak build for VC2008. Patch by Argiris Kirtzidis! 2008-02-22 10:11:21 +00:00
IndexedMap.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
IntrusiveRefCntPtr.h improvements for IntrusiveRefCntPtr, patch by Mikhail Glushenkov 2008-04-11 16:42:06 +00:00
iterator Remove guard, so *each* inclusion will result in a warning 2008-05-29 21:57:11 +00:00
iterator.h.in Update guards 2008-05-29 18:17:53 +00:00
OwningPtr.h Add missing include (for ptrdiff_t). 2008-02-25 23:35:32 +00:00
PostOrderIterator.h For PR1338: rename include/llvm/ADT/ilist and friends to end with ".h" 2008-05-29 17:41:17 +00:00
PriorityQueue.h Add a clear() method to PriorityQueue. 2008-06-23 23:47:46 +00:00
SCCIterator.h For PR1338: rename include/llvm/ADT/ilist and friends to end with ".h" 2008-05-29 17:41:17 +00:00
ScopedHashTable.h Add a simple, but efficient, generic scoped hash table 2008-06-09 00:42:10 +00:00
SetOperations.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
SetVector.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
SmallPtrSet.h Fix more -Wshorten-64-to-32 warnings. 2008-05-05 18:30:58 +00:00
SmallSet.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
SmallString.h Bring in uint32_t, uint64_t, and int64_t types for MSVC. 2008-04-17 13:56:31 +00:00
SmallVector.h Fix SmallVector's size calculation so that a size of 0 is 2008-08-22 16:07:55 +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 Use an explicit llvm:: prefix in the STATISTIC macro, so STATISTIC can still be 2008-05-27 12:41:24 +00:00
STLExtras.h Don't use std::advance just to increment or decrement by one. 2008-07-07 18:39:33 +00:00
StringExtras.h Make the interface of CStrInCStrNoCase be the same as strcasestr. 2008-05-07 20:04:18 +00:00
StringMap.h optimize StringMap::clear 2008-07-02 05:30:45 +00:00
StringSet.h Add thin layer over StringMap to form StringSet. By Mikhail Glushenkov. 2008-05-13 15:03:16 +00:00
Tree.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00
Trie.h No need for typedefs with enums in C++. 2008-03-13 01:07:53 +00:00
UniqueVector.h Fix more -Wshorten-64-to-32 warnings. 2008-05-05 18:30:58 +00:00
VectorExtras.h Don't attribute in file headers anymore. See llvmdev for the 2007-12-29 19:59:42 +00:00