llvm-6502/include/llvm/ADT
Chris Lattner 7e763ebd98 Use the RHS length instead of the LHS length. They are both the same,
but this ends up compiling code like this:

int foo(const StringRef &R) {
  return R == "food";
}

to use a constant sized memcmp instead of a variable memcmp.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77160 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-26 17:46:03 +00:00
..
APFloat.h Dcoument that the opauque value used to construct QNaNs is truncated 2009-06-01 21:02:35 +00:00
APInt.h Reapply 74494, this time removing the conflicting definition of operator<< 2009-06-30 20:10:56 +00:00
APSInt.h
BitVector.h Use CHAR_BIT instead of hard-coding 8 in several places where it 2009-04-01 18:45:54 +00:00
DenseMap.h Add freed memory poisoning in !NDEBUG mode for DenseMap. 2009-07-21 18:01:37 +00:00
DenseSet.h Add range insert method for DenseSet and define DenseMapInfo for chars. 2009-04-01 19:50:49 +00:00
DepthFirstIterator.h enhance DepthFirstIterator to support more robust operations in the face 2009-07-23 06:30:28 +00:00
EquivalenceClasses.h
FoldingSet.h Add an optional optimization to FoldingSet to allow ID values to be 2009-07-13 18:25:44 +00:00
GraphTraits.h
HashExtras.h Fixed spelling. 2009-04-01 21:33:08 +00:00
ilist_node.h Revert r67844. This fixes the llvm-gcc-4.2 build on Darwin. 2009-03-27 18:37:13 +00:00
ilist.h fix build on VC++2k8. 2009-06-02 20:32:59 +00:00
ImmutableList.h
ImmutableMap.h
ImmutableSet.h Remove redundant qualifiers. 2009-07-19 01:42:34 +00:00
IndexedMap.h
IntrusiveRefCntPtr.h
iterator.cmake
iterator.h.in
OwningPtr.h
PointerIntPair.h I cast, therefore I think I know what I'm doing. 2009-04-26 20:12:38 +00:00
PointerUnion.h Fix three MSVC 2008 warnings that completely clutter the build output. 2009-06-29 17:12:06 +00:00
PostOrderIterator.h fix a bug in post-order iterators with external storage, patch by 2009-07-07 18:43:48 +00:00
PriorityQueue.h
SCCIterator.h
ScopedHashTable.h
SetOperations.h
SetVector.h
SmallPtrSet.h Make SmallPtrSet iterators real iterators 2009-07-08 23:53:54 +00:00
SmallSet.h Restore minor deletion. 2009-05-04 18:40:41 +00:00
SmallString.h Fix a fixme, patch by Ryan Flynn! 2009-07-15 00:36:04 +00:00
SmallVector.h Tighten up the asserts in SmallVector::operator[](). 2009-05-21 19:48:58 +00:00
SparseBitVector.h Add a missing ilist_node.h #include to SparseBitVector, and add a very short 2009-07-25 00:33:57 +00:00
Statistic.h Fix the build on Cygwin. Patch by Aaron Gray. 2009-06-30 05:33:46 +00:00
STLExtras.h
StringExtras.h
StringMap.h Convert StringMap to using StringRef for its APIs. 2009-07-23 18:17:34 +00:00
StringRef.h Use the RHS length instead of the LHS length. They are both the same, 2009-07-26 17:46:03 +00:00
StringSet.h
Trie.h Update for DOTGraphTraits changes. 2009-06-24 20:41:17 +00:00
Triple.h Oops, forgot XCore. Sorry XCore! 2009-07-26 04:52:45 +00:00
Twine.h Fix constructor types 2009-07-24 07:12:20 +00:00
UniqueVector.h
VectorExtras.h