- Mar 30, 2010
-
-
Benjamin Kramer authored
only a single type of object to be allocated. Use it to make VNInfo destruction typesafe. llvm-svn: 99919
-
Torok Edwin authored
llvm-svn: 99883
-
Torok Edwin authored
llvm-svn: 99882
-
Torok Edwin authored
on all objects it has allocated, if they are all of the same size and alignment. Use this to destruct all VNInfos allocated in LiveIntervalAnalysis (PR6653). valnos is not reliable for this purpose, as seen in r99400 (which still leaked, and sometimes caused double frees). llvm-svn: 99881
-
- Jan 16, 2010
-
-
Bill Wendling authored
on the build bots. llvm-svn: 93606
-
Ted Kremenek authored
BumpPtrAllocator: Have the DefaultSlabAllocator created at runtime, not initialization time. This removes one of the 'init_constructors' reported in <rdar://problem/7545356>. llvm-svn: 93581
-
- Oct 26, 2009
-
-
Chandler Carruth authored
direct inclusion edge from System to Support. llvm-svn: 85086
-
- Sep 09, 2009
-
-
Evan Cheng authored
llvm-svn: 81308
-
- Jul 25, 2009
-
-
Reid Kleckner authored
values. Hopefully this fixes PR4622. llvm-svn: 77088
-
- Jul 24, 2009
-
-
Daniel Dunbar authored
llvm-svn: 76943
-
- Jul 23, 2009
-
-
Reid Kleckner authored
an off-by-one error. llvm-svn: 76891
-
Reid Kleckner authored
Reverting r76825 and r76828, since they caused clang runtime errors and some build failure involving memset. llvm-svn: 76838
-
Zhongxing Xu authored
llvm-svn: 76837
-
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
-