History log of /external/llvm/include/llvm/Bitcode/BitstreamReader.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4c5e43da7792f75567b693105cc53e3f1992ad98 08-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> Update aosp/master llvm for rebase to r233350

Change-Id: I07d935f8793ee8ec6b7da003f6483046594bca49
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
ebe69fe11e48d322045d5949c83283927a0d790b 23-Mar-2015 Stephen Hines <srhines@google.com> Update aosp/master LLVM for rebase to r230699.

Change-Id: I2b5be30509658cb8266be782de0ab24f9099f9b9
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
37ed9c199ca639565f6ce88105f9e39e898d82d0 01-Dec-2014 Stephen Hines <srhines@google.com> Update aosp/master LLVM for rebase to r222494.

Change-Id: Ic787f5e0124df789bd26f3f24680f45e678eef2d
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
dce4a407a24b04eebc6a376f8e62b41aaa7b071f 29-May-2014 Stephen Hines <srhines@google.com> Update LLVM for 3.5 rebase (r209712).

Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
36b56886974eae4f9c5ebc96befd3e7bfe5de338 24-Apr-2014 Stephen Hines <srhines@google.com> Update to LLVM 3.5a.

Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
49a6a8d8f2994249c81b7914b07015714748a55c 24-May-2013 Benjamin Kramer <benny.kra@googlemail.com> Remove the Copied parameter from MemoryObject::readBytes.

There was exactly one caller using this API right, the others were relying on
specific behavior of the default implementation. Since it's too hard to use it
right just remove it and standardize on the default behavior.

Defines away PR16132.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182636 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
ef7964c1b78f57e277e74bda4f38e1143d1363fe 01-Apr-2013 Joe Abbey <jabbey@arxan.com> Whitespace cleanup


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178454 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
519e1475d64d80f4632296318b3a5240d4f70a72 13-Feb-2013 Chris Lattner <sabre@nondot.org> use memcpy instead of dubious union to type pun two values,
thanks to David Blaike for pointing this out.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175032 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
e9288fbe4df5c912f5bb42c33a675b61d45c0a99 10-Feb-2013 Chris Lattner <sabre@nondot.org> ok, ok, stop fighting type punning warnings by just using a union.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174827 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
10b043e2ab08f234780b9b5dec39f5478e211f60 10-Feb-2013 Chris Lattner <sabre@nondot.org> hopefully "really" fix a type punning warning by defining the buffer as
type char, which can't have TBAA tags.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174826 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
bf8f4cb0d5edc30854be46ec394d267b0c6013cd 10-Feb-2013 Chris Lattner <sabre@nondot.org> attempt to defeat a gcc warning that is breaking a -Werror buildbot.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174825 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
db5e50ddafa3903e9ca9ee4008d6e6fa82f780ea 09-Feb-2013 Chris Lattner <sabre@nondot.org> This is the correct version of r174802.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174804 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
a32bd682a0ba4878b89c4d70b189ee3feaa01452 09-Feb-2013 Chris Lattner <sabre@nondot.org> Fix a nasty off-by one error that only manifests with 64-bit word size (which is
not enabled yet).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174803 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
b24f5b7c0838f22abc6f1ba5de2a17d25293cd17 09-Feb-2013 Chris Lattner <sabre@nondot.org> Fix the underlying problem that was causing read(0) to be called: sometimes the
bitcode writer would generate abbrev records saying that the abbrev should be
filled with fixed zero-bit bitfields (this happens in the .bc writer when
the number of types used in a module is exactly one, since log2(1) == 0).

In this case, just handle it as a literal zero. We can't "just fix" the writer
without breaking compatibility with existing bc files, so have the abbrev reader
do the substitution.

Strengthen the assert in read to reject reads of zero bits so we catch such
crimes in the future, and remove the special case designed to handle this.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174801 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
e001f27e5ebc325b5b142f3661d04ba39251e07b 09-Feb-2013 Chris Lattner <sabre@nondot.org> recommit r173072 (preparing bitstream reader to read a machine word at a time,
instead of always 32-bits at a time) with two changes:

1. Make Read(0) always return zero without affecting the state of our cursor.
2. Hack word_t to always be 32 bits, as staging.

These two caveats will change shortly.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174800 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
dc60fc1aa710812be17c5b01f34ef251c87b42b4 21-Jan-2013 Chris Lattner <sabre@nondot.org> r173072 is causing some regressions on big endian hosts, I don't have time to debug it
so revert it for now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173074 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
02b206f6d817b005799cbeca119376c034679212 21-Jan-2013 Chris Lattner <sabre@nondot.org> rework the Bitstream reader to actually work a machine word at a time, instead of 32-bits at a time.
This cuts in half the number of virtual methods called to refill that word when compiling on a 64-bit
host, and will make 64-bit read operations faster.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173072 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
69582cf6c46456ad542df5aa09c47700c9525645 21-Jan-2013 Chris Lattner <sabre@nondot.org> Fix a heinous inefficiency introduced in r149918, wherein reading each byte of a
BLOB (i.e., large, performance intensive data) in a bitcode file was switched to
invoking one virtual method call per byte read. Now we do one virtual call per
BLOB.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173065 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
fd0543d9be9886398628e411aba8c392b28d17b6 21-Jan-2013 Chris Lattner <sabre@nondot.org> rename "SkipToWord" to "SkipToFourByteBoundary" since a word is not always 4 bytes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173062 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
1ca114a66b666f932741d00d74636dc35ea1d466 20-Jan-2013 Chris Lattner <sabre@nondot.org> trivial micro-optimization: lazily call the virtual method instead of eagerly calling it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172953 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
4156ca76e31877b17063a6e01fb7f1dad771c5aa 20-Jan-2013 Chris Lattner <sabre@nondot.org> switch llvm-bcanalyzer onto the new cursor APIs, allowing deletion of
the old ReadRecord methods.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172952 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
099b636562a83dc9acc6bf36ca32d710ac6d62c9 20-Jan-2013 Chris Lattner <sabre@nondot.org> add an option to not auto-process abbreviations in advance()


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172946 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
194ef24dfedf62642c853a851db4d7e528d27460 20-Jan-2013 Chris Lattner <sabre@nondot.org> stringref'ize readRecord and properly capitalize it. Add a compatibility method to easy
the transition.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172940 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
f9147c41d8101dbd98662d6d7be78278d53f690f 20-Jan-2013 Chris Lattner <sabre@nondot.org> move some private methods out of line, add a skipRecord() method.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172931 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
344fc23d23c969043f8f146b17cb7d2f47a98384 20-Jan-2013 Chris Lattner <sabre@nondot.org> add some optional flags to affect the way advance works.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172928 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
63246aa04f23767875bfe6f533285915a766b82d 19-Jan-2013 Chris Lattner <sabre@nondot.org> Add a new BitstreamEntry concept, and add two helper methods for walking
through a BitstreamCursor that produce it: advance() and
advanceSkippingSubblocks(), representing the two most common ways clients
want to walk through bitcode.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172919 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
312c7d9dc126e90ca1f40d30ba9a3ba22ade35c4 19-Jan-2013 Chris Lattner <sabre@nondot.org> BitstreamReader hasn't aged well. It's been hacked on by various people and
has past the point of making sense. Lets tidy things up: first step, moving
a ton of big functions out of line.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172904 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
674be02d525d4e24bc6943ed9274958c580bcfbc 10-Jan-2013 Jakub Staszak <kubastaszak@gmail.com> Fix include guards so they exactly match file names.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172025 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
170a15e98dc6900df1ae40d03c5f0622d792fb45 25-Nov-2012 Joe Abbey <jabbey@arxan.com> Code Custodian:
- Widespread trailing space removal
- A dash of OCD spacing to block align enums
- joined a line that probably needed 80 cols a while back



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168566 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
d9a3bad4487dee0b9ed1a0f5555dffe605826158 11-Oct-2012 Jan Wen Voung <jvoung@google.com> Change encoding of instruction operands in bitcode binaries to be relative
to the instruction position. The old encoding would give an absolute
ID which counts up within a function, and only resets at the next function.

I.e., Instead of having:

... = icmp eq i32 n-1, n-2
br i1 ..., label %bb1, label %bb2

it will now be roughly:

... = icmp eq i32 1, 2
br i1 1, label %bb1, label %bb2

This makes it so that ids remain relatively small and can be encoded
in fewer bits.

With this encoding, forward reference operands will be given
negative-valued IDs. Use signed VBRs for the most common case
of forward references, which is phi instructions.

To retain backward compatibility we bump the bitcode version
from 0 to 1 to distinguish between the different encodings.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165739 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
9f9ce61972871efcf794bdc6125835c2c32cd863 17-Sep-2012 Craig Topper <craig.topper@gmail.com> Mark unimplemented copy constructors and copy assignment operators as LLVM_DELETED_FUNCTION.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164017 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
b0b527b62cdcbe6e1a5947534fd749b310856a17 07-Feb-2012 NAKAMURA Takumi <geek4civic@gmail.com> Bitcode/BitstreamReader.h: Tweak for big endian hosts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149980 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
ffa1ff16d77f76ef86b696eeec383b3f7c380397 06-Feb-2012 Nick Lewycky <nicholas@mxc.ca> System headers after llvm headers.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149919 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
2ea93875b2f2900b9d244dfd7649c9ed02a34cd7 06-Feb-2012 Derek Schuff <dschuff@google.com> Enable streaming of bitcode

This CL delays reading of function bodies from initial parse until
materialization, allowing overlap of compilation with bitcode download.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149918 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
50bee42b54cd9aec5f49566307df2b0cf23afcf6 05-Feb-2012 Craig Topper <craig.topper@gmail.com> Convert assert(0) to llvm_unreachable

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149849 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
a668c9ee491318b4ca8a92b5e67fb65a3b403369 09-Jul-2011 Chris Lattner <sabre@nondot.org> fix a really bad bug that would cause nested cursors to break,
used by the new bitcode reader.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134821 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
3e64427cb3381b6fdb498bcdbf2abef0bf22e0f0 25-Jun-2011 Nick Lewycky <nicholas@mxc.ca> Enhance the sanity check for block sizes; check that the resulting pointer is
pointing to the range [first character, last character] instead of just not
after the last character. Patch by Yan Ivnitskiy!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133867 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
f0891be8bdbeeadb39da5575273b6645755fa383 27-Aug-2009 Gabor Greif <ggreif@gmail.com> Clean up the minor mess I caused with removing iterator.h. I shall take care of 80-col violations and the FIXME later. (Thanks goodness that I live in another continent, so the monkeypox did not strike me :-)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80224 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
f5a1edce2370664a439cebdc895c8d559354b0c6 07-Jul-2009 Chris Lattner <sabre@nondot.org> fix some type confusion in ReadVBR64: "Piece" should be only 32 bits,
not 64, because we read at most 32 bits at a time. OTOH, "Result" must
be 64-bits and insertion into it must be 64-bit clean. Thanks to Ivan
Sorokin for bringing this up.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74932 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
37c286c18128cce7f52654876a5a104150be4b79 29-Jun-2009 Sebastian Redl <sebastian.redl@getdesigned.at> Fix three MSVC 2008 warnings that completely clutter the build output.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74430 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
0370cc6399022b687f898c9edc5e98482252997c 27-Apr-2009 Chris Lattner <sabre@nondot.org> give bitstreamreader an API to ignore names for blocks/records,
only llvm-bcanalyzer wants this info.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70239 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
f9a3ec86c138177c7d9b3a9d119e6d2247d14bd8 27-Apr-2009 Chris Lattner <sabre@nondot.org> Add two new record types to the blockinfo block:
BLOCKNAME and SETRECORDNAME. This allows a bitcode
file to be self describing with pretty names for
records and blocks in addition to numbers. This
enhances llvm-bcanalyzer to use this to print prettily.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70165 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
7919b966a8fd8f98346216e79df6f4722693be22 26-Apr-2009 Chris Lattner <sabre@nondot.org> make BitstreamCursor's copyable and assignable.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70159 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
962dde3cef3184f1683d5070c298c9a29509d62e 26-Apr-2009 Chris Lattner <sabre@nondot.org> Make a major API change to BitstreamReader: split all the reading
state out of the BitstreamReader class into a BitstreamCursor class.
Doing this allows the client to have multiple cursors into the same
file, each with potentially different live block stacks and
abbreviation records.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70157 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
37a4d8dbbbf7d8c4ed368a65ce3e9308262aa1f6 15-Apr-2009 Douglas Gregor <dgregor@apple.com> Allow jumping to the end of a bitstream while reading

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69145 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
2eb65e292cf7724d2f5f6773e2460b9420cee34c 09-Apr-2009 Douglas Gregor <dgregor@apple.com> Fix BitstreamReader's GetCurrentBitNo to return the correct bit number, and stop JumpToBit from covering up its mistakes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68648 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
ae7dd8004eb286039ee1eb1a35ddb1ff4eafe460 07-Apr-2009 Chris Lattner <sabre@nondot.org> Add an API for the bitstream reader to read blobs and return
them by reference, instead of packing each byte into a
smallvector.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68486 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
123f3848794b333063b478d38ff12e1bd3969125 07-Apr-2009 Chris Lattner <sabre@nondot.org> allow clients to look up abbrev id's


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68471 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
dcd006bf7be859367f35db2417a42c83451431e8 06-Apr-2009 Chris Lattner <sabre@nondot.org> add a new Blob encoding abbreviation for bitcode files that emits
elements in a form that is efficient for the reader to just get a
pointer in memory and start reading. APIs to do efficient reading
and writing are still todo.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68465 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
30910bf1c9842935c1c044578fe2d1d0ca9fa32a 06-Apr-2009 Chris Lattner <sabre@nondot.org> split ReadAbbreviatedLiteral out of ReadAbbreviatedField.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68463 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
86bc23d5c12cbf91be0c51f1265c7fedea4ff58c 06-Apr-2009 Chris Lattner <sabre@nondot.org> reduce indentation with early-out


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68462 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
de551f91d8816632a76a065084caab9fab6aacff 01-Apr-2009 Dan Gohman <gohman@apple.com> Use CHAR_BIT instead of hard-coding 8 in several places where it
is appropriate. This helps visually differentiate host-oriented
calculations from target-oriented calculations.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68227 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
d3ff4a188e823baa141c288d31eb532ddf632b6e 21-Feb-2009 Misha Brukman <brukman+llvm@gmail.com> Removed trailing whitespace.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65199 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
34cd4a484e532cc463fd5a4bf59b88d13c5467c1 05-May-2008 Evan Cheng <evan.cheng@apple.com> Fix more -Wshorten-64-to-32 warnings.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50659 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
7ed47a13356daed2a34cd2209a31f92552e3bdd8 29-Dec-2007 Chris Lattner <sabre@nondot.org> Don't attribute in file headers anymore. See llvmdev for the
discussion of this change. Boy are my fingers tired. ;-)



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45411 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
2a2a496aacd53aeb02dbf654f7e7c59de301c8c2 30-Nov-2007 Ted Kremenek <kremenek@apple.com> Fixed potential bug where CurWord is not zeroed out in JumpToBit.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44469 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
13faf5c13c951741e9bdfeabd5f9047f1f28d95b 10-Nov-2007 Ted Kremenek <kremenek@apple.com> Made Deserializer a friend class of BitstreamReader.

Moved some of the logic in BitstreamReader::ExitBlock into a utility function
BitstreamReader::PopBlockScope. The latter is a private method. It will also
be called by Deserializer to manipulate the current "block scope."


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43972 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
4d40b507433085952710f043d322103eafd4f28b 24-Oct-2007 Hartmut Kaiser <hartmut.kaiser@gmail.com> Silenced a VC++ warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43276 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
9850b57587c5e7e3608ba881e62882e46f79025c 06-May-2007 Chris Lattner <sabre@nondot.org> we aren't at the end of stream until we've consumed all the bytes AND all
the bits in those bytes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36861 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
85a57910bdb696a6dd2d2852530681ecb92035b8 06-May-2007 Jeff Cohen <jeffc@jolt-lang.org> Make code more 64-bit aware.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36833 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
332376bc601fcff8d8a4558c2834ddd0189c12d1 06-May-2007 Jeff Cohen <jeffc@jolt-lang.org> Unbreak VC++.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36831 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
048d0bd4c0e92db88a508b5fc107136a1262b6bc 06-May-2007 Chris Lattner <sabre@nondot.org> Fix a subtle bug that prevented round-tripping 470.lbm


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36825 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
02a13b5c505af06a1e053afa861f81dae1da7a0c 05-May-2007 Chris Lattner <sabre@nondot.org> minor bugfix


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36777 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
28e4c4c9b3b9bf8939405df24b87062c1f10a9a3 05-May-2007 Chris Lattner <sabre@nondot.org> add a 6-bit encoding type for strings.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36770 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
e17b658c792abd4a1552144b8a8808e44970da76 05-May-2007 Chris Lattner <sabre@nondot.org> Implement support for globally associating abbrevs with block IDs, which
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 :)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36767 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
3c074f61ed2bd1d8d48c3851d827a06b80d2608b 04-May-2007 Chris Lattner <sabre@nondot.org> add support for array abbreviations.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36754 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
a727d5502c8e23c090da658bf14c5ebc1169a070 04-May-2007 Chris Lattner <sabre@nondot.org> minor cleanups. Add provisions for a new standard BLOCKINFO_BLOCK
block type.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36748 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
299b2d2070165eccea3fb61f7387fa016b847338 04-May-2007 Chris Lattner <sabre@nondot.org> refcount BitCodeAbbrev objects


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36747 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
2bbb703e4f84c68a9603838c32eba7423ed54b71 01-May-2007 Chris Lattner <sabre@nondot.org> several bitfixes to JumpToBit


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36616 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
90a5c7dbc150af336b6e153427f21fb8a1d46d78 01-May-2007 Chris Lattner <sabre@nondot.org> add JumpToBit, an explicit init method, and a default ctor.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36613 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
8d89f1fbb618a4501d7696cb0f6a7c60ee41456b 29-Apr-2007 Chris Lattner <sabre@nondot.org> add some helpers


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36580 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
a2d0ad4fe26df1e32610ccd99d084a98daeb5c67 29-Apr-2007 Chris Lattner <sabre@nondot.org> compute this value correctly


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36575 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
bd40a6d3ee9658f9bfd6ab74893fca5fa75c6de0 29-Apr-2007 Chris Lattner <sabre@nondot.org> add a method


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36571 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
107d80956d1a7017b132e508defdb5f90e74de5f 29-Apr-2007 Chris Lattner <sabre@nondot.org> make this file self-contained


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36555 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
aea20124338b335ea6ff2730924c223f0db95e04 23-Apr-2007 Chris Lattner <sabre@nondot.org> implement reading of abbrevs


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36366 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
36d5e7d31be61f631ace0488f0d6cd71b8f31a16 23-Apr-2007 Chris Lattner <sabre@nondot.org> first part of implementation of abbrevs. The writer isn't fully there yet and the
reader doesn't handle them at all yet.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36363 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
7aaa4a5c09d7c9a53ccf2c856c8ba6fe31f14302 22-Apr-2007 Reid Spencer <rspencer@reidspencer.com> Terminate with newline.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36345 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
a0c96a068ca7027644b5f1972f9c388fa542d278 22-Apr-2007 Jeff Cohen <jeffc@jolt-lang.org> Teach Visual Studio about Bitcode.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36341 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h
b35ca9db9ce25e6b61aa3eaee41464f647d34899 22-Apr-2007 Chris Lattner <sabre@nondot.org> Define the content-independent interfaces to read/write bitcode files and
the high-level interface to read/write LLVM IR bitcode files.

This is a work in progress.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36329 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/Bitcode/BitstreamReader.h