[opaque pointer types] Update InvokeInst creation APIs to consistently
authorJames Y Knight <jyknight@google.com>
Mon, 14 Jan 2019 21:37:48 +0000 (21:37 +0000)
committerJames Y Knight <jyknight@google.com>
Mon, 14 Jan 2019 21:37:48 +0000 (21:37 +0000)
commiteb2c4af1bf8e4872b40d3e5cab2e1c5bc22eb3ef
tree96f355f16b1e528e847cf14e7146d4a52efa2a23
parentf956390954f30ed97b1d1518a9f695b4dc84a972
[opaque pointer types] Update InvokeInst 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/D56557

llvm-svn: 351122
llvm/include/llvm-c/Core.h
llvm/include/llvm/IR/IRBuilder.h
llvm/include/llvm/IR/Instructions.h
llvm/lib/IR/Core.cpp