Add some basic Pool-allocation infrastructure. This adds a Recycler class,
authorDan Gohman <gohman@apple.com>
Mon, 7 Jul 2008 22:58:06 +0000 (22:58 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 7 Jul 2008 22:58:06 +0000 (22:58 +0000)
commite14d81deeb6bb3404ffee5e59ecb88304f112f4a
tree8c5d9da7ee0f830beed18644f3c553610646806b
parent19d6d424aaa15788c590c2334081da744e6e9f64
Add some basic Pool-allocation infrastructure. This adds a Recycler class,
for handling bookkeeping for deleted objects, as well as the alist class
template, for keeping lists of objects allocated from Recyclers, and some
related utilities.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53210 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/alist.h [new file with mode: 0644]
include/llvm/ADT/alist_node.h [new file with mode: 0644]
include/llvm/ADT/ilist.h
include/llvm/Support/Recycler.h [new file with mode: 0644]
include/llvm/Support/RecyclingAllocator.h [new file with mode: 0644]
include/llvm/SymbolTableListTraits.h
lib/Support/Allocator.cpp