llvm/include/llvm-c
Manman Ren 69e4dd1b12 [LTO API] split lto_codegen_compile to lto_codegen_optimize and
lto_codegen_compile_optimized. Also add lto_api_version.

Before this commit, we can only dump the optimized bitcode after running
lto_codegen_compile, but it includes some impacts of running codegen passes,
one example is StackProtector pass. We will get assertion failure when running
llc on the optimized bitcode, because StackProtector is effectively run twice.

After splitting lto_codegen_compile, the linker can choose to dump the bitcode
before running lto_codegen_compile_optimized.

lto_api_version is added so ld64 can check for runtime-availability of the new
API.

rdar://19565500


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228000 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-03 18:39:15 +00:00
..
Transforms [C API] Make the 'lower switch' pass available via the C API. 2014-09-11 21:32:32 +00:00
Analysis.h
BitReader.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
BitWriter.h Introduce LLVMWriteBitcodeToMemoryBuffer C API function. 2014-10-14 00:30:59 +00:00
Core.h IR: Split Metadata from Value 2014-12-09 18:38:53 +00:00
Disassembler.h Extend C disassembler API to allow specifying target features 2014-09-30 16:31:40 +00:00
ExecutionEngine.h [C API] Expose LLVMGetGlobalValueAddress and LLVMGetFunctionAddress. 2014-12-22 18:53:11 +00:00
Initialization.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
IRReader.h Fix known typos 2014-01-24 17:20:08 +00:00
Linker.h Finish removing DestroySource. 2014-12-23 19:16:45 +00:00
LinkTimeOptimizer.h include/llvm-c: Whitespace. 2013-10-23 17:56:29 +00:00
lto.h [LTO API] split lto_codegen_compile to lto_codegen_optimize and 2015-02-03 18:39:15 +00:00
module.modulemap [modules] The LLVM C API does not require C++! 2014-06-12 22:09:39 +00:00
Object.h Convert getFileOffset to getOffset and move it to its only user. 2014-04-21 13:45:32 +00:00
Support.h Introduce LLVMParseCommandLineOptions C API function. 2014-10-16 22:47:52 +00:00
Target.h [llvm-c] Remove dead typedef 2013-11-11 14:47:01 +00:00
TargetMachine.h Add target analysis passes to the codegen pipeline for MCJIT. 2014-01-23 19:23:28 +00:00