<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 9, 2013 at 12:47 PM, Dong Chen <span dir="ltr"><<a href="mailto:jameschennerd@gmail.com" target="_blank">jameschennerd@gmail.com</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">hi, Duncan,<br>
thank you for your reply;<br>
instruction "i->getOperand(0)->dump()" may print the %4 in the screen, but<br>
how can i store it in a variable like char * oprand="%4" ?<br><div class=""><div class="h5"><br></div></div></blockquote><div><br></div><div style>This may help you understand the situation a bit better:</div><div style>
<a href="http://llvm.org/docs/FAQ.html#what-api-do-i-use-to-store-a-value-to-one-of-the-virtual-registers-in-llvm-ir-s-ssa-representation" target="_blank" style="font-family:arial,sans-serif;font-size:13px">http://llvm.org/docs/FAQ.html#what-api-do-i-use-to-store-a-value-to-one-of-the-virtual-registers-in-llvm-ir-s-ssa-representation</a><br>
</div><div style><br></div><div style>-- Sean Silva </div></div></div></div>