[llvm-commits] [llvm-gcc] Pass cleanup for llvm-backend.cpp

2007-02-11 Thread Reid Spencer
The attached patch does two simple things: 1. Adds the StripDeadPrototypes pass to llvm-backend. When the bitwidth attribute patch lands this will be needed. 2. Lines up the comments after each pass insertion. Reid. Index: gcc/llvm-backend.cpp =

[llvm-commits] CVS: llvm/lib/Bytecode/Writer/SlotCalculator.cpp Writer.cpp WriterInternals.h

2007-02-11 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.110 -> 1.111 Writer.cpp updated: 1.165 -> 1.166 WriterInternals.h updated: 1.32 -> 1.33 --- Log message: Switch ValueSymbolTable to use StringMap instead of std::map as its main datastructure. There are many improvem

[llvm-commits] CVS: llvm/include/llvm/Constant.h GlobalValue.h User.h Value.h ValueSymbolTable.h

2007-02-11 Thread Chris Lattner
Changes in directory llvm/include/llvm: Constant.h updated: 1.33 -> 1.34 GlobalValue.h updated: 1.32 -> 1.33 User.h updated: 1.36 -> 1.37 Value.h updated: 1.92 -> 1.93 ValueSymbolTable.h updated: 1.7 -> 1.8 --- Log message: Switch ValueSymbolTable to use StringMap instead of std::map as its ma

[llvm-commits] CVS: llvm/lib/VMCore/BasicBlock.cpp Function.cpp Instruction.cpp SymbolTableListTraitsImpl.h Value.cpp ValueSymbolTable.cpp Verifier.cpp

2007-02-11 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: BasicBlock.cpp updated: 1.74 -> 1.75 Function.cpp updated: 1.112 -> 1.113 Instruction.cpp updated: 1.63 -> 1.64 SymbolTableListTraitsImpl.h updated: 1.9 -> 1.10 Value.cpp updated: 1.65 -> 1.66 ValueSymbolTable.cpp updated: 1.10 -> 1.11 Verifier.cpp updated:

[llvm-commits] CVS: llvm/lib/Transforms/IPO/StripSymbols.cpp

2007-02-11 Thread Chris Lattner
Changes in directory llvm/lib/Transforms/IPO: StripSymbols.cpp updated: 1.14 -> 1.15 --- Log message: Switch ValueSymbolTable to use StringMap instead of std::map as its main datastructure. There are many improvements yet to be made, but this speeds up opt --std-compile-opts on 447.dealII by

[llvm-commits] CVS: llvm/docs/CommandGuide/llvmc.pod

2007-02-11 Thread Reid Spencer
Changes in directory llvm/docs/CommandGuide: llvmc.pod updated: 1.13 -> 1.14 --- Log message: Remove references to the now deprecated gccas and gccld. --- Diffs of the changes: (+1 -2) llvmc.pod |3 +-- 1 files changed, 1 insertion(+), 2 deletions(-) Index: llvm/docs/CommandGuide/llv

[llvm-commits] CVS: llvm/docs/CommandGuide/llvmgcc.pod llvmgxx.pod

2007-02-11 Thread Reid Spencer
Changes in directory llvm/docs/CommandGuide: llvmgcc.pod updated: 1.8 -> 1.9 llvmgxx.pod updated: 1.8 -> 1.9 --- Log message: Update for llvm-gcc v4.0 usage. --- Diffs of the changes: (+16 -36) llvmgcc.pod | 26 -- llvmgxx.pod | 26 -- 2

[llvm-commits] CVS: llvm/include/llvm/Instructions.h Module.h

2007-02-11 Thread Chris Lattner
Changes in directory llvm/include/llvm: Instructions.h updated: 1.53 -> 1.54 Module.h updated: 1.83 -> 1.84 --- Log message: add #include --- Diffs of the changes: (+2 -0) Instructions.h |1 + Module.h |1 + 2 files changed, 2 insertions(+) Index: llvm/include/llvm/Instruct

[llvm-commits] CVS: llvm/include/llvm/Analysis/AliasAnalysis.h

2007-02-11 Thread Chris Lattner
Changes in directory llvm/include/llvm/Analysis: AliasAnalysis.h updated: 1.27 -> 1.28 --- Log message: add #include --- Diffs of the changes: (+1 -0) AliasAnalysis.h |1 + 1 files changed, 1 insertion(+) Index: llvm/include/llvm/Analysis/AliasAnalysis.h diff -u llvm/include/llvm/Ana

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

2007-02-11 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: StringMap.h updated: 1.11 -> 1.12 --- Log message: add new ShouldRehash method to factor out common code. Fix the dtor to not delete tombstones. --- Diffs of the changes: (+14 -12) StringMap.h | 26 ++ 1 files changed,

[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y

2007-02-11 Thread Chris Lattner
Changes in directory llvm/lib/AsmParser: llvmAsmParser.y updated: 1.320 -> 1.321 --- Log message: add #include --- Diffs of the changes: (+1 -0) llvmAsmParser.y |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/AsmParser/llvmAsmParser.y diff -u llvm/lib/AsmParser/llvmAsmParser.y:

[llvm-commits] CVS: llvm/tools/llvm-upgrade/UpgradeParser.y

2007-02-11 Thread Chris Lattner
Changes in directory llvm/tools/llvm-upgrade: UpgradeParser.y updated: 1.62 -> 1.63 --- Log message: add #include --- Diffs of the changes: (+1 -0) UpgradeParser.y |1 + 1 files changed, 1 insertion(+) Index: llvm/tools/llvm-upgrade/UpgradeParser.y diff -u llvm/tools/llvm-upgrade/Upg

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

2007-02-11 Thread Chris Lattner
On Sun, 11 Feb 2007, Reid Spencer wrote: >> +// If the hash table is now more than 3/4 full, or if fewer than 1/8 of >> +// the buckets are empty (meaning that many are filled with tombstones), >> +// grow the table. > > If I get this right, it could also shrink the table, right? nope,

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

2007-02-11 Thread Reid Spencer
Chris, some comments .. On Sun, 2007-02-11 at 15:07 -0600, Chris Lattner wrote: > > Changes in directory llvm/include/llvm/ADT: > > StringMap.h updated: 1.10 -> 1.11 > --- > Log message: > > do not allow hash table to be filled with tombstones. > > > --- > Diffs of the changes: (+10 -4) >

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

2007-02-11 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: StringMap.h updated: 1.10 -> 1.11 --- Log message: do not allow hash table to be filled with tombstones. --- Diffs of the changes: (+10 -4) StringMap.h | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(-) Index: llvm/include

[llvm-commits] CVS: llvm/lib/Support/StringMap.cpp

2007-02-11 Thread Chris Lattner
Changes in directory llvm/lib/Support: StringMap.cpp updated: 1.8 -> 1.9 --- Log message: Add support for removing elements out of StringMap. --- Diffs of the changes: (+52 -11) StringMap.cpp | 63 +++--- 1 files changed, 52 insertions(

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

2007-02-11 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: StringMap.h updated: 1.9 -> 1.10 --- Log message: Add support for removing elements out of StringMap. --- Diffs of the changes: (+42 -1) StringMap.h | 43 ++- 1 files changed, 42 insertions(+), 1 deletion

[llvm-commits] CVS: llvm/test/Makefile

2007-02-11 Thread Reid Spencer
Changes in directory llvm/test: Makefile updated: 1.93 -> 1.94 --- Log message: For PR1196: http://llvm.org/PR1196 : Prevent infinite loops and memory bombs by setting a ulimit on time and space for running the dejagnu tests. --- Diffs of the changes: (+3 -2) Makefile |5 +++-- 1 file

[llvm-commits] CVS: llvm/lib/Support/StringMap.cpp

2007-02-11 Thread Chris Lattner
Changes in directory llvm/lib/Support: StringMap.cpp updated: 1.7 -> 1.8 --- Log message: Replace the ugly FindValue method with STL-like find methods. --- Diffs of the changes: (+43 -0) StringMap.cpp | 43 +++ 1 files changed, 43 insertions(+) I

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

2007-02-11 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: StringMap.h updated: 1.8 -> 1.9 --- Log message: Replace the ugly FindValue method with STL-like find methods. --- Diffs of the changes: (+16 -5) StringMap.h | 21 - 1 files changed, 16 insertions(+), 5 deletions(-) Index:

[llvm-commits] CVS: llvm/lib/VMCore/Value.cpp

2007-02-11 Thread Chris Lattner
Changes in directory llvm/lib/VMCore: Value.cpp updated: 1.64 -> 1.65 --- Log message: fix uninitialized variable --- Diffs of the changes: (+1 -0) Value.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/VMCore/Value.cpp diff -u llvm/lib/VMCore/Value.cpp:1.64 llvm/lib/VMCore/

[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/APInt/arith.cpp bigint.cpp sign.cpp

2007-02-11 Thread Zhou Sheng
Changes in directory llvm-test/SingleSource/UnitTests/Integer/APInt: arith.cpp updated: 1.2 -> 1.3 bigint.cpp updated: 1.2 -> 1.3 sign.cpp updated: 1.2 -> 1.3 --- Log message: Updates these test cases as APInt class modifed. --- Diffs of the changes: (+19 -16) arith.cpp |8 b

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

2007-02-11 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: StringMap.h updated: 1.7 -> 1.8 --- Log message: remove support for stringmap visitors now that iterators exist. --- Diffs of the changes: (+0 -10) StringMap.h | 10 -- 1 files changed, 10 deletions(-) Index: llvm/include/llvm/ADT/Str

[llvm-commits] CVS: llvm/lib/Support/StringMap.cpp

2007-02-11 Thread Chris Lattner
Changes in directory llvm/lib/Support: StringMap.cpp updated: 1.6 -> 1.7 --- Log message: remove support for stringmap visitors now that iterators exist. --- Diffs of the changes: (+0 -13) StringMap.cpp | 13 - 1 files changed, 13 deletions(-) Index: llvm/lib/Support/String

[llvm-commits] CVS: llvm/lib/Support/StringMap.cpp

2007-02-11 Thread Chris Lattner
Changes in directory llvm/lib/Support: StringMap.cpp updated: 1.5 -> 1.6 --- Log message: add support for iterators. --- Diffs of the changes: (+9 -2) StringMap.cpp | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) Index: llvm/lib/Support/StringMap.cpp diff -u llvm/lib

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

2007-02-11 Thread Chris Lattner
Changes in directory llvm/include/llvm/ADT: StringMap.h updated: 1.6 -> 1.7 --- Log message: add iterator support, plus support for size() and empty(). --- Diffs of the changes: (+75 -1) StringMap.h | 76 +++- 1 files changed, 75 in