[LLVMdev] How to get the operand value in the instruction

Zhang Le yueguoguo1024 at gmail.com
Sat Mar 19 08:06:01 PDT 2011


Hi all,
I am trying to get the value of operands inside an instruction or the value
produced by the instruction.
I noticed the method of getOperand(n) which can get the reference of an
operand.
However I don't know clearly if the address I get refers to the value of the
operand.
Could anyone please help?

-- 
*with best regards*
Zhang  Le
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110319/38c41378/attachment.html>


More information about the llvm-dev mailing list