Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | * Constantify arguments to copy function | Misha Brukman | 2003-09-23 | 1 | -8/+4 | |
| | | | | | | * Stop using a #define, make it an inline if statement llvm-svn: 8678 | |||||
* | Removed no longer used member variable. | Misha Brukman | 2003-09-22 | 1 | -4/+1 | |
| | | | | llvm-svn: 8677 | |||||
* | Added file header comment. | Misha Brukman | 2003-09-22 | 1 | -0/+7 | |
| | | | | llvm-svn: 8675 | |||||
* | Update file header for renamed file | Chris Lattner | 2003-09-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 8673 | |||||
* | * Cleaned up code: | Misha Brukman | 2003-09-22 | 4 | -340/+443 | |
| | | | | | | | | | - no more passing around a string pointer to set errors - no more returning booleans and checking for errors, we use C++ exceptions * Broke functionality into 2 new classes, one reads from file, one from a stream * Implemented lazy function streaming - the parser can read in a function at-a-time llvm-svn: 8671 | |||||
* | Fix a spello Misha made while fixing one of my appostrifications | Chris Lattner | 2003-09-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 8510 | |||||
* | Fixed spelling and grammar. | Misha Brukman | 2003-09-11 | 6 | -11/+11 | |
| | | | | llvm-svn: 8489 | |||||
* | Fix bug | Chris Lattner | 2003-09-08 | 1 | -1/+2 | |
| | | | | llvm-svn: 8410 | |||||
* | Add support for the unwind instruction | Chris Lattner | 2003-09-08 | 1 | -0/+3 | |
| | | | | llvm-svn: 8408 | |||||
* | Read volatile loads/stores | Chris Lattner | 2003-09-08 | 1 | -2/+4 | |
| | | | | llvm-svn: 8401 | |||||
* | Remove a gross hack that was there to support bytecode files that are over a ↵ | Chris Lattner | 2003-09-08 | 3 | -65/+12 | |
| | | | | | | | | year old. If you still have these suckers laying around, you have GOT to rebuild them. geeze. llvm-svn: 8395 | |||||
* | Add support for writing volatile load/stores | Chris Lattner | 2003-09-08 | 1 | -22/+22 | |
| | | | | llvm-svn: 8394 | |||||
* | Fix reading of invoke instrs | Chris Lattner | 2003-09-05 | 1 | -22/+23 | |
| | | | | llvm-svn: 8365 | |||||
* | Whoa, we were misreading invoke instructions "normal" destinations quite badly. | Chris Lattner | 2003-09-05 | 1 | -2/+2 | |
| | | | | llvm-svn: 8363 | |||||
* | Non-functional change | Chris Lattner | 2003-09-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 8352 | |||||
* | Avoid printing meaningless numbers | Chris Lattner | 2003-09-03 | 1 | -4/+1 | |
| | | | | llvm-svn: 8342 | |||||
* | Follow the pattern of all other atu's | Chris Lattner | 2003-09-03 | 1 | -6/+2 | |
| | | | | llvm-svn: 8340 | |||||
* | Allow modules to have 'any' pointer size and endianness. Luckily, we had | Chris Lattner | 2003-08-24 | 3 | -15/+26 | |
| | | | | | | some space for extra flags, so we don't need to bump the revision number. llvm-svn: 8118 | |||||
* | Rename SwitchInst::dest_push_back -> addCase | Chris Lattner | 2003-08-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 8089 | |||||
* | Spell `necessary' correctly. | Misha Brukman | 2003-08-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 7944 | |||||
* | Remove redundant const qualifiers from cast<> expressions | Chris Lattner | 2003-07-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 7253 | |||||
* | Remove explicit const qualifiers | Chris Lattner | 2003-07-23 | 1 | -10/+10 | |
| | | | | llvm-svn: 7245 | |||||
* | The word `separate' only has one `e'. | Misha Brukman | 2003-07-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 7173 | |||||
* | Merged in autoconf branch. This provides configuration via the autoconf | John Criswell | 2003-06-30 | 3 | -9/+9 | |
| | | | | | | system. llvm-svn: 7014 | |||||
* | Detemplatize the PATypeHandle class, which was only really instantiated on ↵ | Chris Lattner | 2003-06-18 | 2 | -2/+2 | |
| | | | | | | 'Type'. llvm-svn: 6774 | |||||
* | Fix bug: Assembler/2003-06-17-InvokeDisassemble.llx | Chris Lattner | 2003-06-17 | 1 | -10/+14 | |
| | | | | | | "yes, invoke instructions can have just three arguments" llvm-svn: 6736 | |||||
* | Fix bug: Assembler/2003-05-03-BytecodeReaderProblem.llx | Chris Lattner | 2003-05-22 | 1 | -16/+25 | |
| | | | | | | | by emitting the type planes before any constants (which could be constant expressions involving undefined types!) llvm-svn: 6285 | |||||
* | Do not assert fail or crash when a bytecode parse fails! | Chris Lattner | 2003-05-22 | 2 | -0/+4 | |
| | | | | llvm-svn: 6284 | |||||
* | Eliminate the uchar typedef, use unsigned char explicitly | Chris Lattner | 2003-05-22 | 4 | -38/+56 | |
| | | | | llvm-svn: 6283 | |||||
* | Fix Bug: Assembler/2003-05-12-MinIntProblem.llx | Chris Lattner | 2003-05-12 | 1 | -9/+3 | |
| | | | | llvm-svn: 6123 | |||||
* | Add support for the new va_arg instruction | Chris Lattner | 2003-05-08 | 2 | -5/+9 | |
| | | | | llvm-svn: 6029 | |||||
* | Fixed 'prevalent'. | Misha Brukman | 2003-04-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 5860 | |||||
* | Add support for reading and writing pointersize/endianness to and from bytecode | Chris Lattner | 2003-04-22 | 2 | -2/+7 | |
| | | | | llvm-svn: 5839 | |||||
* | Preserve module source information in the ModuleID | Chris Lattner | 2003-04-22 | 3 | -10/+14 | |
| | | | | llvm-svn: 5836 | |||||
* | Initial support for reading standard .a files | Chris Lattner | 2003-04-19 | 1 | -0/+166 | |
| | | | | llvm-svn: 5820 | |||||
* | Add support for reading unaligned bytecode buffers | Chris Lattner | 2003-04-19 | 1 | -0/+11 | |
| | | | | llvm-svn: 5819 | |||||
* | Fix a big bad bug I checked in yesterday :( | Chris Lattner | 2003-04-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 5807 | |||||
* | Add support to the bytecode reader/writer for the new linkage types | Chris Lattner | 2003-04-16 | 3 | -20/+48 | |
| | | | | llvm-svn: 5790 | |||||
* | Add new linkage types to support a real frontend | Chris Lattner | 2003-04-16 | 2 | -4/+12 | |
| | | | | llvm-svn: 5786 | |||||
* | Changes to the V2 bytecode format: | Chris Lattner | 2003-03-19 | 3 | -48/+54 | |
| | | | | | | | | | | | | | | | | | | | | - 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. Writer changes: - We now explictly encode versioning information in the bytecode files. - This allows new code to read bytecode files produced by old code, but new bytecode files can have enhancements such as the above. Although this makes the reader a bit more complex (having to deal with old formats), the writer only needs to be able to produce the most recent version. llvm-svn: 5749 | |||||
* | * Bug fixes: | Chris Lattner | 2003-03-19 | 3 | -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 versioning | Chris Lattner | 2003-03-06 | 2 | -9/+47 | |
| | | | | llvm-svn: 5716 | |||||
* | s/Method/Function in variable and method names | Chris Lattner | 2003-03-06 | 3 | -16/+16 | |
| | | | | llvm-svn: 5715 | |||||
* | Continue simplifying error handling, s/method/function | Chris Lattner | 2003-03-06 | 2 | -60/+48 | |
| | | | | llvm-svn: 5714 | |||||
* | Cleanup error handling constructs | Chris Lattner | 2003-03-06 | 1 | -37/+47 | |
| | | | | llvm-svn: 5713 | |||||
* | Pull common code out | Chris Lattner | 2003-03-06 | 1 | -16/+14 | |
| | | | | llvm-svn: 5712 | |||||
* | Use the std namespace explicitly | Chris Lattner | 2003-03-06 | 3 | -47/+41 | |
| | | | | llvm-svn: 5708 | |||||
* | Don't keep track of # big vs #small instructions seperately | Chris Lattner | 2003-01-21 | 1 | -8/+3 | |
| | | | | llvm-svn: 5385 | |||||
* | - Eliminated the deferred symbol table stuff in Module & Function, it really | Chris Lattner | 2002-11-20 | 2 | -6/+4 | |
| | | | | | | 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 fail | Chris Lattner | 2002-10-23 | 1 | -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 |