aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitstreamReader.cpp
AgeCommit message (Expand)AuthorFilesLines
2019-01-19Update the file headers across all of the LLVM projects in the monorepoChandler Carruth1-4/+3
2017-01-04Change BitstreamCursor::skipRecord to return the record code (NFC)Mehdi Amini1-4/+14
2017-01-04Reapply "Make BitCodeAbbrev ownership explicit using shared_ptr rather than I...David Blaikie1-2/+2
2017-01-04Revert "Make BitCodeAbbrev ownership explicit using shared_ptr rather than In...David Blaikie1-2/+2
2017-01-04Make BitCodeAbbrev ownership explicit using shared_ptr rather than IntrusiveR...David Blaikie1-2/+2
2016-12-01Bitcode: Correctly handle Fixed and VBR arrays in BitstreamCursor::skipRecord().Peter Collingbourne1-6/+4
2016-11-08Bitcode: Decouple block info block state from reader.Peter Collingbourne1-28/+20
2016-10-27BitcodeReader: Require clients to read the block info block at most once.Peter Collingbourne1-2/+2
2016-08-18[LLVM] Fix some Clang-tidy modernize-use-using and Include What You Use warningsEugene Zelenko1-5/+4
2016-03-27Support: Implement StreamingMemoryObject::getPointerDuncan P. N. Exon Smith1-3/+4
2016-03-27Bitcode: Add SimpleBitstreamCursor::getPointerToByte, etc.Duncan P. N. Exon Smith1-3/+1
2016-03-27Bitcode: Split out SimpleBitstreamCursorDuncan P. N. Exon Smith1-9/+13
2016-03-25Revert "Bitcode: Collect all MDString records into a single blob"Duncan P. N. Exon Smith1-4/+2
2016-03-25Bitcode: Collect all MDString records into a single blobDuncan P. N. Exon Smith1-2/+4
2016-03-07Bitcode reader: Inline readAbbreviatedField in readRecord and move the enclos...Mehdi Amini1-7/+34
2015-05-27[BitstreamReader] Make sure the Array operand type is an encodingFilipe Cabecinhas1-0/+3
2015-05-27clang-format a couple of linesFilipe Cabecinhas1-2/+2
2015-05-26[BitcodeReader] Make sure abbrev records have at least one operand (record code)Filipe Cabecinhas1-0/+3
2015-05-25Simplify boolean conditional return statements.Rafael Espindola1-4/+1
2015-05-19[BitcodeReader] It's a malformed block if CodeLenWidth is too bigFilipe Cabecinhas1-0/+4
2015-04-29Turn an assert into report_fatal_error since it's reachable based on user inputFilipe Cabecinhas1-1/+2
2015-04-23Be more strict about the operand for the array type in BitcodeReaderFilipe Cabecinhas1-0/+3
2015-04-23Verify sizes when trying to read a BitcodeAbbrevOpFilipe Cabecinhas1-0/+9
2015-04-15Revert "Verify sizes when trying to read a VBR"Filipe Cabecinhas1-2/+0
2015-04-15Verify sizes when trying to read a VBRFilipe Cabecinhas1-0/+2
2015-03-09Simplify expressions involving boolean constants with clang-tidyDavid Blaikie1-1/+1
2015-02-13Clean up some inappropriate choices of type in the bitcode reader. None ofRichard Smith1-1/+1
2015-01-24[Bitcode] Diagnose errors instead of asserting from bad inputFilipe Cabecinhas1-1/+5
2014-11-13Silence MSVC warning on missing return after fully covered switchReid Kleckner1-0/+1
2014-11-13Move calls to push_back out of readAbbreviated(Literal|Field).Rafael Espindola1-26/+13
2014-11-13Make a few helper functions static. NFC.Rafael Espindola1-16/+18
2014-11-06Factor out call to push_back. NFC.Rafael Espindola1-3/+5
2014-09-15Use IntrusiveRefCntPtr to manage the lifetime of BitCodeAbbrevs.Benjamin Kramer1-36/+3
2014-06-18Replace some assert(0)'s with llvm_unreachable.Craig Topper1-2/+2
2014-04-15[C++11] More 'nullptr' conversion. In some cases just using a boolean check i...Craig Topper1-1/+1
2013-05-10Micro-optimization: don't shift an entire bitcode record over to get the code.Jordan Rose1-3/+10
2013-04-01Whitespace cleanupJoe Abbey1-1/+1
2013-02-19Simplify code. No functionality change.Jakub Staszak1-14/+7
2013-02-09Fix the underlying problem that was causing read(0) to be called: sometimes theChris Lattner1-3/+14
2013-02-06Code Custodian (trivial whitespace cleanup)Joe Abbey1-39/+38
2013-01-21Fix a heinous inefficiency introduced in r149918, wherein reading each byte of aChris Lattner1-9/+8
2013-01-21wean Blob handling logic off of banging on NextChar directly. Instead, makeChris Lattner1-10/+13
2013-01-21rename "SkipToWord" to "SkipToFourByteBoundary" since a word is not always 4 ...Chris Lattner1-3/+3
2013-01-20convert the bitstream reader itself and the IR .bc file parser to use the new...Chris Lattner1-10/+14
2013-01-20stringref'ize readRecord and properly capitalize it. Add a compatibility met...Chris Lattner1-6/+7
2013-01-20move some private methods out of line, add a skipRecord() method.Chris Lattner1-3/+111
2013-01-19Add a new BitstreamEntry concept, and add two helper methods for walkingChris Lattner1-1/+1
2013-01-19BitstreamReader hasn't aged well. It's been hacked on by various people andChris Lattner1-0/+253