OSDN Git Service

[opaque pointer type] Provide a convenience for IRBuilder::CreateCall that accepts...
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 18 May 2015 22:25:14 +0000 (22:25 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 18 May 2015 22:25:14 +0000 (22:25 +0000)
commit4d632b44e218f13d86d0f45c6b94f0a37fe8097e
treec1d6a3fbd6142ce0476e7b07e3f04111334f5797
parent042dd34f9cb1fb17873116c7560f2f011c10a9b8
[opaque pointer type] Provide a convenience for IRBuilder::CreateCall that accepts a Function without needing to take an explicit callee Type

The common case is a direct call, so don't make all those users have to
explicitly pass the result of llvm::Function::getFunctionType.

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