summaryrefslogtreecommitdiff
path: root/lib/Support/FoldingSet.cpp
AgeCommit message (Expand)AuthorFilesLines
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
2007-10-03Add initial iterator support for folding set.Chris Lattner1-0/+32
2007-10-03Simplify implementation of the FoldingSet circular list, a necessary stepChris Lattner1-11/+20
2007-09-14fix a gcc warning: comparison between signed and unsigned integer expressionsChris Lattner1-1/+1
2007-09-14Remove the assumption that FP's are either float orDale Johannesen1-0/+6
2007-09-14And an FoldingSetImpl::NodeID::AddInteger overload for int64_t, to avoidDan Gohman1-0/+3
2007-02-24remove folding set debug outputChris Lattner1-4/+0
2007-02-04Encode small integers more densely in foldingset, avoiding overflowing the Sm...Chris Lattner1-1/+4
2007-02-01improve comments, add an assertionChris Lattner1-3/+6
2007-01-31Add some debug output.Reid Spencer1-0/+4