bc363931085587bac42a40653962a3e5acd1ffce |
|
22-Aug-2012 |
Richard Smith <richard-llvm@metafoo.co.uk> |
Reduce alignment of SmallVector<T> to the required amount, rather than forcing 16-byte alignment. This fixes misaligned SmallVector accesses via ExtractValueInst's SmallVector data member. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162331 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/SmallVector.cpp
|
2a9a2dba4c02e7eea3aeba2be5dc1fc377d5aa5c |
|
02-Sep-2010 |
John McCall <rjmccall@apple.com> |
After some discussion with djg, teach SmallVector to grow from a zero capacity and remove the workaround in SmallVector<T,0>. There are some theoretical benefits to a N->2N+1 growth policy anyway. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112870 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/SmallVector.cpp
|
d164d3d9e74aa099ce7ef86ac0724fe504f7c3f9 |
|
08-Jun-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Use realloc instead of malloc+memcpy when growing a POD SmallVector. A smart realloc implementation can try to expand the allocated memory block in-place, avoiding the copy. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105605 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/SmallVector.cpp
|
b3649db1022ef464687df135934c6e743e5c5cb8 |
|
16-Dec-2009 |
Chris Lattner <sabre@nondot.org> |
now that libsystem no longer uses SmallVector, we can move SmallVectorBase::grow_pod out of line, finally satisfying PR3758. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91529 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Support/SmallVector.cpp
|