summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.h
Commit message (Collapse)AuthorAgeFilesLines
...
* This is the patch to provide clean intrinsic function overloading support in ↵Chandler Carruth2007-08-041-0/+5
| | | | | | | | LLVM. It cleans up the intrinsic definitions and generally smooths the process for more complicated intrinsic writing. It will be used by the upcoming atomic intrinsics as well as vector and float intrinsics in the future. This also changes the syntax for llvm.bswap, llvm.part.set, llvm.part.select, and llvm.ct* intrinsics. They are automatically upgraded by both the LLVM ASM reader and the bitcode reader. The test cases have been updated, with special tests added to ensure the automatic upgrading is supported. llvm-svn: 40807
* Fix PR1434 and test/Linker/link-archive.ll, this is a regression from 1.9.Chris Lattner2007-05-181-1/+9
| | | | llvm-svn: 37204
* implement the ModuleProvider::dematerializeFunction hookChris Lattner2007-05-151-1/+2
| | | | llvm-svn: 37080
* Keep header file free of 'possible loss of data' warnings.Jeff Cohen2007-05-061-3/+3
| | | | llvm-svn: 36832
* stop encoding type/value pairs when the type is implied by the value.Chris Lattner2007-05-061-0/+28
| | | | | | This shrinks the function block of kc++ from 1055K to 906K llvm-svn: 36816
* add support for reading the param attrs blockChris Lattner2007-05-041-0/+13
| | | | llvm-svn: 36731
* add reader logic for terminator instrs.Chris Lattner2007-05-021-0/+4
| | | | llvm-svn: 36642
* handle function-level forward references, read binops.Chris Lattner2007-05-011-0/+19
| | | | llvm-svn: 36620
* implement materializeModule, force deallocation of vector memory when weChris Lattner2007-05-011-9/+8
| | | | | | are done with them, start implementing ParseFunctionBody llvm-svn: 36617
* The stream to read from is now an ivarChris Lattner2007-05-011-7/+6
| | | | llvm-svn: 36615
* implement scafolding for lazy deserialization of function bodiesChris Lattner2007-05-011-5/+22
| | | | llvm-svn: 36614
* Switch the bitcode reader interface to take a MemoryBuffer instead of knowingChris Lattner2007-04-291-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 (whichChris Lattner2007-04-261-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 supportChris Lattner2007-04-261-0/+2
| | | | llvm-svn: 36461
* ensure that every error return sets a message (and goes through Error, forChris Lattner2007-04-241-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 forwardChris Lattner2007-04-241-4/+31
| | | | | | constant references, etc. llvm-svn: 36391
* read basic constants: null, undef, integers <= 64bitsChris Lattner2007-04-241-2/+3
| | | | llvm-svn: 36389
* track global initsChris Lattner2007-04-241-0/+2
| | | | llvm-svn: 36385
* Read global symtabChris Lattner2007-04-231-0/+3
| | | | llvm-svn: 36378
* promote LLVMBitCodes to be a public headerChris Lattner2007-04-231-1/+1
| | | | llvm-svn: 36358
* Fix build problem with Gentoo 4.1.1-r3.Jeff Cohen2007-04-221-1/+1
| | | | llvm-svn: 36348
* Initial support for reading bitcode files. They currently only read types,Chris Lattner2007-04-221-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
OpenPOWER on IntegriCloud