summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader/Reader.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug in my previous patch which broke building llvm/runtime when using ↵Chris Lattner2006-07-071-1/+1
| | | | | | llvm-gcc3. llvm-svn: 29041
* Change the ModuleProvider interface to not throw exceptions.Chris Lattner2006-07-061-5/+20
| | | | llvm-svn: 29024
* Fix auto-upgrade of intrinsics to work properly with both assembly andReid Spencer2006-01-271-3/+3
| | | | | | | bytecode reading. This code is crufty, the result of much hacking to get things working correctly. Cleanup patches will follow. llvm-svn: 25682
* add bc reader/writer support for inline asmChris Lattner2006-01-251-2/+2
| | | | llvm-svn: 25621
* Add a flag to identify bytecode files that have intrinsic functions thatReid Spencer2006-01-191-0/+7
| | | | | | need to be upgraded. llvm-svn: 25445
* Use a map to cache the ModuleType information, so we can do logarithmicChris Lattner2005-10-031-0/+6
| | | | | | | | | | | | | lookups instead of linear time lookups. This speeds up bc parsing of a large file from 137.834u 118.256s 4:27.96 to 132.611u 114.436s 4:08.53 with a release build. llvm-svn: 23611
* This is a dummy, it doesn't matter what the ValueType isChris Lattner2005-08-161-1/+1
| | | | llvm-svn: 22809
* remove some dead (always dynamically false) flagsChris Lattner2005-05-061-15/+0
| | | | llvm-svn: 21752
* Remove trailing whitespaceMisha Brukman2005-04-211-28/+28
| | | | llvm-svn: 21417
* 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