diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-11 00:15:13 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-08-11 00:15:13 +0000 |
commit | ccab1dddd1531576e111e574ec04bb5043edcc4e (patch) | |
tree | dc8488d134700c91d19a6bbfaea65355371a20aa /llvm/include/llvm-c/lto.h | |
parent | f7495f286a7c5f8a5265da307f040b0c7eeacadc (diff) | |
download | bcm5719-llvm-ccab1dddd1531576e111e574ec04bb5043edcc4e.tar.gz bcm5719-llvm-ccab1dddd1531576e111e574ec04bb5043edcc4e.zip |
Make it possible to set the cpu used for codegen.
llvm-svn: 110759
Diffstat (limited to 'llvm/include/llvm-c/lto.h')
-rw-r--r-- | llvm/include/llvm-c/lto.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/lto.h b/llvm/include/llvm-c/lto.h index 34231a22a57..67b27a8e665 100644 --- a/llvm/include/llvm-c/lto.h +++ b/llvm/include/llvm-c/lto.h @@ -206,6 +206,13 @@ lto_codegen_set_pic_model(lto_code_gen_t cg, lto_codegen_model); /** + * Sets the cpu to generate code for. + */ +extern void +lto_codegen_set_cpu(lto_code_gen_t cg, const char *cpu); + + +/** * Sets the location of the "gcc" to run. If not set, libLTO will search for * "gcc" on the path. */ |