[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-10-29 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.21 -> 1.22 --- Log message: add a new form of insert. --- Diffs of the changes: (+48 -1) SmallVector.h | 49 - 1 files changed, 48 insertions(+), 1 deletion(-) Index: ll

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2007-01-31 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.22 -> 1.23 --- Log message: add missing ctor --- Diffs of the changes: (+7 -0) SmallVector.h |7 +++ 1 files changed, 7 insertions(+) Index: llvm/include/llvm/ADT/SmallVector.h diff -u llvm/include/llvm/ADT/Smal

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2007-02-12 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.23 -> 1.24 --- Log message: fix a critical bug in smallvector, where it would destroy elements that are not in its range (!). --- Diffs of the changes: (+1 -1) SmallVector.h |2 +- 1 files changed, 1 insertion(+), 1

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2007-03-04 Thread Jeff Cohen
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.24 -> 1.25 --- Log message: Unbreak VC++ build. --- Diffs of the changes: (+19 -0) SmallVector.h | 19 +++ 1 files changed, 19 insertions(+) Index: llvm/include/llvm/ADT/SmallVector.h diff -u llvm/inclu

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2007-03-04 Thread Jeff Cohen
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.25 -> 1.26 --- Log message: Elminate tabs and improve comments. --- Diffs of the changes: (+8 -7) SmallVector.h | 15 --- 1 files changed, 8 insertions(+), 7 deletions(-) Index: llvm/include/llvm/ADT/SmallV

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2007-03-05 Thread Jeff Cohen
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.26 -> 1.27 --- Log message: The hack won't work on VS 2005, and it might not be needed anyway. --- Diffs of the changes: (+5 -1) SmallVector.h |6 +- 1 files changed, 5 insertions(+), 1 deletion(-) Index: llvm/in

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2007-04-18 Thread Jeff Cohen
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.27 -> 1.28 --- Log message: Fix some VC++ warnings. --- Diffs of the changes: (+4 -4) SmallVector.h |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/include/llvm/ADT/SmallVector.h diff -u llv

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-07-25 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h added (r1.1) --- Log message: Add a new llvm::SmallVector template, which is similar to the vector class, but contains optimizations to avoid heap allocation if the vector size is smaller than some threshold. This can significantly impr

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-07-26 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.1 -> 1.2 --- Log message: Use std::copy instead of custom loops to take advantage of STL optimizations. Add a new append method for appending a range. --- Diffs of the changes: (+19 -5) SmallVector.h | 24 ++

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-07-27 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.2 -> 1.3 --- Log message: The smallvector dtor should destroy the elements. Implement pop_back. Chage some code to use 'iterator' instead of T*. This unbreaks operators=. --- Diffs of the changes: (+12 -2) SmallVector.h

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-08-05 Thread Evan Cheng
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.3 -> 1.4 --- Log message: This causes some random crashes. --- Diffs of the changes: (+1 -1) SmallVector.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/ADT/SmallVector.h diff -u llvm

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-08-06 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.4 -> 1.5 --- Log message: Add a clear method to SmallVector --- Diffs of the changes: (+0 -0) 0 files changed ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-08-07 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.5 -> 1.6 --- Log message: Remove assertions from the SmallVector class. They slow down clients of smallvector too much in a release build. Removing them speeds up isel 4%. --- Diffs of the changes: (+0 -6) SmallVector.

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-08-07 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.6 -> 1.7 --- Log message: Add ctor that initializes from a range. --- Diffs of the changes: (+6 -0) SmallVector.h |6 ++ 1 files changed, 6 insertions(+) Index: llvm/include/llvm/ADT/SmallVector.h diff -u llvm/i

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-08-07 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.7 -> 1.8 --- Log message: add a new assign method --- Diffs of the changes: (+9 -0) SmallVector.h |9 + 1 files changed, 9 insertions(+) Index: llvm/include/llvm/ADT/SmallVector.h diff -u llvm/include/llvm/A

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-08-07 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.8 -> 1.9 --- Log message: capacity is a pointer, not a value --- Diffs of the changes: (+1 -1) SmallVector.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/ADT/SmallVector.h diff -u l

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-08-11 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.9 -> 1.10 --- Log message: Split SmallVector into SmallVector and SmallVectorImpl, which allows us to eliminate code duplication due to the 'N' parameter. --- Diffs of the changes: (+45 -40) SmallVector.h | 85 +

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-08-11 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.10 -> 1.11 --- Log message: move code out of line so that GCC doesn't inline it at -O3 --- Diffs of the changes: (+69 -62) SmallVector.h | 131 ++ 1 files changed,

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-08-14 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.11 -> 1.12 --- Log message: avoid a warning --- Diffs of the changes: (+1 -1) SmallVector.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/ADT/SmallVector.h diff -u llvm/include/llvm/

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-08-15 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.12 -> 1.13 --- Log message: Bugfixes for smallvector when the element size is small and N is small. --- Diffs of the changes: (+17 -4) SmallVector.h | 21 + 1 files changed, 17 insertions(+), 4 delet

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-08-16 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.13 -> 1.14 --- Log message: silence a warning. --- Diffs of the changes: (+1 -0) SmallVector.h |1 + 1 files changed, 1 insertion(+) Index: llvm/include/llvm/ADT/SmallVector.h diff -u llvm/include/llvm/ADT/SmallVect

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-08-21 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.14 -> 1.15 --- Log message: add a bunch more operations, including swap, insert, erase, front(), and bugfixes for operator=. --- Diffs of the changes: (+115 -13) SmallVector.h | 128 +

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-08-22 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.15 -> 1.16 --- Log message: add resize, move swap out of line --- Diffs of the changes: (+56 -36) SmallVector.h | 92 +++--- 1 files changed, 56 insertions(+), 36 dele

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-08-28 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.16 -> 1.17 --- Log message: Add 2nd form of resize --- Diffs of the changes: (+12 -0) SmallVector.h | 12 1 files changed, 12 insertions(+) Index: llvm/include/llvm/ADT/SmallVector.h diff -u llvm/include/

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-08-31 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.17 -> 1.18 --- Log message: add a simple reserve method. --- Diffs of the changes: (+5 -0) SmallVector.h |5 + 1 files changed, 5 insertions(+) Index: llvm/include/llvm/ADT/SmallVector.h diff -u llvm/include/llv

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-10-08 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.18 -> 1.19 --- Log message: Fix PR897: http://llvm.org/PR897 --- Diffs of the changes: (+5 -0) SmallVector.h |5 + 1 files changed, 5 insertions(+) Index: llvm/include/llvm/ADT/SmallVector.h diff -u llvm/includ

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-10-09 Thread Andrew Lenharth
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.19 -> 1.20 --- Log message: Fix build error in gcc 3.4 and make more this general --- Diffs of the changes: (+1 -1) SmallVector.h |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/ADT/Sma

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2007-05-17 Thread Dan Gohman
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.28 -> 1.29 --- Log message: Fix some sporadic segfaults that are triggered when SmallVector's heap storage lands near the end of the available address space. In the expression Begin+N > Capacity, the Begin+N was overflowing. F

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2007-05-17 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.29 -> 1.30 --- Log message: silence some "comparison between signed and unsigned integer expressions" warnings --- Diffs of the changes: (+3 -3) SmallVector.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-

[llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2007-06-28 Thread Dan Gohman
Changes in directory llvm/include/llvm/ADT: SmallVector.h updated: 1.30 -> 1.31 --- Log message: Add a default parameter to a SmallVector constructor to allow it to be called with just an initial length value, just like in std::vector. --- Diffs of the changes: (+1 -1) SmallVector.h |2

Re: [llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-10-09 Thread Reid Spencer
Andrew, ... On Mon, 2006-10-09 at 14:05 -0500, Andrew Lenharth wrote: > > Changes in directory llvm/include/llvm/ADT: > > SmallVector.h updated: 1.19 -> 1.20 > --- > Log message: > > Fix build error in gcc 3.4 and make more this general This compiled on my 3.4.6 compiler on Linux just fine bef

Re: [llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-10-09 Thread Andrew Lenharth
> This compiled on my 3.4.6 compiler on Linux just fine before the patch. > What was the error you were trying to fix? "Allignment Value not constant" was the error. This was gcc 3.4.4 > Are you sure this is right? In section 5.31 of the GCC Manual it > indicates that if an alignment size is not

Re: [llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2006-10-09 Thread Chris Lattner
On Oct 9, 2006, at 12:56 PM, Andrew Lenharth wrote: >> >> Is this what we want here? > > I believe so. I agree, Andrew's patch looks great to me. -Chris ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/l

Re: [llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2007-06-29 Thread Chris Lattner
> Add a default parameter to a SmallVector constructor to allow it to > be called with just an initial length value, just like in std::vector. Ok. Should this be marked 'explicit'? -Chris > > --- > Diffs of the changes: (+1 -1) > > SmallVector.h |2 +- > 1 files changed, 1 insertion(+), 1

Re: [llvm-commits] CVS: llvm/include/llvm/ADT/SmallVector.h

2007-06-29 Thread Dan Gohman
>> Add a default parameter to a SmallVector constructor to allow it to >> be called with just an initial length value, just like in std::vector. > > Ok. > > Should this be marked 'explicit'? Yep. Good catch. Dan -- Dan Gohman, Cray Inc. ___ llvm-com