History log of /external/llvm/include/llvm/ADT/StringMap.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cddc3e03e4ec99c0268c03a126195173e519ed58 04-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master LLVM for rebase to r256229

http://b/26987366

(cherry picked from commit f3ef5332fa3f4d5ec72c178a2b19dac363a19383)

Change-Id: Ic75dcb63191d65df1b69724576392c0aaeb47728
/external/llvm/include/llvm/ADT/StringMap.h
ebe69fe11e48d322045d5949c83283927a0d790b 23-Mar-2015 Stephen Hines <srhines@google.com> Update aosp/master LLVM for rebase to r230699.

Change-Id: I2b5be30509658cb8266be782de0ab24f9099f9b9
/external/llvm/include/llvm/ADT/StringMap.h
37ed9c199ca639565f6ce88105f9e39e898d82d0 01-Dec-2014 Stephen Hines <srhines@google.com> Update aosp/master LLVM for rebase to r222494.

Change-Id: Ic787f5e0124df789bd26f3f24680f45e678eef2d
/external/llvm/include/llvm/ADT/StringMap.h
c6a4f5e819217e1e12c458aed8e7b122e23a3a58 21-Jul-2014 Stephen Hines <srhines@google.com> Update LLVM for rebase to r212749.

Includes a cherry-pick of:
r212948 - fixes a small issue with atomic calls

Change-Id: Ib97bd980b59f18142a69506400911a6009d9df18
/external/llvm/include/llvm/ADT/StringMap.h
dce4a407a24b04eebc6a376f8e62b41aaa7b071f 29-May-2014 Stephen Hines <srhines@google.com> Update LLVM for 3.5 rebase (r209712).

Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/include/llvm/ADT/StringMap.h
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/include/llvm/ADT/StringMap.h
03abfc7114ce60ef69c4335c16eb264957340fad 26-May-2013 Chris Lattner <sabre@nondot.org> Disable the StringMapEntry copy constructor, to make sure we
reject things like: "for (auto Entry : SomeStringMap)". Previously
this would copy the value but not the tail allocated string data
(the key).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182713 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
9e8dbe0d2de41d9f993d07f438f5f967fdfd9974 22-May-2013 Reid Kleckner <reid@kleckner.net> Remove unneeded call to a base default ctor

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182503 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
039c56fb57d30b8d0b418a970f7f075694c34169 22-May-2013 Reid Kleckner <reid@kleckner.net> Fix StringMapIterator compile errors for non-MSVC compilers.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182493 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
284ffa3863bc58f18a3eb879e49e05fdbe792413 22-May-2013 Reid Kleckner <reid@kleckner.net> [Support] Add StringMap::swap() and a default ctor for iterators

This makes StringMap<> more compatible with std::map<std::string, ...>.

Differential Revision: http://llvm-reviews.chandlerc.com/D842

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182487 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
633e24dc043c32ddfcfcf6181fe976e218dcb57a 21-Feb-2013 Pedro Artigas <partigas@apple.com> Clear the whole table including the tombstones, since the tombstone count will
be set to zero that is what it was intended. Should improve performance of
the data structure when clear is invoked frequently (both compile time and
memory usage).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175799 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
47f39340211f537cf79610832194c1884d420d62 15-Jan-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [ADT/StringMap] Follow-up to r172455, use the correct constructor for setting the InitialSize,
previously it was calling the "StringMapImpl(unsigned itemSize)" constructor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172500 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
3735573343614644ead7a8bae674c312db8b1eb1 14-Jan-2013 Argyrios Kyrtzidis <akyrtzi@gmail.com> [ADT/StringMap] Add a constructor in StringMap that accepts both an
initial size and an allocator.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172455 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
745bf82ebac69b390911d5af0b1664fa7ff6410e 18-Dec-2012 Eli Bendersky <eliben@google.com> Cleanup comment and formatting


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170398 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
164dfb094df947db2117c182ae033ea85c6c42a1 14-Apr-2012 Benjamin Kramer <benny.kra@googlemail.com> Make StringMap's copy ctor non-explicit.

Without this gcc doesn't allow us to put a StringMap into a
std::map. Works with clang though.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154737 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
e55bbfe145cf8dcb9594865f0242321d2be681d6 23-Jan-2012 Chris Lattner <sabre@nondot.org> Various public StringMap methods take or return "MapEntryTy", make it public.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148732 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
85c07ce0481daa8f462943f621efdb7f21f6d3ef 04-Jan-2012 Benjamin Kramer <benny.kra@googlemail.com> StringMap.find never points to an empty bucket or tombstone, skip the check.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147546 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
c894b02ae037b5fdb38e42535539d5a0e49d6c41 27-Dec-2011 Benjamin Kramer <benny.kra@googlemail.com> Switch StringMap from an array of structures to a structure of arrays.

- -25% memory usage of the main table on x86_64 (was wasted in struct padding).
- no significant performance change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
d7c027322ebccd9666c3f46d9a5236ba76fda434 14-Jul-2011 Chris Lattner <sabre@nondot.org> The key of a StringMap can contain nul's in it, so having first() return
const char* doesn't make sense. Have it return StringRef instead.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135167 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
e275c1c9b5a4c930360f0bdb8cb41a8c66febb2b 21-Jun-2011 Jay Foad <jay.foad@gmail.com> Remove deprecated forms of StringMap::GetOrCreateValue().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133517 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
39ff10a293012fe6f2db682c5518e1be2c50ca67 21-Jun-2011 Chris Lattner <sabre@nondot.org> use the MapEntryTy typedef instead of writing it out long form,
add some fixme's about methods that should be removed.

Merged from type-system-rewrite.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133504 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
ddcdcc88631c6bd4ad43d9198b98bc9a829be036 23-Apr-2011 Jay Foad <jay.foad@gmail.com> Remove unused STL header includes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130068 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
03ef44991768b803ed5b210877ce0d83bf16fd93 30-Mar-2011 Jakob Stoklund Olesen <stoklund@2pi.dk> Reset StringMap's NumTombstones on clears and rehashes.

StringMap was not properly updating NumTombstones after a clear or rehash.

This was not fatal until now because the table was growing faster than
NumTombstones could, but with the previous change of preventing infinite
growth of the table the invariant (NumItems + NumTombstones <= NumBuckets)
stopped being observed, causing infinite loops in certain situations.

Patch by José Fonseca!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128567 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
aea4fe2862ce17acc6ce943df589ee8d5eb05adf 30-Mar-2011 Jakob Stoklund Olesen <stoklund@2pi.dk> Prevent infinite growth of SmallMap instances.

Rehash but don't grow when full of tombstones.

Patch by José Fonseca!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128565 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
61a10a0dc91863b70002cc412a1277357d6a4b45 03-Jan-2011 Chris Lattner <sabre@nondot.org> Enhance ScopedHashTable to allow it to take an allocator argument.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122721 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
1c3f050309592e034972dc77a2eb4025680ff293 20-Nov-2010 Frits van Bommel <fvbommel@gmail.com> Test commit: Fix two -Asserts mode warnings in StringMap.h.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119907 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
16c3b647eb100fe404ee65f106d563ddef6c74b7 30-Oct-2010 Chris Lattner <sabre@nondot.org> Rename alignof -> alignOf to avoid irritating C++'0x compilers,
PR8423, patch by nobled.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117774 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
6d31c0b79a06483d7a80209bba34226ccf9088bb 21-Sep-2010 Mikhail Glushenkov <foldr@codedgers.com> Trailing whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114432 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
061d21eaf8fcdb19b85db0755c208acbba7c8ef4 04-Sep-2010 Chris Lattner <sabre@nondot.org> fix this to work with allocators that have reference type with compilers
that diagnose invalid references to references.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113078 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
a23650bc0161716aadba97e2e5f92eac7c11d80b 23-Jul-2010 Chris Lattner <sabre@nondot.org> give StringMap a new ctor which allows you to initialize it
with an existing allocator. The interesting use case of this
is that it allows "StringMap<whatever, BumpPtrAllocator&>" for
when you want to allocate out of a preexisting bump pointer
allocator owned by someone else.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109213 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
8ee076961219c9066b651ff686c450d92e81c27a 24-Mar-2010 Chris Lattner <sabre@nondot.org> Add a method to get a StringMapEntry from a pointer to the string
data it contains (similar to GetStringMapEntryFromValue).
Patch by Greg Clayton!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99371 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
2928c83b010f7cfdb0f819199d806f6942a7d995 06-Nov-2009 Daniel Dunbar <daniel@zuster.org> Pass StringRef by value.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86251 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
6316fbcb04af00fe76b6526fab09f51484014b3e 23-Jul-2009 Daniel Dunbar <daniel@zuster.org> Convert StringMap to using StringRef for its APIs.
- Yay for '-'s and simplifications!

- I kept StringMap::GetOrCreateValue for compatibility purposes, this can
eventually go away. Likewise the StringMapEntry Create functions still follow
the old style.

- NIFC.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76888 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
e3e51c0038bd6ba2add82e2246e97edec0ab2204 21-May-2009 Jay Foad <jay.foad@gmail.com> Use v.data() instead of &v[0] when SmallVector v might be empty.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72210 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
e889d837a4d226280525b1eafe5a6317c594ebf3 12-Mar-2009 Daniel Dunbar <daniel@zuster.org> Add StringMap::lookup.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66750 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
4715f6395ef152fd92c9b74d5f3e62e2cff29d27 04-Feb-2009 Chris Lattner <sabre@nondot.org> fix a pretty serious bug in StringMap where GetOrCreate(strstart,strend, z)
would not set new values to Z.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63707 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
38593664b02bca98904c4b1883b0a489b5aaacbe 08-Jan-2009 Bill Wendling <isanbard@gmail.com> * Don't explicitly cast "0" to "void*". This doesn't work well with specialized
StringMapEntryInitializer classes. Leave it for the compiler to figure out what
the type is and what "0" should be transformed into.

* Un-disable the unit tests which test the StringMapEntryInitializer class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61922 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
8bb5e9901346f448461289f2d0079ed6d534b571 08-Jan-2009 Misha Brukman <brukman+llvm@gmail.com> * Added unittests for StringMap
* Fixed but in StringMap::clear()
* Removed trailing whitespace

Original patch by Talin.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61914 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
9f1f00ab1b347953da0efb0e20352be5e0709276 27-Nov-2008 Ted Kremenek <kremenek@apple.com> Add typedef to StringMapEntry.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60134 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
509e4f30e85355540dc3bf52629d2356cfd4c1bf 02-Jul-2008 Chris Lattner <sabre@nondot.org> optimize StringMap::clear


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53009 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
fce6e546aab64602c41eeb83381b7617f97d0069 02-Jul-2008 Chris Lattner <sabre@nondot.org> Add a new (simple) StringMap::clear method, patch by Pratik
Solanki!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53008 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
8032020cf209721bc104648f28b1c4b45fb88691 26-Jun-2008 Bill Wendling <isanbard@gmail.com> Remove warnings about shadowed and unused variables.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52791 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
2b08676ca8b6a19ba02df7a2237b8d43531a586b 24-Jun-2008 Dan Gohman <gohman@apple.com> Pass std::string by reference. Thanks Chris!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52678 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
84701836bfb1889e2e26e361ebd5d29d972ab396 23-Jun-2008 Dan Gohman <gohman@apple.com> Add methods to StringMap to erase entries by key.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52640 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
34cd4a484e532cc463fd5a4bf59b88d13c5467c1 05-May-2008 Evan Cheng <evan.cheng@apple.com> Fix more -Wshorten-64-to-32 warnings.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50659 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
5c4fb22809f2da261e3957dc7fc42e19193f70b7 06-Feb-2008 Anton Korobeynikov <asl@math.spbu.ru> Don't dereference an invalid pointer if string is empty.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46781 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
ec3e5c8a39c3dae7457d0eb18f98685decb23fcd 01-Feb-2008 Anton Korobeynikov <asl@math.spbu.ru> Add convenient std::string helpers to StringMap. Patch by Mikhail Glushenkov!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46625 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
713a13906aedef33669f5bc961140bd41e6241d2 31-Jan-2008 Anton Korobeynikov <asl@math.spbu.ru> Reapply the patch with fix.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46615 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
a91cfa9cd09635a6d046e144d07e68d924ac0fbb 31-Jan-2008 Chris Lattner <sabre@nondot.org> revert anton's recent stringmap patch, which breaks clang.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46614 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
f429a519c82af1e70c7b9990e8b2049eb75e63ac 31-Jan-2008 Anton Korobeynikov <asl@math.spbu.ru> Make StringMap to be more STL'ish. Patch by Mikhail Glushenkov!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46612 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
75fb496fc6b1ef5301d7262f40a842a2385f3930 31-Jan-2008 Anton Korobeynikov <asl@math.spbu.ru> Whitespace cleanup


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46611 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
7ed47a13356daed2a34cd2209a31f92552e3bdd8 29-Dec-2007 Chris Lattner <sabre@nondot.org> Don't attribute in file headers anymore. See llvmdev for the
discussion of this change. Boy are my fingers tired. ;-)



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45411 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
ded2b0d0fb0d4fa09198e3d05da529d2c97214c3 14-Dec-2007 Dan Gohman <gohman@apple.com> Add explicit keywords, and fix a minor typo that they uncovered.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45034 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
d7205e6ba16480ef0a7ee2b6097d0a13097e8a0f 29-Nov-2007 Chris Lattner <sabre@nondot.org> Pass the whole StringMapEntry into StringMapEntryInitializer::Initialize.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44432 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
aec78708c24a85a99b757ada086e5c05a4c123ed 29-Nov-2007 Chris Lattner <sabre@nondot.org> provide an optional API to allow datatypes in a stringmap to be *gasp*
initialized with a value if they want, by specializing the
StringMapEntryInitializer class.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44430 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
adf3eab7735741926c67e6fc12b952500c45a9ba 19-Nov-2007 Dan Gohman <gohman@apple.com> Add explicit keywords.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44234 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
6740463c74a7b98ec3136211c871ddd29df39887 18-Oct-2007 Ted Kremenek <kremenek@apple.com> Minor cosmetic cleanups in the calculation of alignments for
StringMapEntry objects. No functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43097 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
9080aaba0b8d4f313c70913c5a93ddd2bda22170 17-Oct-2007 Ted Kremenek <kremenek@apple.com> Updated StringMap to use llvm::AlignOf to compute the alignment of map
entries.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43089 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
1ff2ddda083a3c71a04789fe9845d41f7aaaa0ec 12-Oct-2007 Chris Lattner <sabre@nondot.org> don't use intptr_t without including it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42921 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
b89f67e3e659da1f11c01f2aac1be3463dc60f07 12-Oct-2007 Chris Lattner <sabre@nondot.org> Make this compute the correct offset, handling alignment of the element
pointer correctly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
1bcc79666dcdcc948b7b998f7f661c77c268a893 30-Sep-2007 Chris Lattner <sabre@nondot.org> Add a helper useful when mapping from a map element to its hash node.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42480 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
c6402013c8767d5718d4c7ae5625969361182771 22-Jul-2007 Chris Lattner <sabre@nondot.org> Disable the string map copy ctor and assignment operators,
they don't do the right thing.

Implement StringMap::erase.

Fix a nasty bug in the default ctor.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40395 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
d2f197da59a3c937c1809997907918c029f9f884 04-Apr-2007 Chris Lattner <sabre@nondot.org> use calloc instead of new/memset, it is more efficient


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35644 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
794a014809d810b7ee9a96be76774185561f0dcc 04-Apr-2007 Chris Lattner <sabre@nondot.org> Extend StringMap to support being initialized as completely empty. When
initialized this way, they do not do a malloc to allocate their buckets.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35642 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
a96b4ee7ff408f2fe23fa9b2788c1ed9cf87caf4 11-Feb-2007 Chris Lattner <sabre@nondot.org> add new ShouldRehash method to factor out common code. Fix the dtor to not
delete tombstones.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34189 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
65033ffc297ce5610af9eedd38dc074e02dbff9b 11-Feb-2007 Chris Lattner <sabre@nondot.org> do not allow hash table to be filled with tombstones.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34186 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
44dcd01cb3424420d79d5811fa8c1c052411f975 11-Feb-2007 Chris Lattner <sabre@nondot.org> Add support for removing elements out of StringMap.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34185 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
b5bb9f5b5cfe89f4b7626671f4923d50f8d4cd6a 11-Feb-2007 Chris Lattner <sabre@nondot.org> Replace the ugly FindValue method with STL-like find methods.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34183 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
360cac8fef34b4671f27ef52674a41e29154ddc7 11-Feb-2007 Chris Lattner <sabre@nondot.org> remove support for stringmap visitors now that iterators exist.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34180 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
6ccadf6f7f196b6c27a0eb966a90b8c39812b780 11-Feb-2007 Chris Lattner <sabre@nondot.org> add iterator support, plus support for size() and empty().


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34178 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
9cc2d3dce87c2f4666a5d6a97321d865ade930da 11-Feb-2007 Chris Lattner <sabre@nondot.org> Split StringMapEntry construction out of StringMap, into StringMapEntry.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34170 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
bb28a81ba3c112853f0eb3d8df0190accc0379c9 08-Feb-2007 Chris Lattner <sabre@nondot.org> Rename CStringMap -> StringMap, since it now supports nul characters in the
strings.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
ee182422ff0b638b17c5ee802c19b8680107c2bb 08-Feb-2007 Chris Lattner <sabre@nondot.org> Allow cstringmap to contain strings with nul characters in them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34062 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
6c1645ce7da8495c79e3d38bbf91ce77bf489c10 30-Oct-2006 Chris Lattner <sabre@nondot.org> add a method


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31288 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
463c4a1ae9af56b6a944b74f0898e17d9a3b52eb 30-Oct-2006 Chris Lattner <sabre@nondot.org> add newline at end of file


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31287 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h
23d7b3611759c7fb3a853dfce3ee3d43ef5ca67d 30-Oct-2006 Chris Lattner <sabre@nondot.org> add a highly efficient hash table that is specialized for mapping C strings
to some other type.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31286 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/StringMap.h