[LLVMdev] For clarifying the "" in Instructions

Reid Kleckner
Thu, 10 Jun 2010 15:39:58 -0000

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
>