Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(246)

Side by Side Diff: llvm/include/llvm-c/lto.h

Issue 10808021: Change LLVM bitcode linking to use tree reduction to scale better (Closed)
Patch Set: Different version (change way gold-plugin uses interface, rather than hack the scoped pointers) Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | llvm/tools/gold/gold-plugin.cpp » ('j') | llvm/tools/lto/LTOCodeGenerator.cpp » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /*===-- llvm-c/lto.h - LTO Public C Interface ---------------------*- C -*-===*\ 1 /*===-- llvm-c/lto.h - LTO Public C Interface ---------------------*- C -*-===*\
2 |* *| 2 |* *|
3 |* The LLVM Compiler Infrastructure *| 3 |* The LLVM Compiler Infrastructure *|
4 |* *| 4 |* *|
5 |* This file is distributed under the University of Illinois Open Source *| 5 |* This file is distributed under the University of Illinois Open Source *|
6 |* License. See LICENSE.TXT for details. *| 6 |* License. See LICENSE.TXT for details. *|
7 |* *| 7 |* *|
8 |*===----------------------------------------------------------------------===*| 8 |*===----------------------------------------------------------------------===*|
9 |* *| 9 |* *|
10 |* This header provides public interface to an abstract link time optimization*| 10 |* This header provides public interface to an abstract link time optimization*|
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 252
253 253
254 254
255 /** 255 /**
256 * Add an object module to the set of modules for which code will be generated. 256 * Add an object module to the set of modules for which code will be generated.
257 * Returns true on error (check lto_get_error_message() for details). 257 * Returns true on error (check lto_get_error_message() for details).
258 */ 258 */
259 extern bool 259 extern bool
260 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod); 260 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod);
261 261
262 262 /* @LOCALMOD-BEGIN */
263 extern bool
264 lto_codegen_gather_module(lto_code_gen_t cg, lto_module_t mod);
265 extern bool
266 lto_codegen_link_gathered_modules_and_dispose(lto_code_gen_t cg);
267 /* @LOCALMOD-END*/
263 268
264 /** 269 /**
265 * Sets if debug info should be generated. 270 * Sets if debug info should be generated.
266 * Returns true on error (check lto_get_error_message() for details). 271 * Returns true on error (check lto_get_error_message() for details).
267 */ 272 */
268 extern bool 273 extern bool
269 lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model); 274 lto_codegen_set_debug_model(lto_code_gen_t cg, lto_debug_model);
270 275
271 276
272 /** 277 /**
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 396
392 #ifdef __cplusplus 397 #ifdef __cplusplus
393 } 398 }
394 #endif 399 #endif
395 400
396 /** 401 /**
397 * @} 402 * @}
398 */ 403 */
399 404
400 #endif 405 #endif
OLDNEW
« no previous file with comments | « no previous file | llvm/tools/gold/gold-plugin.cpp » ('j') | llvm/tools/lto/LTOCodeGenerator.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698