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

2007-04-08 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.111 -> 1.112 SlotCalculator.h updated: 1.50 -> 1.51 Writer.cpp updated: 1.170 -> 1.171 WriterInternals.h updated: 1.33 -> 1.34 --- Log message: For PR1146: http://llvm.org/PR1146 : Use ParamAttrsList for writing parame

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.106 -> 1.107 SlotCalculator.h updated: 1.46 -> 1.47 --- Log message: use typedefs where appropriate --- Diffs of the changes: (+3 -3) SlotCalculator.cpp |2 +- SlotCalculator.h |4 ++-- 2 files changed,

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.105 -> 1.106 SlotCalculator.h updated: 1.45 -> 1.46 --- Log message: The ModuleLevel vector is often quite sparse. Switch it to a DenseMap. This speeds up bcwriting of 447.dealII by 40%, from 4.63s to 3.32s. --- Di

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.104 -> 1.105 SlotCalculator.h updated: 1.44 -> 1.45 --- Log message: Make the ModuleLevel datastructure more sane. When a function-local value is inserted into the table, it remembers that the value needs to be popped

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.102 -> 1.103 SlotCalculator.h updated: 1.43 -> 1.44 --- Log message: Clone and specialize CreateSlotIfNeeded into CreateFunctionValueSlot to handle function-local values. This speeds up bcwriting a small 2.2% (10.384-

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.101 -> 1.102 SlotCalculator.h updated: 1.42 -> 1.43 --- Log message: make getSlot/getTypeSlot inline --- Diffs of the changes: (+11 -14) SlotCalculator.cpp | 12 SlotCalculator.h | 13 ++

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.100 -> 1.101 SlotCalculator.h updated: 1.41 -> 1.42 Writer.cpp updated: 1.161 -> 1.162 --- Log message: getTypeSlot can never fail --- Diffs of the changes: (+26 -62) SlotCalculator.cpp |4 +- SlotCalculator.h

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.99 -> 1.100 SlotCalculator.h updated: 1.40 -> 1.41 Writer.cpp updated: 1.160 -> 1.161 --- Log message: getSlot can never fail. Make it assert internally, eliminate checks in clients. Same for getTypeSlot. --- Diffs

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.98 -> 1.99 SlotCalculator.h updated: 1.39 -> 1.40 --- Log message: simplify getOrCreateTypeSlot, eliminat doInsertType. Eliminate post-order iteration stuff. --- Diffs of the changes: (+10 -32) SlotCalculator.cp

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.96 -> 1.97 SlotCalculator.h updated: 1.38 -> 1.39 --- Log message: rename getOrCreateSlot -> CreateSlotIfNeeded. Noone cares about the retval --- Diffs of the changes: (+14 -23) SlotCalculator.cpp | 31

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.95 -> 1.96 SlotCalculator.h updated: 1.37 -> 1.38 --- Log message: refactor callers of insertType. inline insertType into its one remaining caller. --- Diffs of the changes: (+11 -23) SlotCalculator.cpp | 28 +

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.94 -> 1.95 SlotCalculator.h updated: 1.36 -> 1.37 --- Log message: simplify code. --- Diffs of the changes: (+13 -33) SlotCalculator.cpp | 40 ++-- SlotCalculator.h |6 +

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.92 -> 1.93 SlotCalculator.h updated: 1.35 -> 1.36 --- Log message: Remove dead ctor --- Diffs of the changes: (+0 -13) SlotCalculator.cpp | 11 --- SlotCalculator.h |2 -- 2 files changed, 13 delet

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.91 -> 1.92 SlotCalculator.h updated: 1.34 -> 1.35 --- Log message: ModuleContainsAllFunctionConstants is always true --- Diffs of the changes: (+10 -39) SlotCalculator.cpp | 44 ++

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.89 -> 1.90 SlotCalculator.h updated: 1.33 -> 1.34 --- Log message: inline hasNullValue, rename some variables, simplify some code. --- Diffs of the changes: (+24 -30) SlotCalculator.cpp | 53

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.87 -> 1.88 SlotCalculator.h updated: 1.32 -> 1.33 --- Log message: merge doInsertValue into insertValue --- Diffs of the changes: (+43 -54) SlotCalculator.cpp | 96 +++

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.86 -> 1.87 SlotCalculator.h updated: 1.31 -> 1.32 --- Log message: insertvalue's second operand is always false --- Diffs of the changes: (+7 -11) SlotCalculator.cpp | 16 ++-- SlotCalculator.h |

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.85 -> 1.86 SlotCalculator.h updated: 1.30 -> 1.31 --- Log message: remove dead 'dontIgnore' flag for insertType --- Diffs of the changes: (+12 -12) SlotCalculator.cpp | 22 +++--- SlotCalculator.

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.84 -> 1.85 SlotCalculator.h updated: 1.29 -> 1.30 Writer.cpp updated: 1.159 -> 1.160 --- Log message: rename getSlot -> getSlotType and getOrCreateSlot ->getOrCreateTypeSlot for types. --- Diffs of the changes: (+43

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

2007-02-09 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.83 -> 1.84 SlotCalculator.h updated: 1.28 -> 1.29 --- Log message: Make SlotCalculator::getPlane an inline function. It is used inside loops. --- Diffs of the changes: (+8 -9) SlotCalculator.cpp |8 S

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

2007-02-08 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.82 -> 1.83 SlotCalculator.h updated: 1.27 -> 1.28 Writer.cpp updated: 1.156 -> 1.157 --- Log message: 1. constants can never occur in the symbol table. 2. All function-level constants are now incorporated into the modu

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

2007-02-05 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.81 -> 1.82 SlotCalculator.h updated: 1.26 -> 1.27 Writer.cpp updated: 1.155 -> 1.156 WriterInternals.h updated: 1.28 -> 1.29 --- Log message: For PR411: http://llvm.org/PR411 : This patch replaces the SymbolTable class

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

2007-01-30 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.80 -> 1.81 SlotCalculator.h updated: 1.25 -> 1.26 Writer.cpp updated: 1.153 -> 1.154 --- Log message: Bye, Bye Compaction Tables. The benefit compaction tables provides doesn't outweight its computational costs. This p

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

2007-01-12 Thread Chris Lattner
On Jan 11, 2007, at 11:06 PM, Reid Spencer wrote: > @@ -484,12 +488,12 @@ >assert(Slot >= 0 && "No slot number for value!?!?"); > >if (isa(*TI)) { > -unsigned IdxId; > -switch (I->getOperand(Idx)->getType()->getTypeID()) { > -default: assert(0 && "Unknown ind

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

2007-01-12 Thread Chris Lattner
On Jan 11, 2007, at 11:06 PM, Reid Spencer wrote: > @@ -484,12 +488,12 @@ >assert(Slot >= 0 && "No slot number for value!?!?"); > >if (isa(*TI)) { > -unsigned IdxId; > -switch (I->getOperand(Idx)->getType()->getTypeID()) { > -default: assert(0 && "Unknown ind

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

2007-01-11 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.78 -> 1.79 SlotCalculator.h updated: 1.24 -> 1.25 Writer.cpp updated: 1.145 -> 1.146 --- Log message: For PR1064: http://llvm.org/PR1064 : Implement the arbitrary bit-width integer feature. The feature allows integers

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

2007-01-05 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.77 -> 1.78 SlotCalculator.h updated: 1.23 -> 1.24 Writer.cpp updated: 1.141 -> 1.142 WriterInternals.h updated: 1.27 -> 1.28 --- Log message: For PR411: http://llvm.org/PR411 : Take an incremental step towards type pla

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

2006-01-25 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: SlotCalculator.cpp updated: 1.72 -> 1.73 SlotCalculator.h updated: 1.22 -> 1.23 Writer.cpp updated: 1.118 -> 1.119 WriterInternals.h updated: 1.26 -> 1.27 --- Log message: add bc reader/writer support for inline asm --- Diffs of the changes: (+4