[LLVMdev] Instruction Operands
bdavis at cs.fsu.edu
bdavis at cs.fsu.edu
Tue Sep 6 09:24:40 PDT 2011
Working with the LLVM source, if I have an Instruction object by
itself (created by parsing a module using LLVM's parser), is there a
way to get its operands/destination?
e.g. '%add = add nsw i32 %tmp2, %tmp1'
Being able to get some form of %add, %tmp2, and %tmp1?
All I can pull is the operation itself, i.e. that it's an add.
Thanks,
Brandon
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the llvm-dev
mailing list