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

Xiaolong Tang xiaolong.snake at gmail.com
Thu Jun 10 08:34:07 PDT 2010


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



More information about the llvm-dev mailing list