summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer/Writer.cpp
Commit message (Collapse)AuthorAgeFilesLines
* formatting cleanupsChris Lattner2006-07-281-12/+11
| | | | llvm-svn: 29396
* For PR787:Reid Spencer2006-06-071-0/+6
| | | | | | | | | | | | 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 mechanisms are platform specific. Adjust the bytecode reader and writer to use these methods when their input is stdin or output is stdout. THis avoids the problem with \n writing CRLF to a bytecode file on windows. Patch Contributed by Michael Smith. llvm-svn: 28722
* Fix a bug in the bc reader/writer: we were not correctly encoding varargsChris Lattner2006-05-261-1/+10
| | | | | | | | | nonccc calls (we were dropping the CC and tail flag). This broke several FORTRAN programs. Testcase here: Regression/Assembler/2006-05-26-VarargsCallEncode.ll llvm-svn: 28501
* Fix misencoding of calling conventionsChris Lattner2006-05-191-2/+3
| | | | llvm-svn: 28411
* add bc reader/writer support for inline asmChris Lattner2006-01-251-3/+19
| | | | llvm-svn: 25621
* Rename methodChris Lattner2006-01-241-1/+1
| | | | llvm-svn: 25571
* Add support for reading/writing inline asmChris Lattner2006-01-231-0/+3
| | | | llvm-svn: 25564
* trivial cleanupChris Lattner2005-11-121-2/+2
| | | | llvm-svn: 24330
* Read and write section info from/to .bc filesChris Lattner2005-11-121-6/+38
| | | | llvm-svn: 24321
* Wrap long line.Jeff Cohen2005-11-121-1/+2
| | | | llvm-svn: 24320
* Fix VC++ warning that bools cannot be ORed.Jeff Cohen2005-11-121-1/+1
| | | | llvm-svn: 24319
* don't misencode CC#'sChris Lattner2005-11-061-3/+4
| | | | llvm-svn: 24219
* encode/decode function alignment in bc filesChris Lattner2005-11-061-10/+14
| | | | llvm-svn: 24218
* Read/write global variable alignments if presentChris Lattner2005-11-061-6/+25
| | | | llvm-svn: 24216
* Write/read allocation instruction alignment info to .bc files.Chris Lattner2005-11-051-0/+7
| | | | llvm-svn: 24203
* Culling out use of unions for converting FP to bits and vice versa.Jim Laskey2005-08-171-22/+15
| | | | llvm-svn: 22838
* Eliminate all remaining tabs and trailing spaces.Jeff Cohen2005-07-271-1/+1
| | | | llvm-svn: 22523
* core changes for varargsAndrew Lenharth2005-06-181-10/+1
| | | | llvm-svn: 22254
* fix the assertionChris Lattner2005-05-131-1/+1
| | | | llvm-svn: 21994
* Silence VC++ warnings about unsafe mixing of ints and bools with the | operator.Jeff Cohen2005-05-071-2/+2
| | | | llvm-svn: 21758
* encode calling conventions for call/invoke instructions.Chris Lattner2005-05-061-7/+43
| | | | llvm-svn: 21751
* encode function calling convs in the bytecode file. invoke and call areChris Lattner2005-05-061-1/+8
| | | | | | still to come. llvm-svn: 21749
* wrap a longlineChris Lattner2005-05-061-1/+2
| | | | llvm-svn: 21747
* add bytecode reader support for tail callsChris Lattner2005-05-061-1/+4
| | | | llvm-svn: 21727
* Remove vim settings from source code; people should use llvm/utils/vim/vimrcMisha Brukman2005-05-051-1/+0
| | | | llvm-svn: 21704
* add support for undef values of opaque type, addressing PR541Chris Lattner2005-05-051-3/+3
| | | | llvm-svn: 21701
* * Remove trailing whitespaceMisha Brukman2005-04-211-65/+65
| | | | | | * Convert tabs to spaces llvm-svn: 21418
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-151-1/+1
| | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597
* Fix an apparent ambiguity compiling on PPCChris Lattner2005-03-071-1/+1
| | | | llvm-svn: 20507
* simplify and speed up some codeChris Lattner2005-03-061-1/+1
| | | | llvm-svn: 20472
* Fix spelling, patch contributed by Gabor Greif!Chris Lattner2005-02-271-1/+1
| | | | llvm-svn: 20343
* Check in some patches for better assertionsChris Lattner2004-12-041-0/+1
| | | | llvm-svn: 18500
* Adjust to Compressor interface changeReid Spencer2004-11-251-2/+1
| | | | llvm-svn: 18249
* Do not emit FunctionBlock blocks for external functions. This shrinksChris Lattner2004-11-151-3/+5
| | | | | | bytecode files by about 8 bytes per external function llvm-svn: 17859
* Disable this change, it was prematureChris Lattner2004-11-151-3/+3
| | | | llvm-svn: 17857
* If a function is external, do not output a FunctionBlock for the functionChris Lattner2004-11-151-3/+3
| | | | | | | AT ALL. This saves 11 bytes per external function from the bytecode file, and is also required to make GhostLinkage work. llvm-svn: 17854
* Simplify compression code by using the high level interface to the CompressorReid Spencer2004-11-141-73/+4
| | | | llvm-svn: 17771
* * Add comments and cleanup per CL code reviewReid Spencer2004-11-071-31/+65
| | | | | | | * Make signature for compressed bytecode llvc instead of unreadable * Make the CompressionContext have a constructor and destructor. llvm-svn: 17576
* Add support for compressed bytecodeReid Spencer2004-11-061-20/+77
| | | | llvm-svn: 17535
* Add support for undef, unreachable, and function flagsChris Lattner2004-10-161-14/+17
| | | | llvm-svn: 17054
* Today is not my day. Fix broken #Chris Lattner2004-10-141-1/+1
| | | | llvm-svn: 16967
* unbreak previous checkin :(Chris Lattner2004-10-141-1/+1
| | | | llvm-svn: 16966
* Add back a missing parenChris Lattner2004-10-141-2/+2
| | | | llvm-svn: 16965
* Wrap to 80 cols, delete some seriously old debugging printoutsChris Lattner2004-10-141-26/+15
| | | | llvm-svn: 16963
* Minor cleanupsChris Lattner2004-10-141-7/+3
| | | | llvm-svn: 16961
* Changes For Bug 352Reid Spencer2004-09-011-2/+2
| | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137
* Prevent an empty compaction table from being written to the bytecode file.Reid Spencer2004-08-271-8/+12
| | | | llvm-svn: 16063
* Packed types, brought to you by Brad JonesBrian Gaeke2004-08-201-0/+21
| | | | llvm-svn: 15938
* Bytecode File Format Changes:Reid Spencer2004-08-171-25/+16
| | | | | | | | - File format version number bumped to 4 - Writer will now align nothing - Reader now only expects alignment for version 3 or earlier llvm-svn: 15875
* Correct the comments in the symbol table writer to reflect reality.Reid Spencer2004-08-171-3/+7
| | | | llvm-svn: 15848
OpenPOWER on IntegriCloud