llvm-6502/lib
Chandler Carruth cb7ead25c2 [Allocator] Switch the BumpPtrAllocator to use a vector of pointers to
slabs rather than embedding a singly linked list in the slabs
themselves. This has a few advantages:

- Better utilization of the slab's memory by not wasting 16-bytes at the
  front.
- Simpler allocation strategy by not having a struct packed at the
  front.
- Avoids paging every allocated slab in just to traverse them for
  deallocating or dumping stats.

The latter is the really nice part. Folks have complained from time to
time bitterly that tearing down a BumpPtrAllocator, even if it doesn't
run any destructors, pages in all of the memory allocated. Now it won't.
=]

Also resolves a FIXME with the scaling of the slab sizes. The scaling
now disregards specially sized slabs for allocations larger than the
threshold.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206147 91177308-0d34-0410-b5e6-96231b3b80d8
2014-04-14 03:55:11 +00:00
..
Analysis blockfreq: Rename BlockFrequencyImpl to BlockFrequencyInfoImpl 2014-04-11 23:20:58 +00:00
AsmParser
Bitcode
CodeGen [C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr. 2014-04-14 00:51:57 +00:00
DebugInfo
ExecutionEngine [Allocator] Switch the BumpPtrAllocator to use a vector of pointers to 2014-04-14 03:55:11 +00:00
IR Retire llvm::array_endof in favor of non-member std::end. 2014-04-12 16:15:53 +00:00
IRReader
LineEditor
Linker
LTO Move the segmented stack switch to a function attribute 2014-04-10 22:58:43 +00:00
MC MC: check machine magic when applying offset adjustments 2014-04-13 20:47:55 +00:00
Object [yaml2obj][ELF] ELF Relocations Support. 2014-04-11 04:13:39 +00:00
Option
ProfileData
Support [Allocator] Switch the BumpPtrAllocator to use a vector of pointers to 2014-04-14 03:55:11 +00:00
TableGen
Target [PowerPC] [Constant Hoisting] Enable constant hoisting on PPC 2014-04-13 23:02:40 +00:00
Transforms Use APInt arithmetic, fixed typo. Thanks to Benjamin Kramer for noticing that. 2014-04-14 02:20:19 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile