summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/Reader.h
Commit message (Collapse)AuthorAgeFilesLines
* Adjust to changes in User class and minor changes in instruction ctors.Chris Lattner2005-01-291-8/+13
| | | | llvm-svn: 19894
* Remove a dead field, make the map go to integer type ID to hash better andChris Lattner2004-12-091-2/+2
| | | | | | avoid a getType. llvm-svn: 18691
* Cleanups. Null out pointer after freeing it for paranoiaChris Lattner2004-11-151-5/+5
| | | | llvm-svn: 17855
* Simplify handling of decompressionReid Spencer2004-11-141-15/+4
| | | | llvm-svn: 17769
* Add comments per CL code review.Reid Spencer2004-11-071-2/+6
| | | | llvm-svn: 17578
* Add support for compressed bytecodeReid Spencer2004-11-061-2/+15
| | | | llvm-svn: 17535
* Add support for undef, unreachable, and function flagsChris Lattner2004-10-161-3/+15
| | | | llvm-svn: 17054
* Fit to 80 colsChris Lattner2004-10-141-7/+6
| | | | llvm-svn: 16964
* Add boolean file format flags in preparation for version 5 bytecode.Reid Spencer2004-08-211-3/+18
| | | | | | | | Remove the "processFunctions" boolean from ParseBytecode as it is no longer needed. This is part of avoiding double reading of functions when analyzing bytecode. llvm-svn: 15982
* Bytecode File Format Changes:Reid Spencer2004-08-171-2/+5
| | | | | | | | - 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
* Make getGlobalTableValue not use getTypeSlot, this speeds up the bc readerChris Lattner2004-08-041-2/+3
| | | | | | by 5% on eon llvm-svn: 15452
* Do not do a linear std::find to reconstruct information we had, but later threwChris Lattner2004-08-031-12/+14
| | | | | | away. This speeds up by .bc reader by 30% in a profile build on 252.eon. llvm-svn: 15450
* Don't create a backwards compatibility flag for something that was aReid Spencer2004-07-251-4/+0
| | | | | | regression bug introduced in release 1.2 llvm-svn: 15219
* bug 263:Reid Spencer2004-07-251-0/+35
| | | | | | | | | | | | | | | | - 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
* User ValueListTy as the type of the ValueList. This avoides the ValueListReid Spencer2004-07-181-1/+1
| | | | | | | from being treated like a Function which can cause the contents of the list to be come invalidated. llvm-svn: 14940
* - Rename two methods to give them more meaningReid Spencer2004-07-111-2/+8
| | | | | | | - Add read_float and read_double in preparation for a correct implementation of bytecode floating point support. llvm-svn: 14764
* Error Handling Cleanup:Reid Spencer2004-07-091-0/+2
| | | | | | | | | | - get rid of PARSE_ERROR macro - add error(std::string) function - use error(std::string) for all errors - make input dependent asserts call error(std::string) instead - ensure asserts are only for logic bugs, not input discrepancies. llvm-svn: 14729
* Remove definition and use of OtherVal enumerator. This just fixes a thinko.Reid Spencer2004-07-061-1/+1
| | | | llvm-svn: 14634
* Finalize bytecode dumping. The "handleFinish" method was getting calledReid Spencer2004-07-051-3/+4
| | | | | | | | too soon so the function data was not getting dumped (it was generated after the call handleFinish). Also cleaned up the output format for proper indentation. llvm-svn: 14627
* - Make ValueList an "OtherVal" user of Values to ensure it doesn't getReid Spencer2004-07-041-60/+51
| | | | | | | | mistaken for anything else. - Move function descriptions to Reader.cpp file per Chris. - Remove tabs. llvm-svn: 14602
* This is a slimming down of the previous ReaderInternals.h that justReid Spencer2004-06-291-0/+470
declares the BytecodeReader class. llvm-svn: 14495
OpenPOWER on IntegriCloud