OSDN Git Service

[opaque pointer types] Update CallInst creation APIs to consistently
authorJames Y Knight <jyknight@google.com>
Mon, 14 Jan 2019 21:37:42 +0000 (21:37 +0000)
committerJames Y Knight <jyknight@google.com>
Mon, 14 Jan 2019 21:37:42 +0000 (21:37 +0000)
commitf806f42158f6adcf25dd25eb6667896bc0269a8d
treeca635eac97cf8b30a24b5cee0c35ca9c9d2f7455
parent19263d1daaa2bf8e37d530152ff52aeeabeb5278
[opaque pointer types] Update CallInst creation APIs to consistently
accept a callee-type argument.

Note: this also adds a new C API and soft-deprecates the old C API.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351121 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/Core.h
include/llvm/IR/IRBuilder.h
include/llvm/IR/Instructions.h
include/llvm/IR/Module.h
lib/IR/Core.cpp
lib/IR/Instructions.cpp