aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FoldingSet.cpp
AgeCommit message (Expand)AuthorFilesLines
2016-08-17Replace a few more "fall through" comments with LLVM_FALLTHROUGHJustin Bogner1-2/+2
2016-06-03Adding reserve and capacity methods to FoldingSetBen Craig1-5/+20
2015-08-16[ADT] Teach FoldingSet to be movable.Chandler Carruth1-0/+20
2015-04-06fix typos; NFCSanjay Patel1-2/+2
2015-03-22FoldingSet: Make FoldingSetImpl's dtor protected and non-virtualBenjamin Kramer1-0/+2
2015-03-16[llvm] Replacing asserts with static_asserts where appropriateGabor Horvath1-2/+3
2014-04-15[C++11] More 'nullptr' conversion. In some cases just using a boolean check i...Craig Topper1-1/+1
2014-04-09[C++11] Replace some comparisons with 'nullptr' with simple boolean checks to...Craig Topper1-6/+5
2014-04-07[C++11] Make use of 'nullptr' in the Support library.Craig Topper1-10/+11
2013-04-15Make the host endianness check an integer constant expression.Rafael Espindola1-2/+2
2012-12-25Fix whitespace. No functionality change.Nick Lewycky1-2/+2
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-1/+1
2012-11-16move irrelevant attribution.Chris Lattner1-3/+1
2012-09-08Add operator< for FoldingSetNodeID.Ted Kremenek1-0/+18
2012-04-11FoldingSet: Push the hash through FoldingSetTraits::Equals, so clients can us...Benjamin Kramer1-3/+3
2012-03-08Revert commit 152300 (ddunbar) since it still seems to be breakingDuncan Sands1-1/+43
2012-03-08[ADT] Change the trivial FoldingSetNodeID::Add* methods to be inline, reappliedDaniel Dunbar1-43/+1
2012-03-08Revert r152288, "[ADT] Change the trivial FoldingSetNodeID::Add* methods to beDaniel Dunbar1-1/+43
2012-03-08[ADT] Change the trivial FoldingSetNodeID::Add* methods to be inline.Daniel Dunbar1-43/+1
2012-03-01Switch FoldingSet over to the new hashing infrastructure. We might wantChandler Carruth1-18/+2
2011-07-18Simplify & microoptimize code. No intended functionality change.Benjamin Kramer1-4/+2
2011-06-03singed int causes signed extension, which contradicts the intention to pick upZhongxing Xu1-1/+1
2011-04-25allow adding a FoldingSetNodeID to a FastFoldingSetNode, resolving PR9499,Chris Lattner1-0/+5
2010-11-29Merge System into Support.Michael J. Spencer1-1/+1
2010-11-19Aligned and unaligned copies of the same stringDale Johannesen1-7/+22
2010-08-24Use Bits.data() instead of &Bits[0].Dan Gohman1-3/+3
2010-08-16Add hooks to FoldingSetTrait to allow specializations to provideDan Gohman1-35/+52
2010-08-16Reverse the order of GetNodeProfile's arguments, for consistencyDan Gohman1-4/+4
2010-06-19Use calloc instead of new/memset, it is more efficient when the set is very l...Benjamin Kramer1-6/+14
2010-03-18Add the ability to "intern" FoldingSetNodeID data into aDan Gohman1-0/+10
2009-09-22Switch FoldingSet::AddString to StringRef based API.Daniel Dunbar1-11/+3
2009-07-14llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin1-1/+1
2009-07-11assert(0) -> LLVM_UNREACHABLE.Torok Edwin1-1/+2
2009-02-07Add an API for strings with possible NULLs in the middle. Refactor the otherNick Lewycky1-37/+8
2009-01-21Do not use host floating point types when emittingDale Johannesen1-6/+0
2008-11-03Overload AddInteger on int/long/long long instead of on int/int64_t,Dan Gohman1-6/+16
2008-08-23Add a clear() method to FoldingSet.Dan Gohman1-12/+13
2008-08-12Avoid repeatedly reallocating the FoldingSetNodeID when searchingDan Gohman1-2/+4
2008-07-01Add a version of AddString that takes a const char* so we can avoid extraneousOwen Anderson1-0/+38
2008-06-17Consistently set "Buckets[NumBuckets] = reinterpret_cast<void*>(-1)" througho...Ted Kremenek1-1/+1
2008-05-05Fix more -Wshorten-64-to-32 warnings.Evan Cheng1-2/+2
2008-02-20Unbreak build with gcc 4.3: provide missed includes and silence most annoying...Anton Korobeynikov1-0/+1
2008-02-15Fixed bug in FoldingSetIteratorImpl where we did not correctly check ifTed Kremenek1-2/+4
2008-02-11Added "Profile" method to APFloat for use with FoldingSet.Ted Kremenek1-11/+0
2008-02-06Add support to FoldingSet for hashing APInt objects.Dan Gohman1-0/+4
2008-02-04Added "bucket_iterators" to FoldingSet. Bucket iterators allow iterationTed Kremenek1-1/+7
2008-02-04Fixed 80 col. violation.Ted Kremenek1-2/+4
2008-01-19Made 'FoldingSetNodeID' a proper class instead of a nested class inTed Kremenek1-19/+19
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner1-2/+2
2007-10-09Change a #include into a forward declarationChris Lattner1-0/+1