llvm.org GIT mirror llvm / a3706d6
s/lto_codegen_whole_program_optimization/lto_codegen_set_whole_program_optimization/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154312 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 7 years ago
3 changed file(s) with 5 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
253253 * Enables the internalize pass during LTO optimizations.
254254 */
255255 extern void
256 lto_codegen_whole_program_optimization(lto_code_gen_t cg);
256 lto_codegen_set_whole_program_optimization(lto_code_gen_t cg);
257257
258258 /**
259259 * Adds to a list of all global symbols that must exist in the final
182182 cg->addMustPreserveSymbol(symbol);
183183 }
184184
185 /// lto_codegen_whole_program_optimization - Enable the internalize pass during
186 /// LTO optimizations.
187 void lto_codegen_whole_program_optimization(lto_code_gen_t cg) {
185 /// lto_codegen_set_whole_program_optimization - Enable the internalize pass
186 /// during LTO optimizations.
187 void lto_codegen_set_whole_program_optimization(lto_code_gen_t cg) {
188188 cg->enableInternalizePass();
189189 }
190190
2626 lto_codegen_set_assembler_path
2727 lto_codegen_set_cpu
2828 lto_codegen_compile_to_file
29 lto_codegen_whole_program_optimization
29 lto_codegen_set_whole_program_optimization
3030 LLVMCreateDisasm
3131 LLVMDisasmDispose
3232 LLVMDisasmInstruction