History log of /external/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
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/lib/Bitcode/Reader/BitstreamReader.cpp
ebe69fe11e48d322045d5949c83283927a0d790b 23-Mar-2015 Stephen Hines <srhines@google.com> Update aosp/master LLVM for rebase to r230699.

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

Change-Id: Ic787f5e0124df789bd26f3f24680f45e678eef2d
/external/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
c6a4f5e819217e1e12c458aed8e7b122e23a3a58 21-Jul-2014 Stephen Hines <srhines@google.com> Update LLVM for rebase to r212749.

Includes a cherry-pick of:
r212948 - fixes a small issue with atomic calls

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

Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
1197e38f3338b8db76f0fa38c2687c65b2bcea5c 11-May-2013 Jordan Rose <jordan_rose@apple.com> Micro-optimization: don't shift an entire bitcode record over to get the code.

Previously, BitstreamCursor read an abbreviated record by splatting the
whole thing into a data vector, then extracting and removing the /first/
element. Now, it reads the first element--the record code--separately from
the actual field values.

No (intended) functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181639 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
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/lib/Bitcode/Reader/BitstreamReader.cpp
c61e83e6de778e5bd937e401564fe6bd0836b727 19-Feb-2013 Jakub Staszak <kubastaszak@gmail.com> Simplify code. No functionality change.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175501 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
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/lib/Bitcode/Reader/BitstreamReader.cpp
acb6194f93440425776cdd730a2726fd95499505 06-Feb-2013 Joe Abbey <jabbey@arxan.com> Code Custodian (trivial whitespace cleanup)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174550 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
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/lib/Bitcode/Reader/BitstreamReader.cpp
47543a8a66fb9451126f134808b55853aca57e1c 21-Jan-2013 Chris Lattner <sabre@nondot.org> wean Blob handling logic off of banging on NextChar directly. Instead, make
it reason about the current bit position, which is always independent of the
underlying cursors word size.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173063 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
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/lib/Bitcode/Reader/BitstreamReader.cpp
5a4251c767adb7a47ad7a53719398ee1342cc400 20-Jan-2013 Chris Lattner <sabre@nondot.org> convert the bitstream reader itself and the IR .bc file parser to use the new advance() APIs,
simplifying things and making a bunch of details more private to BitstreamCursor.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172947 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
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/lib/Bitcode/Reader/BitstreamReader.cpp
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/lib/Bitcode/Reader/BitstreamReader.cpp
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/lib/Bitcode/Reader/BitstreamReader.cpp
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/lib/Bitcode/Reader/BitstreamReader.cpp