[LLVMdev] Grabbing Result of an Instruction.

Manish Gupta manishg at cs.ucsd.edu
Mon Aug 1 16:27:10 PDT 2011


What member function to use if I wish to operate on results of an
instruction.

eg.
Instruction  %1 = getelementptr inbounds [10 x i32]* %a, i32 0, i32 %0

I->getOperand will give me the operands.
How should I get hold of %1?

Thanks,
Manish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110801/13dc10b5/attachment.html>


More information about the llvm-dev mailing list