aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/FoldingSet.cpp
AgeCommit message (Expand)Author
2012-09-08Add operator< for FoldingSetNodeID.Ted Kremenek
2012-04-11FoldingSet: Push the hash through FoldingSetTraits::Equals, so clients can us...Benjamin Kramer
2012-03-08Revert commit 152300 (ddunbar) since it still seems to be breakingDuncan Sands
2012-03-08[ADT] Change the trivial FoldingSetNodeID::Add* methods to be inline, reappliedDaniel Dunbar
2012-03-08Revert r152288, "[ADT] Change the trivial FoldingSetNodeID::Add* methods to beDaniel Dunbar
2012-03-08[ADT] Change the trivial FoldingSetNodeID::Add* methods to be inline.Daniel Dunbar
2012-03-01Switch FoldingSet over to the new hashing infrastructure. We might wantChandler Carruth
2011-07-18Simplify & microoptimize code. No intended functionality change.Benjamin Kramer
2011-06-03singed int causes signed extension, which contradicts the intention to pick upZhongxing Xu
2011-04-25allow adding a FoldingSetNodeID to a FastFoldingSetNode, resolving PR9499,Chris Lattner
2010-11-29Merge System into Support.Michael J. Spencer
2010-11-19Aligned and unaligned copies of the same stringDale Johannesen
2010-08-24Use Bits.data() instead of &Bits[0].Dan Gohman
2010-08-16Add hooks to FoldingSetTrait to allow specializations to provideDan Gohman
2010-08-16Reverse the order of GetNodeProfile's arguments, for consistencyDan Gohman
2010-06-19Use calloc instead of new/memset, it is more efficient when the set is very l...Benjamin Kramer
2010-03-18Add the ability to "intern" FoldingSetNodeID data into aDan Gohman
2009-09-22Switch FoldingSet::AddString to StringRef based API.Daniel Dunbar
2009-07-14llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable.Torok Edwin
2009-07-11assert(0) -> LLVM_UNREACHABLE.Torok Edwin
2009-02-07Add an API for strings with possible NULLs in the middle. Refactor the otherNick Lewycky
2009-01-21Do not use host floating point types when emittingDale Johannesen
2008-11-03Overload AddInteger on int/long/long long instead of on int/int64_t,Dan Gohman
2008-08-23Add a clear() method to FoldingSet.Dan Gohman
2008-08-12Avoid repeatedly reallocating the FoldingSetNodeID when searchingDan Gohman
2008-07-01Add a version of AddString that takes a const char* so we can avoid extraneousOwen Anderson
2008-06-17Consistently set "Buckets[NumBuckets] = reinterpret_cast<void*>(-1)" througho...Ted Kremenek
2008-05-05Fix more -Wshorten-64-to-32 warnings.Evan Cheng
2008-02-20Unbreak build with gcc 4.3: provide missed includes and silence most annoying...Anton Korobeynikov
2008-02-15Fixed bug in FoldingSetIteratorImpl where we did not correctly check ifTed Kremenek
2008-02-11Added "Profile" method to APFloat for use with FoldingSet.Ted Kremenek
2008-02-06Add support to FoldingSet for hashing APInt objects.Dan Gohman
2008-02-04Added "bucket_iterators" to FoldingSet. Bucket iterators allow iterationTed Kremenek
2008-02-04Fixed 80 col. violation.Ted Kremenek
2008-01-19Made 'FoldingSetNodeID' a proper class instead of a nested class inTed Kremenek
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner
2007-10-09Change a #include into a forward declarationChris Lattner
2007-10-03Add initial iterator support for folding set.Chris Lattner
2007-10-03Simplify implementation of the FoldingSet circular list, a necessary stepChris Lattner
2007-09-14fix a gcc warning: comparison between signed and unsigned integer expressionsChris Lattner
2007-09-14Remove the assumption that FP's are either float orDale Johannesen
2007-09-14And an FoldingSetImpl::NodeID::AddInteger overload for int64_t, to avoidDan Gohman
2007-02-24remove folding set debug outputChris Lattner
2007-02-04Encode small integers more densely in foldingset, avoiding overflowing the Sm...Chris Lattner
2007-02-01improve comments, add an assertionChris Lattner
2007-01-31Add some debug output.Reid Spencer
2007-01-31minor cleanups. Fix off-by-one in accounting the number of nodes when theChris Lattner
2007-01-30reformat commentChris Lattner
2006-11-03assert.h -> cassertRafael Espindola
2006-11-02#include <assert.h>Rafael Espindola