[LLVMdev] How to get the left-hand operand of an instruction?

Qiuping yi qqsmallpig at gmail.com
Tue Apr 6 01:32:35 PDT 2010


Hi,

I am a new novice of LLVM, and I want know how to get the left-hand operand
of an instruction?

For example:
how to get the %temp2 operand in the next instruction:

%temp2 = malloc i8, i32 %n


Thanks a lot!

Best Regards!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100406/be299269/attachment.html>


More information about the llvm-dev mailing list