aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Allocator.cpp
AgeCommit message (Expand)Author
2013-02-20as the allocator is reset zero out the number of bytes allocated, this was justPedro Artigas
2013-02-04More MSan/ASan annotations.Evgeniy Stepanov
2013-01-31Annotate BumpPtrAllocator for MemorySanitizer.Evgeniy Stepanov
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-03-01BumpPtrAllocator: Make sure threshold cannot be initialized with a value smal...Benjamin Kramer
2012-03-01If BumpPtrAllocator is requested to allocate a size that exceeds the slab size,Argyrios Kyrtzidis
2011-04-18Add BumpPtrAllocator::getTotalMemory() to allow clients to query how much mem...Ted Kremenek
2010-11-29Merge System into Support.Michael J. Spencer
2010-09-30Grow BumpPtrAllocator's slab size dynamically if we allocated many slabs. ThisBenjamin Kramer
2010-04-13BumpPtrAllocator::Reset() doesn't need to allocate anything. (Thanks, Jakob)Benjamin Kramer
2010-04-13Let BumpPtrAllocator lazily allocate the first slab.Benjamin Kramer
2010-03-30Introduce SpecificBumpPtrAllocator, a wrapper for BumpPtrAllocator which allowsBenjamin Kramer
2010-03-30Reapply r99881 with some fixes: only call destructor in releaseMemory!Torok Edwin
2010-03-30Revert 99881, it brooke smooshlab's llvm-gcc-i386-darwin9.Torok Edwin
2010-03-30Introduce another Reset() method in BumpPtrAllocator that calls a destructorTorok Edwin
2010-01-16Temporarily revert r93581. It was causing failures in the ExecutionEngine testsBill Wendling
2010-01-15BumpPtrAllocator: Have the DefaultSlabAllocator created at runtime, not initi...Ted Kremenek
2009-10-26Move DataTypes.h to include/llvm/System, update all users. This breaks the lastChandler Carruth
2009-09-09Make sure the memory range is writable before memset'ing it.Evan Cheng
2009-07-25Added a test and fixed a bug in BumpPtrAllocator relating to large alignmentReid Kleckner
2009-07-24Switch to raw_ostream.Daniel Dunbar
2009-07-23Re-committing changes from r76825 to BumpPtrAllocator with a fix and tests forReid Kleckner
2009-07-23Reverting r76825 and r76828, since they caused clang runtime errors and some ...Reid Kleckner
2009-07-23add header for 'memset'.Zhongxing Xu
2009-07-23Parameterize the BumpPtrAllocator over a slab allocator. It defaults to usingReid Kleckner
2008-07-28Fold the useful features of alist and alist_node into ilist, andDan Gohman
2008-07-07Add some basic Pool-allocation infrastructure. This adds a Recycler class,Dan Gohman
2008-05-05Fix more -Wshorten-64-to-32 warnings.Evan Cheng
2008-04-28Fix a pointer-arithmetic bug that caused 64-bit host pointer values toDan Gohman
2008-04-28Bug fix in BumpPtrAllocator: don't assume that all objects have the same alig...Ted Kremenek
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner
2007-09-08Smarter Reset(). Instead of deallocating all memory regions and reallocate theEvan Cheng
2007-09-05Added Reset() to free all allocated memory regions and reset state to be the ...Evan Cheng
2007-02-23Avoid TBAA issue.Chris Lattner
2006-12-07Don't use <sstream> in Streams.h but <iosfwd> instead.Bill Wendling
2006-12-07Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, areBill Wendling
2006-11-26Removed #include <iostream> and replace with llvm_* streams.Bill Wendling
2006-11-08Include llvm/Support/DataTypes.h to define intptr_t.John Criswell
2006-10-29Add a new llvm::Allocator abstraction, which will be used by a containerChris Lattner