- Jul 23, 2009
-
-
Reid Kleckner authored
malloc, so there should be no functional changes to other code. These changes are necessary since I have plans to use this allocator in the JIT memory manager, and it needs a special allocator. I also added some tests which helped me pinpoint some bugs. llvm-svn: 76825
-
- Jul 28, 2008
-
-
Dan Gohman authored
a new ilist_node class, and remove them. Unlike alist_node, ilist_node doesn't attempt to manage storage itself, so it avoids the associated problems, including being opaque in gdb. Adjust the Recycler class so that it doesn't depend on alist_node. Also, change it to use explicit Size and Align parameters, allowing it to work when the largest-sized node doesn't have the greatest alignment requirement. Change MachineInstr's MachineMemOperand list from a pool-backed alist to a std::list for now. llvm-svn: 54146
-
- Jul 08, 2008
-
-
Dan Gohman authored
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. llvm-svn: 53210
-
- May 05, 2008
-
-
Evan Cheng authored
llvm-svn: 50659
-
- Apr 28, 2008
-
-
Dan Gohman authored
be truncated to 32 bits. This fixes the recent Benchmarks/McCat/09-vor regression on x86-64, among other things. llvm-svn: 50372
-
Ted Kremenek authored
Bug fix in BumpPtrAllocator: don't assume that all objects have the same alignment. "Bump" of the pointer for the next allocated object to be of the specified alignment. llvm-svn: 50362
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-
- Sep 08, 2007
-
-
Evan Cheng authored
first region, just deallocate all but the last region in the list. llvm-svn: 41782
-
- Sep 05, 2007
-
-
Evan Cheng authored
Added Reset() to free all allocated memory regions and reset state to be the same as right after ctor. llvm-svn: 41728
-
- Feb 23, 2007
-
-
Chris Lattner authored
llvm-svn: 34539
-
- Dec 08, 2006
-
-
Bill Wendling authored
llvm-svn: 32340
-
- Dec 07, 2006
-
-
Bill Wendling authored
now cerr, cout, and NullStream resp. llvm-svn: 32298
-
- Nov 26, 2006
-
-
Bill Wendling authored
llvm-svn: 31927
-
- Nov 08, 2006
-
-
John Criswell authored
This fixes the build on OpenBSD and potentially other systems. llvm-svn: 31550
-
- Oct 29, 2006
-
-
Chris Lattner authored
I'm about to add. This is similar to, but necessarily different than, the STL allocator class. llvm-svn: 31285
-