[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)
commitf956390954f30ed97b1d1518a9f695b4dc84a972
tree2fa1315f6b8e17a687f5a01e56c46ca183ad342d
parent93bfb99ffc7ea9c828c3679ecc61719de453a8d0
[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

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