1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00
llvm-mirror/include/llvm-c
whitequark 35da2d3b6b [LLVM-C] Add target triple normalization to the C API.
rL333307 was introduced to remove automatic target triple
normalization when calling sys::getDefaultTargetTriple(), arguing
that users of the latter already called Triple::normalize()
if necessary. However, users of the C API currently have no way of
doing target triple normalization.

This patch introduces an LLVMNormalizeTargetTriple function to
the C API which wraps Triple::normalize() and can be used on
the result of LLVMGetDefaultTargetTriple to achieve the same effect.

Differential Revision: https://reviews.llvm.org/D49414

Reviewed By: whitequark

llvm-svn: 337263
2018-07-17 10:57:39 +00:00
..
Transforms [UnrollAndJam] New Unroll and Jam pass 2018-07-01 12:47:30 +00:00
Analysis.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
BitReader.h Deprecate a few C APIs. 2015-12-18 23:46:42 +00:00
BitWriter.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
Comdat.h [LLVM-C] [bindings/go] Add C and Golang bindings for COMDAT 2018-03-14 18:33:53 +00:00
Core.h [LLVM-C] Improve Bindings For Aliases 2018-05-20 23:49:08 +00:00
DataTypes.h Assume existence of inttypes.h and stdint.h in DataTypes.h. 2018-04-02 13:22:26 +00:00
DebugInfo.h [DebugInfo] Refactoring DIType::setFlags to DIType::cloneWithFlags, NFC 2018-06-01 23:15:09 +00:00
Disassembler.h Split Disassembler.h in two to fix dependencies 2018-03-29 00:29:44 +00:00
DisassemblerTypes.h Split Disassembler.h in two to fix dependencies 2018-03-29 00:29:44 +00:00
ErrorHandling.h Make some headers self-contained, remove unused includes that violate layering. 2016-01-27 16:05:37 +00:00
ExecutionEngine.h [C-API] Add functions to create GDB, Intel, Oprofile event listeners. 2018-05-24 21:32:54 +00:00
Initialization.h [AggressiveInstCombine] Add aggressive inst combiner to the LLVM C API. 2018-04-24 00:39:29 +00:00
IRReader.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
Linker.h Delete the deprecated LLVMLinkModules. 2016-02-12 15:28:45 +00:00
LinkTimeOptimizer.h
lto.h Remove \brief commands from doxygen comments. 2018-05-01 15:54:18 +00:00
module.modulemap
Object.h Reorganize the C API headers to improve build times. 2015-12-18 01:46:52 +00:00
OrcBindings.h [ORC][C-API] Expose LLVMOrc{Unr,R}egisterJITEventListener(). 2018-05-24 21:32:52 +00:00
Support.h Reapply Support layering fixes. 2018-03-21 17:31:49 +00:00
Target.h Move LLVMCreateTargetData and LLVMDisposeTargetData together. NFC 2016-02-17 22:41:09 +00:00
TargetMachine.h [LLVM-C] Add target triple normalization to the C API. 2018-07-17 10:57:39 +00:00
Types.h [ORC][C-API] Expose LLVMOrc{Unr,R}egisterJITEventListener(). 2018-05-24 21:32:52 +00:00