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