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

2007-05-02 Thread Devang Patel
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.180 - 1.181 --- Log message: Use 'static const char' instead of 'static const int'. Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. --- Diffs

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

2007-05-02 Thread Devang Patel
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.181 - 1.182 --- Log message: Drop 'const' --- Diffs of the changes: (+1 -1) Writer.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Bytecode/Writer/Writer.cpp diff -u

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

2007-05-01 Thread Devang Patel
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.179 - 1.180 --- Log message: Do not use typeinfo to identify pass in pass manager. --- Diffs of the changes: (+1 -0) Writer.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/Bytecode/Writer/Writer.cpp diff

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

2007-04-29 Thread Anton Korobeynikov
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.178 - 1.179 --- Log message: Implement protected visibility. This partly implements PR1363: http://llvm.org/PR1363 . Linker should be taught to deal with protected symbols. --- Diffs of the changes: (+3 -2) Writer.cpp

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

2007-04-25 Thread Anton Korobeynikov
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.176 - 1.177 --- Log message: Implement aliases. This fixes PR1017: http://llvm.org/PR1017 and it's dependent bugs. CFE part will follow. --- Diffs of the changes: (+26 -1) Writer.cpp | 27 ++-

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

2007-04-22 Thread Christopher Lamb
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.175 - 1.176 --- Log message: PR400: http://llvm.org/PR400 work phase 1. Add attributed load/store instructions for volatile/align to LLVM. --- Diffs of the changes: (+35 -6) Writer.cpp | 41

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

2007-04-21 Thread Christopher Lamb
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.173 - 1.174 --- Log message: add support for alignment attributes on load/store instructions --- Diffs of the changes: (+27 -5) Writer.cpp | 32 +++- 1 files changed, 27 insertions(+), 5

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

2007-04-21 Thread Reid Spencer
Christopher, On Sat, 2007-04-21 at 03:17 -0500, Christopher Lamb wrote: Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.173 - 1.174 --- Log message: add support for alignment attributes on load/store instructions --- Diffs of the changes: (+27 -5)

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

2007-04-21 Thread Jeff Cohen
Reid Spencer wrote: Christopher, I'll answer my own question .. You're compressing the alignment to a smaller value by extracting its log. I didn't get that until I read the Reader.cpp code :) Reid. It's still very expensive. There are alternative approaches that are much faster and may

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

2007-04-21 Thread Jeff Cohen
Jeff Cohen wrote: Reid Spencer wrote: Christopher, I'll answer my own question .. You're compressing the alignment to a smaller value by extracting its log. I didn't get that until I read the Reader.cpp code :) Reid. It's still very expensive. There are alternative approaches

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

2007-04-21 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.174 - 1.175 --- Log message: Revert Christopher Lamb's load/store alignment changes. --- Diffs of the changes: (+5 -27) Writer.cpp | 32 +--- 1 files changed, 5 insertions(+), 27

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

2007-04-16 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.172 - 1.173 --- Log message: Make long line fit in 80 cols. --- Diffs of the changes: (+1 -1) Writer.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Bytecode/Writer/Writer.cpp diff -u

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

2007-04-08 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.169 - 1.170 --- Log message: Fix a bug that caused alignment information to occasionally get stripped off of an allocation instruction when writing to bytecode. --- Diffs of the changes: (+11 -2) Writer.cpp | 13

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

2007-02-27 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.168 - 1.169 --- Log message: Implement writing of arbitrary precision integers. --- Diffs of the changes: (+14 -4) Writer.cpp | 18 ++ 1 files changed, 14 insertions(+), 4 deletions(-) Index:

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

2007-02-14 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.167 - 1.168 --- Log message: For PR1195: http://llvm.org/PR1195 : Rename PackedType - VectorType, ConstantPacked - ConstantVector, and PackedTyID - VectorTyID. No functional changes. --- Diffs of the changes: (+4 -4)

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

2007-02-13 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.166 - 1.167 --- Log message: From Dan Gohman: While preparing http://llvm.org/PR1198: http://llvm.org/PR1198 I noticed several asserts protecting unprepared code from i128 types that weren't actually failing when they

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

2007-02-09 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.158 - 1.159 --- Log message: Use int32_t and uint32_t to hopefully help weak compilers (cygwin) not generate errors about being unable to resolve overloaded type. --- Diffs of the changes: (+3 -3) Writer.cpp |6

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.162 - 1.163 --- Log message: make the datastructure used in BytecodeWriter::outputValueSymbolTable *slightly* less abusive of memory. This speeds up the bcwriter from 1.83s to 1.32s (39% faster) on 447.dealII. --- Diffs of

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

2007-02-09 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.163 - 1.164 --- Log message: Make BytecodeWriter::outputValueSymbolTable *significantly* less abusive of memory, through a combination of DenseMap and SmallVector. This speeds up bcwriter on 447.dealII from 1.31s to 0.82s

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

2007-02-08 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.157 - 1.158 WriterInternals.h updated: 1.29 - 1.30 --- Log message: remove dead code, the outputConstants function is now only called at module scope. --- Diffs of the changes: (+6 -14) Writer.cpp| 18

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

2007-01-30 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.154 - 1.155 --- Log message: For PR1136: http://llvm.org/PR1136 : Rename GlobalVariable::isExternal as isDeclaration to avoid confusion with external linkage types. --- Diffs of the changes: (+5 -5) Writer.cpp | 10

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

2007-01-26 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.152 - 1.153 --- Log message: For PR761: http://llvm.org/PR761 : Remove the Endianness and PointerSize fields from the ModuleHeader and replace it with the DataLayout field. --- Diffs of the changes: (+5 -11) Writer.cpp |

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

2007-01-18 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.150 - 1.151 --- Log message: For PR761: http://llvm.org/PR761 : Implement reading and writing of the Module's data layout string. --- Diffs of the changes: (+3 -0) Writer.cpp |3 +++ 1 files changed, 3 insertions(+)

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

2007-01-18 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.151 - 1.152 --- Log message: Back out last changes for dataLayout. Much more work is needed. --- Diffs of the changes: (+0 -3) Writer.cpp |3 --- 1 files changed, 3 deletions(-) Index:

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

2007-01-14 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.149 - 1.150 --- Log message: rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger. rename Type::getIntegralTypeMask to Type::getIntegerTypeMask. This makes naming much more consistent. For

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

2007-01-12 Thread Anton Korobeynikov
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.146 - 1.147 --- Log message: * PIC codegen for X86/Linux has been implemented * PIC-aware internal structures in X86 Codegen have been refactored * Visibility (default/weak) has been added * Docs fixes (external weak linkage,

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

2007-01-12 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.147 - 1.148 --- Log message: remove unneeded special case for bool --- Diffs of the changes: (+1 -6) Writer.cpp |7 +-- 1 files changed, 1 insertion(+), 6 deletions(-) Index: llvm/lib/Bytecode/Writer/Writer.cpp

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

2007-01-12 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.148 - 1.149 --- Log message: Make sure that GEP indices are only 32 or 64 bits. We're not ready for indices with other bit sizes yet. --- Diffs of the changes: (+10 -6) Writer.cpp | 16 ++-- 1 files

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

2007-01-11 Thread Zhou Sheng
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.142 - 1.143 --- Log message: For PR1043: http://llvm.org/PR1043 : Merge ConstantIntegral and ConstantBool into ConstantInt. Remove ConstantIntegral and ConstantBool from LLVM. --- Diffs of the changes: (+1 -1) Writer.cpp

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

2007-01-11 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.143 - 1.144 --- Log message: Rename BoolTy as Int1Ty. Patch by Sheng Zhou. --- Diffs of the changes: (+1 -1) Writer.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index:

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

2007-01-11 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.144 - 1.145 --- Log message: Implement review feedback for the ConstantBool-ConstantInt merge. Chris recommended that getBoolValue be replaced with getZExtValue and that get(bool) be replaced by get(const Type*, uint64_t).

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

2006-12-17 Thread Bill Wendling
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.138 - 1.139 --- Log message: This snuck in. Reverted. --- Diffs of the changes: (+0 -2) Writer.cpp |2 -- 1 files changed, 2 deletions(-) Index: llvm/lib/Bytecode/Writer/Writer.cpp diff -u

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

2006-12-17 Thread Bill Wendling
Again, I'm really sorry that this cruft got in there...The patch I did was rather big and a few things escaped my attention. -bw On Dec 16, 2006, at 9:55 PM, Jeff Cohen wrote: This breaks the VC++ build with a binary '' : no operator found which takes a left-hand operand of type

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

2006-12-17 Thread Jeff Cohen
VC++ is happy again. Thanks. Bill Wendling wrote: Again, I'm really sorry that this cruft got in there...The patch I did was rather big and a few things escaped my attention. -bw ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu

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

2006-12-16 Thread Bill Wendling
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.137 - 1.138 --- Log message: Added an automatic cast to std::ostream* etc. from OStream. We then can rework the hacks that had us passing OStream in. We pass in std::ostream* instead, check for null, and then dispatch to the

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

2006-12-16 Thread Jeff Cohen
This breaks the VC++ build with a binary '' : no operator found which takes a left-hand operand of type 'llvm::OStream' (or there is no acceptable conversion) error. I would try to fix it, but what is the purpose of this code other than to print some random hex digits? Bill Wendling wrote:

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

2006-12-08 Thread Andrew Lenharth
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.136 - 1.137 --- Log message: Packed Structures --- Diffs of the changes: (+5 -3) Writer.cpp |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) Index: llvm/lib/Bytecode/Writer/Writer.cpp diff -u

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

2006-12-06 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.134 - 1.135 --- Log message: Detemplatize the Statistic class. The only type it is instantiated with is 'unsigned'. --- Diffs of the changes: (+1 -1) Writer.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-)

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

2006-12-05 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.133 - 1.134 --- Log message: Fix a CmpInst writing bug by removing merge cruft that I *know* I've removed before. Also, make sure we write the predicate value for Cmp instructions using instruction format 0. --- Diffs of

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

2006-12-03 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.131 - 1.132 --- Log message: Support ICmp/FCmp constant expression reading and writing. --- Diffs of the changes: (+7 -0) Writer.cpp |7 +++ 1 files changed, 7 insertions(+) Index:

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

2006-12-02 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.130 - 1.131 --- Log message: Implement reading and writing of the ICmp and FCmp instructions. --- Diffs of the changes: (+9 -0) Writer.cpp |9 + 1 files changed, 9 insertions(+) Index:

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

2006-11-26 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.128 - 1.129 --- Log message: For PR950: http://llvm.org/PR950 : The long awaited CAST patch. This introduces 12 new instructions into LLVM to replace the cast instruction. Corresponding changes throughout LLVM are provided.

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

2006-11-08 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.127 - 1.128 --- Log message: Bump the bytecode version number to 7. Implement upgrade of version 6 and version 6 bytecode. --- Diffs of the changes: (+1 -1) Writer.cpp |2 +- 1 files changed, 1 insertion(+), 1

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

2006-11-02 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.126 - 1.127 --- Log message: For PR786: http://llvm.org/PR786 : Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused

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

2006-10-20 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.124 - 1.125 --- Log message: For PR950: http://llvm.org/PR950 : This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of

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

2006-09-14 Thread Anton Korobeynikov
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.123 - 1.124 --- Log message: Adding dllimport, dllexport and external weak linkage types. DLL* linkages got full (I hope) codegeneration support in C both x86 assembler backends. External weak linkage added for future use,

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

2006-07-28 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.122 - 1.123 --- Log message: formatting cleanups --- Diffs of the changes: (+11 -12) Writer.cpp | 23 +++ 1 files changed, 11 insertions(+), 12 deletions(-) Index:

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

2006-06-07 Thread Reid Spencer
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.121 - 1.122 --- Log message: For PR787: http://llvm.cs.uiuc.edu/PR787 : Provide new llvm::sys::Program facilities for converting the stdout and stdin to binary mode. There is no standard way to do this and the available

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

2006-05-26 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.120 - 1.121 --- Log message: Fix a bug in the bc reader/writer: we were not correctly encoding varargs nonccc calls (we were dropping the CC and tail flag). This broke several FORTRAN programs. Testcase here:

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

2006-05-19 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.119 - 1.120 --- Log message: Fix misencoding of calling conventions --- Diffs of the changes: (+3 -2) Writer.cpp |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Index:

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

2006-01-23 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.116 - 1.117 --- Log message: Add support for reading/writing inline asm --- Diffs of the changes: (+3 -0) Writer.cpp |3 +++ 1 files changed, 3 insertions(+) Index: llvm/lib/Bytecode/Writer/Writer.cpp diff -u

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

2006-01-23 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.117 - 1.118 --- Log message: Rename method --- Diffs of the changes: (+1 -1) Writer.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Bytecode/Writer/Writer.cpp diff -u

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

2005-11-05 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.108 - 1.109 --- Log message: Write/read allocation instruction alignment info to .bc files. --- Diffs of the changes: (+7 -0) Writer.cpp |7 +++ 1 files changed, 7 insertions(+) Index:

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

2005-11-05 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.109 - 1.110 --- Log message: Read/write global variable alignments if present --- Diffs of the changes: (+25 -6) Writer.cpp | 31 +-- 1 files changed, 25 insertions(+), 6 deletions(-)

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

2005-11-05 Thread Chris Lattner
Changes in directory llvm/lib/Bytecode/Writer: Writer.cpp updated: 1.110 - 1.111 --- Log message: encode/decode function alignment in bc files --- Diffs of the changes: (+14 -10) Writer.cpp | 24 ++-- 1 files changed, 14 insertions(+), 10 deletions(-) Index: