aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Allocator.cpp
AgeCommit message (Expand)AuthorFilesLines
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2017-12-13Recover some overzealously removed includes.Michael Zolotukhin1-0/+1
2017-12-13Remove redundant includes from lib/Support.Michael Zolotukhin1-1/+0
2015-06-23Revert r240137 (Fixed/added namespace ending comments using clang-tidy. NFC)Alexander Kornienko1-1/+1
2015-06-19Fixed/added namespace ending comments using clang-tidy. NFCAlexander Kornienko1-1/+1
2015-03-23Purge unused includes throughout libSupport.Benjamin Kramer1-5/+0
2014-04-14[Allocator] Hoist the external helper function into a namespace scopeChandler Carruth1-0/+4
2014-04-14[Allocator] Make the underlying allocator a template instead of anChandler Carruth1-12/+0
2014-04-14[Allocator] Switch the BumpPtrAllocator to use a vector of pointers toChandler Carruth1-22/+5
2014-04-09[C++11] Replace some comparisons with 'nullptr' with simple boolean checks to...Craig Topper1-2/+2
2014-04-07[C++11] Make use of 'nullptr' in the Support library.Craig Topper1-3/+3
2014-03-30[Allocator] Lift the slab size and size threshold into templateChandler Carruth1-131/+16
2014-03-28[Allocator Cleanup] Move generic pointer alignment helper out of anChandler Carruth1-15/+3
2014-03-28[Allocator Cleanup] Make the growth of the "slab" size of theChandler Carruth1-17/+17
2013-08-28[BumpPtrAllocator] Move DefaultSlabAllocator to a member of BumpPtrAllocator,...Argyrios Kyrtzidis1-3/+4
2013-02-20as the allocator is reset zero out the number of bytes allocated, this was justPedro Artigas1-0/+1
2013-02-04More MSan/ASan annotations.Evgeniy Stepanov1-2/+2
2013-01-31Annotate BumpPtrAllocator for MemorySanitizer.Evgeniy Stepanov1-0/+7
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth1-1/+1
2012-03-01BumpPtrAllocator: Make sure threshold cannot be initialized with a value smal...Benjamin Kramer1-11/+6
2012-03-01If BumpPtrAllocator is requested to allocate a size that exceeds the slab size,Argyrios Kyrtzidis1-4/+9
2011-04-18Add BumpPtrAllocator::getTotalMemory() to allow clients to query how much mem...Ted Kremenek1-0/+8
2010-11-29Merge System into Support.Michael J. Spencer1-2/+2
2010-09-30Grow BumpPtrAllocator's slab size dynamically if we allocated many slabs. ThisBenjamin Kramer1-0/+6
2010-04-13BumpPtrAllocator::Reset() doesn't need to allocate anything. (Thanks, Jakob)Benjamin Kramer1-2/+2
2010-04-13Let BumpPtrAllocator lazily allocate the first slab.Benjamin Kramer1-3/+6
2010-03-30Introduce SpecificBumpPtrAllocator, a wrapper for BumpPtrAllocator which allowsBenjamin Kramer1-15/+0
2010-03-30Reapply r99881 with some fixes: only call destructor in releaseMemory!Torok Edwin1-0/+15
2010-03-30Revert 99881, it brooke smooshlab's llvm-gcc-i386-darwin9.Torok Edwin1-15/+0
2010-03-30Introduce another Reset() method in BumpPtrAllocator that calls a destructorTorok Edwin1-0/+15
2010-01-16Temporarily revert r93581. It was causing failures in the ExecutionEngine testsBill Wendling1-4/+2
2010-01-15BumpPtrAllocator: Have the DefaultSlabAllocator created at runtime, not initi...Ted Kremenek1-2/+4
2009-10-26Move DataTypes.h to include/llvm/System, update all users. This breaks the lastChandler Carruth1-1/+1
2009-09-09Make sure the memory range is writable before memset'ing it.Evan Cheng1-0/+2
2009-07-25Added a test and fixed a bug in BumpPtrAllocator relating to large alignmentReid Kleckner1-2/+2
2009-07-24Switch to raw_ostream.Daniel Dunbar1-9/+9
2009-07-23Re-committing changes from r76825 to BumpPtrAllocator with a fix and tests forReid Kleckner1-105/+133
2009-07-23Reverting r76825 and r76828, since they caused clang runtime errors and some ...Reid Kleckner1-132/+104
2009-07-23add header for 'memset'.Zhongxing Xu1-0/+1
2009-07-23Parameterize the BumpPtrAllocator over a slab allocator. It defaults to usingReid Kleckner1-104/+131
2008-07-28Fold the useful features of alist and alist_node into ilist, andDan Gohman1-2/+4
2008-07-07Add some basic Pool-allocation infrastructure. This adds a Recycler class,Dan Gohman1-0/+7
2008-05-05Fix more -Wshorten-64-to-32 warnings.Evan Cheng1-2/+2
2008-04-28Fix a pointer-arithmetic bug that caused 64-bit host pointer values toDan Gohman1-1/+1
2008-04-28Bug fix in BumpPtrAllocator: don't assume that all objects have the same alig...Ted Kremenek1-6/+9
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner1-2/+2
2007-09-08Smarter Reset(). Instead of deallocating all memory regions and reallocate theEvan Cheng1-5/+17
2007-09-05Added Reset() to free all allocated memory regions and reset state to be the ...Evan Cheng1-0/+6
2007-02-23Avoid TBAA issue.Chris Lattner1-1/+4
2006-12-07Don't use <sstream> in Streams.h but <iosfwd> instead.Bill Wendling1-0/+1