Guillaume Chatelet
|
6dacb1c9c1
[Alignment][NFC] Move and type functions from MathExtras to Alignment
|
5 жил өмнө |
Chandler Carruth
|
6b547686c5
Update the file headers across all of the LLVM projects in the monorepo
|
6 жил өмнө |
Serge Pavlov
|
06c71d8a6f
Report fatal error in the case of out of memory
|
7 жил өмнө |
Serge Pavlov
|
165fd931ac
Revert r325224 "Report fatal error in the case of out of memory"
|
7 жил өмнө |
Serge Pavlov
|
ca451d02e4
Report fatal error in the case of out of memory
|
7 жил өмнө |
Jordan Rose
|
621f2c2cdd
[unittest] Explicitly specify alignment when using BumpPtrAllocator.
|
8 жил өмнө |
Eric Christopher
|
933d2bd391
Fix "the the" in comments.
|
10 жил өмнө |
Hans Wennborg
|
febe7813c8
Fix llvm::BumpPtrAllocatorImpl::Reset()
|
10 жил өмнө |
Hans Wennborg
|
3f09227292
Try to unflake AllocatorTest.TestAlignmentPastSlab
|
11 жил өмнө |
Hans Wennborg
|
4f240010fd
BumpPtrAllocator: do the size check without moving any pointers
|
11 жил өмнө |
Hans Wennborg
|
d52e9a143f
BumpPtrAllocator: use uintptr_t when aligning addresses to avoid undefined behaviour
|
11 жил өмнө |
Hans Wennborg
|
06de8a10d2
BumpPtrAllocator: don't accept 0 for the alignment parameter
|
11 жил өмнө |
Hans Wennborg
|
61760cece0
BumpPtrAllocator: remove 'no slabs allocated yet' check
|
11 жил өмнө |
Chandler Carruth
|
d66a3fe106
[Allocator] Make BumpPtrAllocator movable and move assignable.
|
11 жил өмнө |
Chandler Carruth
|
b9a99d4593
[Allocator] Finally, finish nuking the redundant code that led me here
|
11 жил өмнө |
Chandler Carruth
|
17f9c2e35b
[Allocator] Make the underlying allocator a template instead of an
|
11 жил өмнө |
Chandler Carruth
|
cb7ead25c2
[Allocator] Switch the BumpPtrAllocator to use a vector of pointers to
|
11 жил өмнө |
Chandler Carruth
|
368a977298
[Allocator] Lift the slab size and size threshold into template
|
11 жил өмнө |
Chandler Carruth
|
0331a894cd
[Allocator] Simplify unittests by using the default size parameters in
|
11 жил өмнө |
Nick Kledzik
|
8147752976
Fix layering StringRef copy using BumpPtrAllocator.
|
11 жил өмнө |
Nick Kledzik
|
1c71a20f32
Add BumpPtrAllocator::allocateCopy() utilities
|
11 жил өмнө |
Chandler Carruth
|
5a88dda4be
Sort the #include lines for unittest/...
|
12 жил өмнө |
Benjamin Kramer
|
97e910ecff
BumpPtrAllocator: Make sure threshold cannot be initialized with a value smaller than the slab size.
|
13 жил өмнө |
Argyrios Kyrtzidis
|
680458275f
If BumpPtrAllocator is requested to allocate a size that exceeds the slab size,
|
13 жил өмнө |
Dan Gohman
|
85f1968138
Spelling fixes.
|
15 жил өмнө |
Benjamin Kramer
|
5232f418c6
Fix unit test on FreeBSD. We need to make sure there is enough space to save the pointer even if the memory returned from malloc was already aligned.
|
16 жил өмнө |
Reid Kleckner
|
7d509134dc
Added a test and fixed a bug in BumpPtrAllocator relating to large alignment
|
16 жил өмнө |
Reid Kleckner
|
8f51a62b41
Re-committing changes from r76825 to BumpPtrAllocator with a fix and tests for
|
16 жил өмнө |
Reid Kleckner
|
4bf370698a
Reverting r76825 and r76828, since they caused clang runtime errors and some build failure involving memset.
|
16 жил өмнө |
Reid Kleckner
|
95eb3ad353
Parameterize the BumpPtrAllocator over a slab allocator. It defaults to using
|
16 жил өмнө |