aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
AgeCommit message (Expand)AuthorFilesLines
2015-01-08Explicitly handle LinkOnceODRAutoHideLinkage. NFC. We already have a test.Rafael Espindola1-0/+2
2015-01-08Update naming style and clang-format. NFC.Rafael Espindola1-17/+30
2015-01-05[PM] Switch the new pass manager to use a reference-based API for IRChandler Carruth1-2/+2
2014-12-18Fix Visual C++ error "'llvm::make_unique' : ambiguous call to overloaded func...Yaron Keren1-2/+2
2014-12-18Modernize the getStreamedBitcodeModule interface a bit. NFC.Rafael Espindola1-18/+14
2014-12-17Make ValueEnumerator::print use OS for metadata too. Noticed by inspection.Nick Lewycky1-2/+1
2014-12-12Bitcode: Add missing "Remove in 4.0" commentsDuncan P. N. Exon Smith1-0/+2
2014-12-11Bitcode: Use unsigned char to record MDStringsDuncan P. N. Exon Smith1-1/+1
2014-12-11Bitcode: Add METADATA_NODE and METADATA_VALUEDuncan P. N. Exon Smith3-38/+31
2014-12-11Bitcode: Add `OLD_` prefix to metadata node recordsDuncan P. N. Exon Smith2-5/+5
2014-12-09IR: Split Metadata from ValueDuncan P. N. Exon Smith5-181/+256
2014-12-06IR: Disallow function-local metadata attachmentsDuncan P. N. Exon Smith1-2/+6
2014-12-06IR: Disallow complicated function-local metadataDuncan P. N. Exon Smith1-6/+30
2014-12-03Ask the module for its the identified types.Rafael Espindola2-3/+25
2014-12-03Prologue supportPeter Collingbourne4-7/+41
2014-11-24Add and use Type::subtypes. NFC.Rafael Espindola1-3/+2
2014-11-21Add accessor marcos to ConstantPlaceHolder, similar to those in the base class.Richard Trieu1-1/+2
2014-11-17Pass a reference to ValueEnumerator.Rafael Espindola3-37/+36
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-12Return the number of read bytes in MemoryObject::readBytes.Rafael Espindola1-1/+1
2014-11-12Reduce code duplication a bit. NFC.Rafael Espindola1-2/+2
2014-11-11Revert "IR: MDNode => Value"Duncan P. N. Exon Smith2-5/+5
2014-11-06Factor out call to push_back. NFC.Rafael Espindola1-3/+5
2014-11-03IR: MDNode => Value: Instruction::getAllMetadataOtherThanDebugLoc()Duncan P. N. Exon Smith2-5/+5
2014-11-01Remove redundant calls to isMaterializable.Rafael Espindola1-4/+2
2014-10-29Untabify.NAKAMURA Takumi1-2/+2
2014-10-24Modernize the error handling of the Materialize function.Rafael Espindola2-4/+4
2014-10-24Don't ever call materializeAllPermanently during LTO.Rafael Espindola2-9/+3
2014-10-23clang-format two code snippets to make the next patch easy to read.Rafael Espindola1-1/+2
2014-10-21IR: Reorder metadata bitcode serialization, NFCDuncan P. N. Exon Smith1-12/+14
2014-10-21IR: Remove dead code in metadata bitcode writing, NFCDuncan P. N. Exon Smith3-16/+12
2014-10-15correct const-ness with auto and dyn_castSanjay Patel1-3/+3
2014-10-15Use 'auto' for easier reading; no functional change intended.Sanjay Patel1-6/+3
2014-10-14Introduce LLVMWriteBitcodeToMemoryBuffer C API function.Peter Collingbourne1-0/+8
2014-09-23Do not destroy external linkage when deleting function bodyPetar Jovanovic1-1/+1
2014-09-19Eliminating static destructor for the BitCodeErrorCategory by converting to a...Chris Bieneman1-2/+5
2014-09-15Use IntrusiveRefCntPtr to manage the lifetime of BitCodeAbbrevs.Benjamin Kramer1-36/+3
2014-09-03Pass a && to getLazyBitcodeModule.Rafael Espindola2-5/+6
2014-08-27Fix a double free in llvm::getBitcodeTargetTriple.Rafael Espindola1-1/+1
2014-08-26Pass a std::unique_ptr<MemoryBuffer>& to getLazyBitcodeModule.Rafael Espindola2-10/+13
2014-08-26Pass a MemoryBufferRef when we can avoid taking ownership.Rafael Espindola3-9/+10
2014-08-25Modernize raw_fd_ostream's constructor a bit.Rafael Espindola1-3/+3
2014-08-16BitcodeReader: Only create one basic block for each blockaddressDuncan P. N. Exon Smith2-20/+18
2014-08-16UseListOrder: Correctly count the number of usesDuncan P. N. Exon Smith1-2/+2
2014-08-13Canonicalize header guards into a common format.Benjamin Kramer2-4/+4
2014-08-05BitcodeReader: Fix non-determinism in use-list orderDuncan P. N. Exon Smith2-3/+15
2014-08-01UseListOrder: Fix blockaddress use-list orderDuncan P. N. Exon Smith1-6/+20
2014-08-01BitcodeReader: Change mechanics of BlockAddress forward references, NFCDuncan P. N. Exon Smith2-38/+51