| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | This is the patch to provide clean intrinsic function overloading support in ↵ | Chandler Carruth | 2007-08-04 | 2 | -0/+44 | |
| | | | | | | | | | 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 | |||||
| * | Long double, part 1 of N. Support in IR. | Dale Johannesen | 2007-08-03 | 1 | -0/+9 | |
| | | | | | llvm-svn: 40774 | |||||
| * | New CallInst interface to address GLIBCXX_DEBUG errors caused by | David Greene | 2007-08-01 | 1 | -1/+1 | |
| | | | | | | | | | indexing an empty std::vector. Updates to all clients. llvm-svn: 40660 | |||||
| * | Here is the bulk of the sanitizing. | Gabor Greif | 2007-07-05 | 1 | -3/+3 | |
| | | | | | | | Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913 | |||||
| * | Fix PR1434 and test/Linker/link-archive.ll, this is a regression from 1.9. | Chris Lattner | 2007-05-18 | 2 | -54/+91 | |
| | | | | | llvm-svn: 37204 | |||||
| * | implement the ModuleProvider::dematerializeFunction hook | Chris Lattner | 2007-05-15 | 2 | -9/+21 | |
| | | | | | llvm-svn: 37080 | |||||
| * | Make a preemptive bitcode format change to support PR1146. This lets us do | Chris Lattner | 2007-05-08 | 1 | -16/+25 | |
| | | | | | | | | pr1146 in llvm 2.1 without ugly code to emulate old behavior. This should be merged into the 2.0 release branch. llvm-svn: 36928 | |||||
| * | fix off-by-one that caused the llvm2cpp test to fail | Chris Lattner | 2007-05-06 | 1 | -2/+4 | |
| | | | | | llvm-svn: 36880 | |||||
| * | Allow structs with zero fields. | Chris Lattner | 2007-05-06 | 1 | -1/+1 | |
| | | | | | llvm-svn: 36862 | |||||
| * | add a missing check | Chris Lattner | 2007-05-06 | 1 | -0/+1 | |
| | | | | | llvm-svn: 36859 | |||||
| * | Keep header file free of 'possible loss of data' warnings. | Jeff Cohen | 2007-05-06 | 1 | -3/+3 | |
| | | | | | llvm-svn: 36832 | |||||
| * | implement reading/writing of inlineasm objects | Chris Lattner | 2007-05-06 | 1 | -0/+21 | |
| | | | | | llvm-svn: 36827 | |||||
| * | add a denser encoding for null terminated strings, add a 6-bit abbrev as | Chris Lattner | 2007-05-06 | 1 | -0/+14 | |
| | | | | | | | well. This shrinks kc++ from 2724088 to 2717360 bytes. llvm-svn: 36821 | |||||
| * | implement the 'string constant' optimization. This shrinks kc.bit from | Chris Lattner | 2007-05-06 | 1 | -0/+14 | |
| | | | | | | | 2878544 to 2815788 llvm-svn: 36818 | |||||
| * | further reduce the redundancy of types in the instruction encoding. This | Chris Lattner | 2007-05-06 | 1 | -64/+65 | |
| | | | | | | | shrinks function bodies in kc++ from 891913B to 884073B llvm-svn: 36817 | |||||
| * | stop encoding type/value pairs when the type is implied by the value. | Chris Lattner | 2007-05-06 | 2 | -75/+97 | |
| | | | | | | | This shrinks the function block of kc++ from 1055K to 906K llvm-svn: 36816 | |||||
| * | add support for BLOCKINFO records at the module level. This fixes the reader | Chris Lattner | 2007-05-05 | 1 | -0/+4 | |
| | | | | | | | issues reid noticed last night. llvm-svn: 36785 | |||||
| * | Implement support for globally associating abbrevs with block IDs, which | Chris Lattner | 2007-05-05 | 1 | -10/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | relieves us from having to emit the abbrevs into each instance of the block. This shrinks kc.bit from 3368K to 3333K, but will be a more significant win once instructions are abbreviated. The VST went from: Block ID #14 (VALUE_SYMTAB): Num Instances: 2345 Total Size: 1.29508e+07b/1.61885e+06B/404713W Average Size: 5522.73b/690.342B/172.585W % of file: 48.0645 Tot/Avg SubBlocks: 0/0 Tot/Avg Abbrevs: 7035/3 Tot/Avg Records: 120924/51.5667 % Abbrev Recs: 100 to: Block ID #14 (VALUE_SYMTAB): Num Instances: 2345 Total Size: 1.26713e+07b/1.58391e+06B/395978W Average Size: 5403.53b/675.442B/168.86W % of file: 47.5198 Tot/Avg SubBlocks: 0/0 Tot/Avg Abbrevs: 0/0 Tot/Avg Records: 120924/51.5667 % Abbrev Recs: 100 because we didn't emit the same 3 abbrevs 2345 times :) llvm-svn: 36767 | |||||
| * | eliminate internal length fields from record. Records already know their | Chris Lattner | 2007-05-04 | 1 | -37/+36 | |
| | | | | | | | total length llvm-svn: 36752 | |||||
| * | storeinst ctor takes isvolatile before alignment. With this, 176.gcc roundtrips | Chris Lattner | 2007-05-04 | 1 | -1/+1 | |
| | | | | | llvm-svn: 36738 | |||||
| * | fix a misplaced error | Chris Lattner | 2007-05-04 | 1 | -1/+1 | |
| | | | | | llvm-svn: 36736 | |||||
| * | encode and read param attrs along with function type. WE can now roundtrip ↵ | Chris Lattner | 2007-05-04 | 1 | -7/+6 | |
| | | | | | | | Olden/voronoi loslessly llvm-svn: 36735 | |||||
| * | add support for reading the param attrs block | Chris Lattner | 2007-05-04 | 2 | -0/+82 | |
| | | | | | llvm-svn: 36731 | |||||
| * | remove dead code | Chris Lattner | 2007-05-04 | 1 | -6/+0 | |
| | | | | | llvm-svn: 36728 | |||||
| * | Allow this to compile with gcc 4.0.X | Reid Spencer | 2007-05-04 | 1 | -2/+4 | |
| | | | | | llvm-svn: 36723 | |||||
| * | Encoding calling conv info in call/invoke instrs, tree add now round trips ↵ | Chris Lattner | 2007-05-03 | 1 | -16/+21 | |
| | | | | | | | completely llvm-svn: 36707 | |||||
| * | the type field for a store is the type of the pointer, not the value. | Chris Lattner | 2007-05-03 | 1 | -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 symtab | Chris Lattner | 2007-05-03 | 1 | -0/+10 | |
| | | | | | llvm-svn: 36704 | |||||
| * | bug fixes | Chris Lattner | 2007-05-03 | 1 | -3/+3 | |
| | | | | | llvm-svn: 36701 | |||||
| * | implement the rest of the instructions | Chris Lattner | 2007-05-03 | 1 | -10/+68 | |
| | | | | | llvm-svn: 36699 | |||||
| * | add a few more instructions, getting close | Chris Lattner | 2007-05-03 | 1 | -10/+53 | |
| | | | | | llvm-svn: 36688 | |||||
| * | add reader logic for terminator instrs. | Chris Lattner | 2007-05-02 | 2 | -8/+93 | |
| | | | | | llvm-svn: 36642 | |||||
| * | add reader support for a bunch of new instructions | Chris Lattner | 2007-05-02 | 1 | -14/+90 | |
| | | | | | llvm-svn: 36641 | |||||
| * | read a few instructions, fix some bugs. This is enough to be able to round | Chris Lattner | 2007-05-02 | 1 | -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 Lattner | 2007-05-01 | 2 | -20/+145 | |
| | | | | | llvm-svn: 36620 | |||||
| * | implement materializeModule, force deallocation of vector memory when we | Chris Lattner | 2007-05-01 | 2 | -15/+107 | |
| | | | | | | | are done with them, start implementing ParseFunctionBody llvm-svn: 36617 | |||||
| * | The stream to read from is now an ivar | Chris Lattner | 2007-05-01 | 2 | -20/+18 | |
| | | | | | llvm-svn: 36615 | |||||
| * | implement scafolding for lazy deserialization of function bodies | Chris Lattner | 2007-05-01 | 2 | -7/+85 | |
| | | | | | llvm-svn: 36614 | |||||
| * | Implement visibility checking during linking. Also implement protected | Anton Korobeynikov | 2007-04-29 | 1 | -0/+1 | |
| | | | | | | | visibility support for bitcode. llvm-svn: 36577 | |||||
| * | Switch the bitcode reader interface to take a MemoryBuffer instead of knowing | Chris Lattner | 2007-04-29 | 3 | -108/+62 | |
| | | | | | | | | | | | | | | | 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" anymore | Anton Korobeynikov | 2007-04-28 | 1 | -3/+1 | |
| | | | | | llvm-svn: 36541 | |||||
| * | move some code around, fix a bug in the reader reading globalinits (which | Chris Lattner | 2007-04-26 | 2 | -3/+16 | |
| | | | | | | | | 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 | 2 | -17/+59 | |
| | | | | | llvm-svn: 36461 | |||||
| * | ensure that every error return sets a message (and goes through Error, for | Chris Lattner | 2007-04-24 | 3 | -19/+37 | |
| | | | | | | | | | | easy breakpointing). Fix bugs reading constantexpr geps. We now can disassemble kc++ global initializers. llvm-svn: 36398 | |||||
| * | fix memory leak | Chris Lattner | 2007-04-24 | 1 | -3/+4 | |
| | | | | | llvm-svn: 36397 | |||||
| * | implement reading and writing of constant exprs. | Chris Lattner | 2007-04-24 | 1 | -6/+133 | |
| | | | | | llvm-svn: 36394 | |||||
| * | implement support for reading aggregate constants, including handling forward | Chris Lattner | 2007-04-24 | 2 | -5/+108 | |
| | | | | | | | constant references, etc. llvm-svn: 36391 | |||||
| * | add supprot for FP constants, wide integers, and fix the encoding of MININT | Chris Lattner | 2007-04-24 | 1 | -8/+40 | |
| | | | | | llvm-svn: 36390 | |||||
| * | read basic constants: null, undef, integers <= 64bits | Chris Lattner | 2007-04-24 | 2 | -2/+80 | |
| | | | | | llvm-svn: 36389 | |||||
| * | move check to the right place :) | Chris Lattner | 2007-04-24 | 1 | -3/+4 | |
| | | | | | llvm-svn: 36386 | |||||

