[LLVMdev] Arguments to IRBuilder CreateCall function

Tehila Mayzels tehila at cs.technion.ac.il
Sat Dec 28 14:05:45 PST 2013


Thanks!

Tehila.

 

From: Eli Bendersky [mailto:eliben at google.com] 
Sent: Friday, December 27, 2013 1:34 AM
To: Tehila Mayzels
Cc: LLVM Developers Mailing List
Subject: Re: [LLVMdev] Arguments to IRBuilder CreateCall function

 

 

 

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/20131229/88685778/attachment.html>


More information about the llvm-dev mailing list