aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/FoldingSet.cpp
AgeCommit message (Expand)AuthorFilesLines
2020-06-08[Support] FoldingSetNodeID::AddString(): reserve memoryRoman Lebedev1-0/+4
2020-04-15Remove vptr dispatch from FoldingSet.Richard Smith1-21/+25
2020-03-11Drop a StringMap.h include, NFCReid Kleckner1-0/+1
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2018-09-14fix typosAdrian Prantl1-1/+1
2018-07-30Remove trailing spaceFangrui Song1-20/+20
2018-06-09Use uniform mechanism for OOM errors handlingSerge Pavlov1-5/+2
2018-05-30Revert commit 333506Serge Pavlov1-2/+5
2018-05-30Use uniform mechanism for OOM errors handlingSerge Pavlov1-5/+2
2018-05-29Reverted commits 333390, 333391 and 333394Serge Pavlov1-2/+5
2018-05-29Use uniform mechanism for OOM errors handlingSerge Pavlov1-5/+2
2018-02-15Revert r325224 "Report fatal error in the case of out of memory"Serge Pavlov1-2/+1
2018-02-15Report fatal error in the case of out of memorySerge Pavlov1-1/+2
2017-07-20Support, IR, ADT: Check nullptr after allocation with malloc/realloc or callocMatthias Braun1-2/+7
2017-06-12[ADT] Reduce duplication between {Contextual,}FoldingSet; NFCGeorge Burgess IV1-21/+21
2016-10-16PR30711: Fix incorrect profiling of 'long long' in FoldingSet, then use it toRichard Smith1-4/+4
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