Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add reader logic for terminator instrs. | Chris Lattner | 2007-05-02 | 1 | -0/+4 |
| | | | | llvm-svn: 36642 | ||||
* | handle function-level forward references, read binops. | Chris Lattner | 2007-05-01 | 1 | -0/+19 |
| | | | | llvm-svn: 36620 | ||||
* | implement materializeModule, force deallocation of vector memory when we | Chris Lattner | 2007-05-01 | 1 | -9/+8 |
| | | | | | | are done with them, start implementing ParseFunctionBody llvm-svn: 36617 | ||||
* | The stream to read from is now an ivar | Chris Lattner | 2007-05-01 | 1 | -7/+6 |
| | | | | llvm-svn: 36615 | ||||
* | implement scafolding for lazy deserialization of function bodies | Chris Lattner | 2007-05-01 | 1 | -5/+22 |
| | | | | llvm-svn: 36614 | ||||
* | Switch the bitcode reader interface to take a MemoryBuffer instead of knowing | Chris Lattner | 2007-04-29 | 1 | -5/+12 |
| | | | | | | | | | | | | | | anything about disk I/O itself. This greatly simplifies its interface - eliminating the need for the ReaderWrappers.cpp file. This adds a new option to llvm-dis (-bitcode) which instructs it to read the input file as bitcode. Until/unless the bytecode reader is taught to read from MemoryBuffer, there is no way to handle stdin reading without it. I don't plan to switch the bytecode reader over, I'd rather delete it :), so the option will stay around temporarily. llvm-svn: 36554 | ||||
* | move some code around, fix a bug in the reader reading globalinits (which | Chris Lattner | 2007-04-26 | 1 | -0/+5 |
| | | | | | | | I just introduced), stub out function reading, purge aggregate values from the value table before reading functions. llvm-svn: 36463 | ||||
* | add bitcode alias support | Chris Lattner | 2007-04-26 | 1 | -0/+2 |
| | | | | llvm-svn: 36461 | ||||
* | ensure that every error return sets a message (and goes through Error, for | Chris Lattner | 2007-04-24 | 1 | -0/+1 |
| | | | | | | | | | easy breakpointing). Fix bugs reading constantexpr geps. We now can disassemble kc++ global initializers. llvm-svn: 36398 | ||||
* | implement support for reading aggregate constants, including handling forward | Chris Lattner | 2007-04-24 | 1 | -4/+31 |
| | | | | | | constant references, etc. llvm-svn: 36391 | ||||
* | read basic constants: null, undef, integers <= 64bits | Chris Lattner | 2007-04-24 | 1 | -2/+3 |
| | | | | llvm-svn: 36389 | ||||
* | track global inits | Chris Lattner | 2007-04-24 | 1 | -0/+2 |
| | | | | llvm-svn: 36385 | ||||
* | Read global symtab | Chris Lattner | 2007-04-23 | 1 | -0/+3 |
| | | | | llvm-svn: 36378 | ||||
* | promote LLVMBitCodes to be a public header | Chris Lattner | 2007-04-23 | 1 | -1/+1 |
| | | | | llvm-svn: 36358 | ||||
* | Fix build problem with Gentoo 4.1.1-r3. | Jeff Cohen | 2007-04-22 | 1 | -1/+1 |
| | | | | llvm-svn: 36348 | ||||
* | Initial support for reading bitcode files. They currently only read types, | Chris Lattner | 2007-04-22 | 1 | -0/+66 |
the type symtab, and global/function protos, and are missing the important size optimization, but it is a place to start. llvm-svn: 36330 |