Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Pass a reference to a module to the bitcode writer. | Rafael Espindola | 2018-02-14 | 1 | -1/+1 |
| | | | | | | | This simplifies most callers as they are already using references or std::unique_ptr. llvm-svn: 325155 | ||||
* | [Bitcode] Fix some Clang-tidy modernize-use-using and Include What You Use ↵ | Eugene Zelenko | 2017-09-07 | 1 | -3/+15 |
| | | | | | | warnings; other minor fixes (NFC). llvm-svn: 312760 | ||||
* | Bitcode: Add a string table to the bitcode format. | Peter Collingbourne | 2017-04-17 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | Add a top-level STRTAB block containing a string table blob, and start storing strings for module codes FUNCTION, GLOBALVAR, ALIAS, IFUNC and COMDAT in the string table. This change allows us to share names between globals and comdats as well as between modules, and improves the efficiency of loading bitcode files by no longer using a bit encoding for symbol names. Once we start writing the irsymtab to the bitcode file we will also be able to share strings between it and the module. On my machine, link time for Chromium for Linux with ThinLTO decreases by about 7% for no-op incremental builds or about 1% for full builds. Total bitcode file size decreases by about 3%. As discussed on llvm-dev: http://lists.llvm.org/pipermail/llvm-dev/2017-April/111732.html Differential Revision: https://reviews.llvm.org/D31838 llvm-svn: 300464 | ||||
* | Avoid some string copies, NFC | Vedant Kumar | 2017-04-11 | 1 | -2/+2 |
| | | | | llvm-svn: 299993 | ||||
* | llvm-cat: Allow bitcode files to be created with no modules. | Peter Collingbourne | 2016-12-13 | 1 | -1/+1 |
| | | | | llvm-svn: 289610 | ||||
* | Bitcode: Introduce BitcodeWriter interface. | Peter Collingbourne | 2016-11-29 | 1 | -0/+73 |
This interface allows clients to write multiple modules to a single bitcode file. Also introduce the llvm-cat utility which can be used to create a bitcode file containing multiple modules. Differential Revision: https://reviews.llvm.org/D26179 llvm-svn: 288195 |