[LLVMdev] get the identifies of the unnamed temporaries from the instruction of LLVM IR

Sean Silva silvas at purdue.edu
Tue Apr 9 09:51:48 PDT 2013


On Tue, Apr 9, 2013 at 12:47 PM, Dong Chen <jameschennerd at gmail.com> wrote:

> hi, Duncan,
> thank you for your reply;
> instruction "i->getOperand(0)->dump()" may print the %4 in the screen, but
> how can i store it in a variable like char * oprand="%4" ?
>
>
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


-- Sean Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130409/21c02fa1/attachment.html>


More information about the llvm-dev mailing list