[LLVMdev] How do I get the result of an instruction?
Óscar Fuentes
ofv at wanadoo.es
Sat Nov 15 14:54:53 PST 2008
bhavani krishnan <bhavi63 at yahoo.com> writes:
> I probably have a stupid question but I could not find out so please
> help me out here. I can use getOperand to get the operands of an
> instruction. Similarly, How do I get the result of an instruction?
The result of the instruction is the instruction itself. Whenever you
need to use the result of the instruction, pass the instruction as an
argument.
--
Oscar
More information about the llvm-dev
mailing list