summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* remove dead codeChris Lattner2007-05-041-6/+0
| | | | llvm-svn: 36728
* Allow this to compile with gcc 4.0.XReid Spencer2007-05-041-2/+4
| | | | llvm-svn: 36723
* Encoding calling conv info in call/invoke instrs, tree add now round trips ↵Chris Lattner2007-05-031-16/+21
| | | | | | completely llvm-svn: 36707
* the type field for a store is the type of the pointer, not the value.Chris Lattner2007-05-031-3/+4
| | | | | | With this fix I can round trip treeaadd, only losing calling conv info. llvm-svn: 36706
* fix encoding of BB names in the symtabChris Lattner2007-05-031-0/+10
| | | | llvm-svn: 36704
* bug fixesChris Lattner2007-05-031-3/+3
| | | | llvm-svn: 36701
* implement the rest of the instructionsChris Lattner2007-05-031-10/+68
| | | | llvm-svn: 36699
* add a few more instructions, getting closeChris Lattner2007-05-031-10/+53
| | | | llvm-svn: 36688
* add reader logic for terminator instrs.Chris Lattner2007-05-021-8/+89
| | | | llvm-svn: 36642
* add reader support for a bunch of new instructionsChris Lattner2007-05-021-14/+90
| | | | llvm-svn: 36641
* read a few instructions, fix some bugs. This is enough to be able to roundChris Lattner2007-05-021-15/+38
| | | | | | | | | | | | | | trip function bodies like this: define <2 x i64> @foo(<2 x i64> %x, <2 x i64> %y) { %tmp4 = bitcast <2 x i64> %y to <8 x i16> ; <<8 x i16>> [#uses=1] %tmp5 = bitcast <2 x i64> %x to <8 x i16> ; <<8 x i16>> [#uses=1] %tmp = add <8 x i16> %tmp5, %tmp4 ; <<8 x i16>> [#uses=1] %tmp6 = bitcast <8 x i16> %tmp to <2 x i64> ; <<2 x i64>> [#uses=1] ret <2 x i64> %tmp6 } llvm-svn: 36640
* handle function-level forward references, read binops.Chris Lattner2007-05-011-20/+126
| | | | llvm-svn: 36620
* implement materializeModule, force deallocation of vector memory when weChris Lattner2007-05-011-6/+99
| | | | | | are done with them, start implementing ParseFunctionBody llvm-svn: 36617
* The stream to read from is now an ivarChris Lattner2007-05-011-13/+12
| | | | llvm-svn: 36615
* implement scafolding for lazy deserialization of function bodiesChris Lattner2007-05-011-2/+63
| | | | llvm-svn: 36614
* Implement visibility checking during linking. Also implement protectedAnton Korobeynikov2007-04-291-0/+1
| | | | | | visibility support for bitcode. llvm-svn: 36577
* Switch the bitcode reader interface to take a MemoryBuffer instead of knowingChris Lattner2007-04-291-5/+50
| | | | | | | | | | | | | | 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
* This is not "FIXME" anymoreAnton Korobeynikov2007-04-281-3/+1
| | | | llvm-svn: 36541
* move some code around, fix a bug in the reader reading globalinits (whichChris Lattner2007-04-261-3/+11
| | | | | | | 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-17/+57
| | | | llvm-svn: 36461
* ensure that every error return sets a message (and goes through Error, forChris Lattner2007-04-241-19/+35
| | | | | | | | | easy breakpointing). Fix bugs reading constantexpr geps. We now can disassemble kc++ global initializers. llvm-svn: 36398
* fix memory leakChris Lattner2007-04-241-3/+4
| | | | llvm-svn: 36397
* implement reading and writing of constant exprs.Chris Lattner2007-04-241-6/+133
| | | | llvm-svn: 36394
* implement support for reading aggregate constants, including handling forwardChris Lattner2007-04-241-1/+77
| | | | | | constant references, etc. llvm-svn: 36391
* add supprot for FP constants, wide integers, and fix the encoding of MININTChris Lattner2007-04-241-8/+40
| | | | llvm-svn: 36390
* read basic constants: null, undef, integers <= 64bitsChris Lattner2007-04-241-0/+77
| | | | llvm-svn: 36389
* move check to the right place :)Chris Lattner2007-04-241-3/+4
| | | | llvm-svn: 36386
* track global initsChris Lattner2007-04-241-3/+7
| | | | llvm-svn: 36385
* Read global symtabChris Lattner2007-04-231-3/+56
| | | | llvm-svn: 36378
* implement reading of abbrevs, and writing of abbreviated global varrs.Chris Lattner2007-04-231-3/+6
| | | | llvm-svn: 36367
* first part of implementation of abbrevs. The writer isn't fully there yet ↵Chris Lattner2007-04-231-6/+8
| | | | | | | | and the reader doesn't handle them at all yet. llvm-svn: 36363
* Initial support for reading bitcode files. They currently only read types,Chris Lattner2007-04-221-0/+455
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