[cfe-dev] Accessing all the variables in an Instruction

era jain iru19.jain at gmail.com
Sun Nov 4 05:33:54 PST 2012

Can anyone tell me how can I access the defining variable in an instruction?
For example:
%rem = srem i32 %i.0, 10

Using getOperand() in the above instruction gives me only the operands on
the LHS, i.e. i.0 and i32 10. How can I access %rem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121104/8983f25b/attachment.html>

More information about the cfe-dev mailing list