<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 26, 2013 at 2:01 PM, Tehila Mayzels <span dir="ltr"><<a href="mailto:tehila@cs.technion.ac.il" target="_blank">tehila@cs.technion.ac.il</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><p class="MsoNormal" style="text-align:left;direction:ltr">

Hi,<u></u><u></u></p><p class="MsoNormal" style="text-align:left;direction:ltr"><u></u> <u></u></p><p class="MsoNormal" style="text-align:left;direction:ltr">I need to pass some arguments to CreateCall function (as Value *).<u></u><u></u></p>

<p class="MsoNormal" style="text-align:left;direction:ltr">For example, I need to pass a 64 bit integer (with a value I calculate).<u></u><u></u></p><p class="MsoNormal" style="text-align:left;direction:ltr">How can I convert the 64 bit integer to a value * in order to pass it?<u></u><u></u></p>

<p class="MsoNormal" style="text-align:left;direction:ltr"><u></u><br></p></div></blockquote><div><br></div><div>If I understand you correctly, you're looking for the getInt64 method (see <a href="http://llvm.org/docs/doxygen/html/classllvm_1_1IRBuilderBase.html#a675da14f55ad277eae001b705c42be8b">http://llvm.org/docs/doxygen/html/classllvm_1_1IRBuilderBase.html#a675da14f55ad277eae001b705c42be8b</a>).</div>

<div><br></div><div>HTH,</div><div>Eli</div></div></div></div>