summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bytecode/Reader
Commit message (Collapse)AuthorAgeFilesLines
...
* Read volatile loads/storesChris Lattner2003-09-081-2/+4
| | | | llvm-svn: 8401
* Remove a gross hack that was there to support bytecode files that are over a ↵Chris Lattner2003-09-083-65/+12
| | | | | | | | year old. If you still have these suckers laying around, you have GOT to rebuild them. geeze. llvm-svn: 8395
* Fix reading of invoke instrsChris Lattner2003-09-051-22/+23
| | | | llvm-svn: 8365
* Whoa, we were misreading invoke instructions "normal" destinations quite badly.Chris Lattner2003-09-051-2/+2
| | | | llvm-svn: 8363
* Non-functional changeChris Lattner2003-09-041-1/+1
| | | | llvm-svn: 8352
* Avoid printing meaningless numbersChris Lattner2003-09-031-4/+1
| | | | llvm-svn: 8342
* Follow the pattern of all other atu'sChris Lattner2003-09-031-6/+2
| | | | llvm-svn: 8340
* Allow modules to have 'any' pointer size and endianness. Luckily, we hadChris Lattner2003-08-242-12/+20
| | | | | | some space for extra flags, so we don't need to bump the revision number. llvm-svn: 8118
* Rename SwitchInst::dest_push_back -> addCaseChris Lattner2003-08-231-2/+2
| | | | llvm-svn: 8089
* Spell `necessary' correctly.Misha Brukman2003-08-181-1/+1
| | | | llvm-svn: 7944
* Remove redundant const qualifiers from cast<> expressionsChris Lattner2003-07-231-2/+2
| | | | llvm-svn: 7253
* The word `separate' only has one `e'.Misha Brukman2003-07-141-1/+1
| | | | llvm-svn: 7173
* Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell2003-06-302-8/+8
| | | | | | system. llvm-svn: 7014
* Detemplatize the PATypeHandle class, which was only really instantiated on ↵Chris Lattner2003-06-182-2/+2
| | | | | | 'Type'. llvm-svn: 6774
* Fix bug: Assembler/2003-06-17-InvokeDisassemble.llxChris Lattner2003-06-171-10/+14
| | | | | | "yes, invoke instructions can have just three arguments" llvm-svn: 6736
* Do not assert fail or crash when a bytecode parse fails!Chris Lattner2003-05-222-0/+4
| | | | llvm-svn: 6284
* Eliminate the uchar typedef, use unsigned char explicitlyChris Lattner2003-05-224-38/+56
| | | | llvm-svn: 6283
* Fix Bug: Assembler/2003-05-12-MinIntProblem.llxChris Lattner2003-05-121-9/+3
| | | | llvm-svn: 6123
* Add support for the new va_arg instructionChris Lattner2003-05-081-1/+5
| | | | llvm-svn: 6029
* Fixed 'prevalent'.Misha Brukman2003-04-231-1/+1
| | | | llvm-svn: 5860
* Add support for reading and writing pointersize/endianness to and from bytecodeChris Lattner2003-04-221-0/+5
| | | | llvm-svn: 5839
* Preserve module source information in the ModuleIDChris Lattner2003-04-223-10/+14
| | | | llvm-svn: 5836
* Initial support for reading standard .a filesChris Lattner2003-04-191-0/+166
| | | | llvm-svn: 5820
* Add support for reading unaligned bytecode buffersChris Lattner2003-04-191-0/+11
| | | | llvm-svn: 5819
* Fix a big bad bug I checked in yesterday :(Chris Lattner2003-04-181-1/+1
| | | | llvm-svn: 5807
* Add support to the bytecode reader/writer for the new linkage typesChris Lattner2003-04-162-14/+42
| | | | llvm-svn: 5790
* Add new linkage types to support a real frontendChris Lattner2003-04-162-4/+12
| | | | llvm-svn: 5786
* * Bug fixes:Chris Lattner2003-03-193-172/+207
| | | | | | | | | | | | | | | | | | | | | - Fix problems where the constant table would not get updated when resolving constants causes other constants to change. Changes to the V2 bytecode format - Null values are implicitly encoded instead of explicitly, this makes things more compact! - More compactly represent ConstantPointerRefs - Bytecode files are represented as: Header|GlobalTypes|GlobalVars/Function Protos|Constants|Functions|SymTab instead of Header|GlobalTypes|Constants|GlobalVars/Function Protos|Functions|SymTab which makes a lot of things simpler. Changes to the reader: - Function loading code is much simpler. We now no longer make function PlaceHolderHelper objects to be replaced with real functions. llvm-svn: 5748
* Infrastructure for more compact bytecode files and REAL support for versioningChris Lattner2003-03-062-9/+47
| | | | llvm-svn: 5716
* s/Method/Function in variable and method namesChris Lattner2003-03-063-16/+16
| | | | llvm-svn: 5715
* Continue simplifying error handling, s/method/functionChris Lattner2003-03-062-60/+48
| | | | llvm-svn: 5714
* Cleanup error handling constructsChris Lattner2003-03-061-37/+47
| | | | llvm-svn: 5713
* Pull common code outChris Lattner2003-03-061-16/+14
| | | | llvm-svn: 5712
* Use the std namespace explicitlyChris Lattner2003-03-063-47/+41
| | | | llvm-svn: 5708
* - Eliminated the deferred symbol table stuff in Module & Function, it reallyChris Lattner2002-11-201-2/+2
| | | | | | wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779
* - Fix a really nasty bug in the bytecode reader that caused it to failChris Lattner2002-10-231-10/+11
| | | | | | | | reading bytecode files with > 255 types in them, but only when optimization is enabled. This was caused by GCC shrinking an enum to a single byte instead of a whole word. llvm-svn: 4266
* Wow, for some reason, when reading bytecode from stdin, we were only readingChris Lattner2002-10-221-1/+1
| | | | | | 4 bytes at a time. Change this to read blocks of 4k llvm-svn: 4265
* There is no way to guarantee that constants are not forward referenced.Chris Lattner2002-10-143-29/+37
| | | | | | | | Handle forward referenced constants in a general way. This fixes bug: Assembler/2002-10-13-ConstantEncodingProblem.llx and allows the SPEC 197.parser benchmark to be built llvm-svn: 4161
* - Change Function's so that their argument list is populated when they areChris Lattner2002-10-131-8/+3
| | | | | | | constructed. Before, external functions would have an empty argument list, now a Function ALWAYS has a populated argument list. llvm-svn: 4149
* - Rename Instruction::First*Op to *OpsBegin, and Num*Ops to *OpsEnd toChris Lattner2002-10-131-2/+2
| | | | | | reflect the fact that it's a range being defined. llvm-svn: 4147
* Changed uchar to unsigned char in function ParseBytecodeBuffer, because ↵Anand Shukla2002-09-201-1/+1
| | | | | | seemingly it affects opt in uncertain ways :) llvm-svn: 3866
* Change the MallocInst & AllocaInst ctors to take the allocated type, not theChris Lattner2002-09-131-2/+8
| | | | | | pointer type returned. llvm-svn: 3711
* Eliminated the MemAccessInst class, folding contents into GEP class.Chris Lattner2002-08-221-4/+4
| | | | llvm-svn: 3487
* Load & StoreInst no longer derive from MemAccessInst, so we don't haveChris Lattner2002-08-221-1/+1
| | | | | | to handle indexing anymore llvm-svn: 3485
* Emit an obnoxious warning message for bytecode that includes load/storeChris Lattner2002-08-213-10/+34
| | | | | | | instructions that use indexing. Convert them transparently into a pair of instructions. llvm-svn: 3431
* Fix bug: test/Regression/Assembler/2002-08-19-BytecodeReader.llxChris Lattner2002-08-191-1/+2
| | | | llvm-svn: 3384
* Turn off a debugging optimization that just slows bytecode reading downChris Lattner2002-08-181-1/+1
| | | | llvm-svn: 3377
* Fix stupid oversight of missing #include.Chris Lattner2002-08-171-0/+1
| | | | llvm-svn: 3367
* - Finally nailed: test/Regression/Assembler/2002-08-16-ConstExprInlined.llxChris Lattner2002-08-174-378/+292
| | | | | | | | | | | | | | - ParseConstantPool was resolving reference to value using the function slot # instead of the global slot #. - Bytecode reader changes: - Remove the failure<> template from Bytecode Reader - Remove extraneous #includes - s/method/function/ a bit - Eliminate the fwdRefs class that just added abstraction where it was not needed, making things more complex. - Use a vector instead of a list for function signatures. llvm-svn: 3366
* Remove support for Not ConstantExpr. This simplifies the unary case to onlyChris Lattner2002-08-142-8/+4
| | | | | | have to support the cast instruction, so the function is renamed to getCast. llvm-svn: 3328
OpenPOWER on IntegriCloud