[LLVMdev] Arguments to IRBuilder CreateCall function

Eli Bendersky eliben at google.com
Thu Dec 26 15:34:23 PST 2013


On Thu, Dec 26, 2013 at 2:01 PM, Tehila Mayzels <tehila at cs.technion.ac.il>wrote:

> Hi,
>
>
>
> I need to pass some arguments to CreateCall function (as Value *).
>
> For example, I need to pass a 64 bit integer (with a value I calculate).
>
> How can I convert the 64 bit integer to a value * in order to pass it?
>
>
>
If I understand you correctly, you're looking for the getInt64 method (see
http://llvm.org/docs/doxygen/html/classllvm_1_1IRBuilderBase.html#a675da14f55ad277eae001b705c42be8b
).

HTH,
Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131226/eebc46b4/attachment.html>


More information about the llvm-dev mailing list