Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove lto_codegen_set_whole_program_optimization. It is a work in progress, | Rafael Espindola | 2012-04-16 | 1 | -6/+0 |
| | | | | | | | | | so we don't want it to show up in the stable 3.1 interface. While at it, add a comment about why LTOCodeGenerator manually creates the internalize pass. llvm-svn: 154807 | ||||
* | s/lto_codegen_whole_program_optimization/lto_codegen_set_whole_program_optim ↵ | Bill Wendling | 2012-04-09 | 1 | -1/+1 |
| | | | | | | ization/ llvm-svn: 154312 | ||||
* | Add a hook to turn on the internalize pass through the LTO interface. | Bill Wendling | 2012-04-09 | 1 | -2/+6 |
| | | | | llvm-svn: 154306 | ||||
* | Cleanup whitespace and remove unneeded 'extern' keyword on function definitions. | Bill Wendling | 2012-03-31 | 1 | -16/+17 |
| | | | | llvm-svn: 153802 | ||||
* | Organize LLVM C API docs into doxygen modules; add docs | Gregory Szorc | 2012-03-21 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | This gives a lot of love to the docs for the C API. Like Clang's documentation, the C API is now organized into a Doxygen "module" (LLVMC). Each C header file is a child of the main module. Some modules (like Core) have a hierarchy of there own. The produced documentation is thus better organized (before everything was in one monolithic list). This patch also includes a lot of new documentation for APIs in Core.h. It doesn't document them all, but is better than none. Function docs are missing @param and @return annotation, but the documentation body now commonly provides help details (like the expected llvm::Value sub-type to expect). llvm-svn: 153157 | ||||
* | Fix a ton of comment typos found by codespell. Patch by | Chris Lattner | 2011-04-15 | 1 | -2/+2 |
| | | | | | | Luis Felipe Strano Moraes! llvm-svn: 129558 | ||||
* | Add a lto_codegen_compile_to_file to avoid producing a file, reading it to | Rafael Espindola | 2011-03-22 | 1 | -0/+7 |
| | | | | | | memory and writing it back to disk. llvm-svn: 128108 | ||||
* | Add support in the LTO library for loading an object from the middle | Rafael Espindola | 2011-03-17 | 1 | -1/+9 |
| | | | | | | of an file. llvm-svn: 127781 | ||||
* | Don't open the file again in the gold plugin. To be able to do this, update | Rafael Espindola | 2011-02-08 | 1 | -0/+8 |
| | | | | | | MemoryBuffer::getOpenFile to not close the file descriptor. llvm-svn: 125128 | ||||
* | Do not include DataTypes.h in llvm-c/lto.h. | Devang Patel | 2011-01-07 | 1 | -4/+3 |
| | | | | | | This means avoid using uint32_t. This patch reverts r112200 and fixes original problem by fixing argument type in lto.cpp. llvm-svn: 123038 | ||||
* | I swear I did a make clean and make before committing all this... | Michael J. Spencer | 2010-11-29 | 1 | -1/+1 |
| | | | | llvm-svn: 120304 | ||||
* | Add a new scope type "LTO_SYMBOL_SCOPE_DEFAULT_CAN_BE_HIDDEN" for the | Bill Wendling | 2010-09-27 | 1 | -17/+18 |
| | | | | | | "linker_private_weak_auto_def" linkage type for LTO. llvm-svn: 114868 | ||||
* | Fix prototypes. | Devang Patel | 2010-08-26 | 1 | -3/+4 |
| | | | | llvm-svn: 112200 | ||||
* | lto_codegen_set_gcc_path was removed. | Dan Gohman | 2010-08-25 | 1 | -8/+0 |
| | | | | llvm-svn: 112069 | ||||
* | Make it possible to set the cpu used for codegen. | Rafael Espindola | 2010-08-11 | 1 | -0/+7 |
| | | | | llvm-svn: 110759 | ||||
* | Make it possible to set the flags passed to the assembler. | Rafael Espindola | 2010-08-10 | 1 | -0/+6 |
| | | | | | | Nick, please review. llvm-svn: 110705 | ||||
* | Make it possible to set the target triple and expose that with an option in the | Rafael Espindola | 2010-08-09 | 1 | -0/+6 |
| | | | | | | gold plugin. llvm-svn: 110604 | ||||
* | 80 columns. | Eric Christopher | 2010-07-12 | 1 | -1/+1 |
| | | | | llvm-svn: 108126 | ||||
* | llvm-c/Core.h is no longer needed in lto.h, and it brings in | Dan Gohman | 2009-07-15 | 1 | -1/+0 |
| | | | | | | several unwanted dependencies. llvm-svn: 75717 | ||||
* | Maintain the old LTO API, by using the global context. | Owen Anderson | 2009-07-02 | 1 | -6/+3 |
| | | | | llvm-svn: 74678 | ||||
* | Fix the LTO header for LLVMContext changes. | Owen Anderson | 2009-07-01 | 1 | -3/+5 |
| | | | | llvm-svn: 74663 | ||||
* | Hold the LLVMContext by reference rather than by pointer. | Owen Anderson | 2009-07-01 | 1 | -1/+1 |
| | | | | llvm-svn: 74640 | ||||
* | <rdar://problem/6940611> libLTO.dylib needs to let linker specify path to ↵ | Nick Kledzik | 2009-06-04 | 1 | -0/+10 |
| | | | | | | | | | | | assembler Add lto_codegen_set_assembler_path() API which allows the linker to specify the path to the assembler tool to run. When assembler is used (instead of compiler) different command line options are used. Add LTO_API_VERSION #define so clients (linkers) can conditionalize use of new APIs. llvm-svn: 72823 | ||||
* | Oops! Missed a file in my last commit. | Nick Lewycky | 2009-04-30 | 1 | -0/+8 |
| | | | | llvm-svn: 70491 | ||||
* | Add LTO_SYMBOL_DEFINITION_WEAKUNDEF, use that on the gold plugin. | Rafael Espindola | 2009-04-24 | 1 | -0/+1 |
| | | | | llvm-svn: 69972 | ||||
* | Correct strange whitespace. | Nick Lewycky | 2009-02-06 | 1 | -1/+1 |
| | | | | llvm-svn: 63927 | ||||
* | Add protected visibility to libLTO. | Nick Lewycky | 2008-11-29 | 1 | -1/+2 |
| | | | | llvm-svn: 60257 | ||||
* | Provide a hook to set the code generation debug options to investigate lto ↵ | Devang Patel | 2008-07-03 | 1 | -0/+5 |
| | | | | | | failures. llvm-svn: 53119 | ||||
* | Use (void) instead of () in C code. | Gordon Henriksen | 2008-05-04 | 1 | -3/+3 |
| | | | | llvm-svn: 50620 | ||||
* | fixes from review of first commit | Nick Kledzik | 2008-02-27 | 1 | -3/+4 |
| | | | | llvm-svn: 47695 | ||||
* | first commit of new LTO system. It is not hooked up in the ↵ | Nick Kledzik | 2008-02-26 | 1 | -0/+234 |
llvm/tools/Makefile, so no one will build it be default yet llvm-svn: 47621 |