[LLVMdev] For clarifying the "<Result>" in Instructions

Reid Kleckner rnk at mit.edu
Thu Jun 10 08:39:58 PDT 2010


Yes, it's an integral part of the Instruction.  You can change it by
providing a name when you create the instruction.

Reid

On Thu, Jun 10, 2010 at 8:34 AM, Xiaolong Tang <xiaolong.snake at gmail.com> wrote:
> Hi all,
>
> In the language specifications, many instructions have this form:
>
>  <result> = ...
>
> So, where is "<result>" defined? Is it an integral part of an instruction?
> Consider the "getelementptr" instruction:
>
>  <result> = getelementptr <pty>* <ptrval>{, <ty> <idx>}*
>
> How is the "<result>" represented?
>
> Best,
> Xiaolong
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list