[opaque pointer type] Provide the ability to pass an explicit type when creating...
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 19 May 2015 21:31:18 +0000 (21:31 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 19 May 2015 21:31:18 +0000 (21:31 +0000)
commit94a1bbfebc4c16dcbfe0a424e0a6bb3de71184d4
tree34535b787d361713d928dc0b4ca6409c886ec10d
parentdfc41dbcda4aef4d1fe508f93bc2fadc310682e7
[opaque pointer type] Provide the ability to pass an explicit type when creating a CallInst through IRBuilder

A use for this will be added to Clang shortly. I haven't hit the
specific cases I want to cleanup in LLVM just yet.

A utility that avoids the need for this in direct calls to
llvm::Functions will be added too - since in that case the type can be
retrieved from the llvm::Function directly.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237728 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/IRBuilder.h