llvm-project/llvm/include/llvm-c
Chandler Carruth 7c80c3a8e4 [TI removal] Update the C API for the move away from `TerminatorInst`.
This updates the C API for the removal of `TerminatorInst`. It converts
the type query to a predicate query and moves the generic methods to
work on `Instruction` instances that satisfy this predicate rather than
requiring a specific type. It also clarifies that the C API wrapping
`BasicBlock::getTerminator` just returns an `Instruction`. Because this
was always wrapped opaquely as a value and the functions consuming these
values will work on `Instruction` objects, this shouldn't break any
clients.

This is a completely compatible change to the C API.

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

llvm-svn: 344764
2018-10-18 23:03:55 +00:00
..
Transforms Revert "[LLVM-C] Add bindings for addCoroutinePassesToExtensionPoints" 2018-09-28 16:45:18 +00:00
Analysis.h
BitReader.h
BitWriter.h
Comdat.h [LLVM-C] [bindings/go] Add C and Golang bindings for COMDAT 2018-03-14 18:33:53 +00:00
Core.h [TI removal] Update the C API for the move away from `TerminatorInst`. 2018-10-18 23:03:55 +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 Emit template type and value parameter DIEs for template variables. 2018-10-03 18:44:53 +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
Error.h Add a comment to clarify the contract for LLVMGetErrorMessage in the c-bindings 2018-09-29 23:49:54 +00:00
ErrorHandling.h
ExecutionEngine.h Add PerfJITEventListener for perf profiling support. 2018-07-24 00:54:06 +00:00
IRReader.h
Initialization.h [AggressiveInstCombine] Add aggressive inst combiner to the LLVM C API. 2018-04-24 00:39:29 +00:00
LinkTimeOptimizer.h
Linker.h
Object.h
OptRemarks.h Reland: [OptRemarks] Add library for parsing optimization remarks 2018-10-10 18:43:42 +00:00
OrcBindings.h [ORC] Update ORC C bindings to use the new llvm::Error C API. 2018-09-23 02:09:18 +00:00
Support.h Reapply Support layering fixes. 2018-03-21 17:31:49 +00:00
Target.h
TargetMachine.h [AArch64] Add Tiny Code Model for AArch64 2018-08-22 11:31:39 +00:00
Types.h [LLVM-C] Add more debug information accessors to GlobalObject and Instruction 2018-09-28 15:35:18 +00:00
lto.h Reland r342233: [ThinLTO] Allow setting of maximum cache size with 64-bit number 2018-09-17 10:21:26 +00:00
module.modulemap