summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Writer
Commit message (Collapse)AuthorAgeFilesLines
* This mega patch converts us from using Function::a{iterator|begin|end} toChris Lattner2005-03-152-5/+5
| | | | | | | | 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-062-4/+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-042-0/+4
| | | | 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
* Fix name of libraryReid Spencer2004-10-281-1/+1
| | | | llvm-svn: 17304
* Fix the previous bug the correct way. This fixes ptrdist/bcChris Lattner2004-10-241-2/+2
| | | | llvm-svn: 17201
* Fix a bug that Brian brought to my attention. This corrects:Chris Lattner2004-10-231-1/+2
| | | | | | Assembler/2004-10-22-BCWriterUndefBug.llx llvm-svn: 17177
* We won't use automakeReid Spencer2004-10-222-674/+0
| | | | llvm-svn: 17155
* Initial automake generated Makefile templateReid Spencer2004-10-181-0/+659
| | | | llvm-svn: 17136
* 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
* Update to reflect changes in Makefile rules.Reid Spencer2004-10-131-4/+4
| | | | llvm-svn: 16950
* Initial version of automake Makefile.am file.Reid Spencer2004-10-101-0/+15
| | | | llvm-svn: 16885
* Changes For Bug 352Reid Spencer2004-09-013-5/+5
| | | | | | | | 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
* Add the CompactionTableIsEmpty function so that we can determine if aReid Spencer2004-08-262-0/+29
| | | | | | | CompactionTable really needs to be emitted. This is not a straight forward computation, hence the need for a member function here. llvm-svn: 16062
* Packed types, brought to you by Brad JonesBrian Gaeke2004-08-201-0/+21
| | | | llvm-svn: 15938
* Bytecode File Format Changes:Reid Spencer2004-08-172-30/+17
| | | | | | | | - 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
* Stop using getValues().Alkis Evlogimenos2004-08-041-4/+3
| | | | llvm-svn: 15487
* Merge i*.h headers into Instructions.h as part of bug403.Alkis Evlogimenos2004-07-291-1/+1
| | | | llvm-svn: 15325
* Adjust to new Module.h interface for dependent libraries.Reid Spencer2004-07-251-2/+2
| | | | llvm-svn: 15218
* bug 263:Reid Spencer2004-07-255-783/+832
| | | | | | | | | | | | | | | | - encode/decode target triple and dependent libraries bug 401: - fix encoding/decoding of FP values to be little-endian only bug 402: - initial (compatible) cut at 24-bit types instead of 32-bit - reduce size of block headers by 50% Other: - cleanup Writer by consolidating to one compilation unit, rem. other files - use a std::vector instead of std::deque so the buffer can be allocated in multiples of 64KByte chunks rather than in multiples of some smaller (default) number. llvm-svn: 15210
* bug 122:Reid Spencer2004-07-181-30/+16
| | | | | | | | - Replace ConstantPointerRef usage with GlobalValue usage - Minimize redundant isa<GlobalValue> usage - Correct isa<Constant> for GlobalValue subclass llvm-svn: 14942
* bug 122:Reid Spencer2004-07-181-8/+8
| | | | | | - Correct ordering of tests because for GlobalValue isa Constant llvm-svn: 14941
* Fix for PR341Chris Lattner2004-07-151-1/+1
| | | | llvm-svn: 14845
* Fix unused var warningChris Lattner2004-07-121-3/+2
| | | | llvm-svn: 14775
* Remove tabs.Reid Spencer2004-07-111-2/+2
| | | | llvm-svn: 14763
* Prepare the writer for a non-broken implementation of writing floatingReid Spencer2004-07-112-2/+19
| | | | | | | point values. This will be fixed when I figure out how to do it correctly without depending on knowing the endianess of a platform. llvm-svn: 14762
* Implementation of SlotTable went into header file. Note that this headerReid Spencer2004-07-041-116/+0
| | | | | | | is currently not being used but is retained because it will be the basis for a clean up of the SlotCalculator class. llvm-svn: 14612
* Remove Tabs.Reid Spencer2004-07-041-4/+4
| | | | llvm-svn: 14611
* Implement new output functions for types and compacted type planes. AlsoReid Spencer2004-07-041-51/+68
| | | | | | | remove use of Type::TypeTyID and Type::TypeTy since Type no longer inherits Value. llvm-svn: 14610
* Add new methods outputTypes and outputCompactionTypes for handling TypesReid Spencer2004-07-041-2/+4
| | | | | | separately from Values. This needed for bug 122. llvm-svn: 14609
* For bug 122:Reid Spencer2004-07-042-133/+237
| | | | | | | | | | | Separate Types from Values because Type no longer inherits from Value. The changes for this are too numerous to list. In essence, any data structure that contained a Value was doubled so that Types could be contained similarly. New members include Types, TypeMap, CompactionTypes, and CompactionTypeMap. Functions taking a Value* were overloaded with a variant that takes a Type* that acts on the new data structures. llvm-svn: 14608
* - Type::TypeTyID doesn't exist any more (bug 122)Reid Spencer2004-07-041-5/+1
| | | | | | - Types don't have names any more, just write them on ostream directly llvm-svn: 14606
* Move SlotCalculator.h to lib/Bytecode/Writer since that is the only placeReid Spencer2004-07-041-0/+141
| | | | | | that needs it after the Type != Value changes (bug 122). llvm-svn: 14605
* No functionality changes here:Chris Lattner2004-06-251-7/+4
| | | | | | | * Some warning fixes for MSVC * Minor simplification to the deque scanning code llvm-svn: 14417
* Fix more warnings building with VC++Chris Lattner2004-06-252-4/+3
| | | | llvm-svn: 14391
OpenPOWER on IntegriCloud