OSDN Git Service

[opaque pointer types] Update LoadInst creation APIs to consistently
authorJames Y Knight <jyknight@google.com>
Mon, 14 Jan 2019 21:37:53 +0000 (21:37 +0000)
committerJames Y Knight <jyknight@google.com>
Mon, 14 Jan 2019 21:37:53 +0000 (21:37 +0000)
commit4ed9d9e79772f5abd4cca4540cbb416c62c353db
tree22ac6685d8920f25ff7c285e67aeff42bba9c098
parent7a5d86473a59354dc35d5af7d8d17ba2fc6909ca
[opaque pointer types] Update LoadInst creation APIs to consistently
accept a return-type argument.

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

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

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