<div>Hi  Duncan,</div>
<div> </div>
<div>I have catched your reply and solved the problem. Thank you for the elaborate reply.</div>
<div> </div>
<div> </div>
<div>Best Regards!</div>
<div><br><br> </div>
<div class="gmail_quote">2010/4/6 Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr">baldrick@free.fr</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi increaseing, please ask on the list rather than writing to me directly.<br>That way others can answer, and the discussion is archived for the benefit<br>
of people with the same question in the future.<br><br>Best wishes,<br><br>Duncan.<br><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div class="im">I have another question:<br>If I want to catch the point pointing to an allocated regin using malloc<br>and its length(for example, x.p and n in the next statement), what<br>should I do?<br>x.p = malloc(n);<br>
Thank you very much!<br>Best Regards!<br><br><br></div>2010/4/6 Duncan Sands <<a href="mailto:baldrick@free.fr" target="_blank">baldrick@free.fr</a> <mailto:<a href="mailto:baldrick@free.fr" target="_blank">baldrick@free.fr</a>>> 
<div class="im"><br><br>   Hi Qiuping yi,<br><br>    > I am a new novice of LLVM, and I want know how to get the left-hand<br>    > operand of an instruction?<br>    ><br>    > For example:<br>    > how to get the %temp2 operand in the next instruction:<br>
    ><br>    > %temp2 = malloc i8, i32 %n<br><br>   there is no left-hand side, temp2 is just a name for the instruction.<br>   Since the LLVM IR is in SSA form, registers have exactly one definition,<br>   and thus there is no point in distinguishing between a register and the<br>
   instruction that defines it.  In short, whenever you would like to make<br>   use of "%temp2", just use the instruction ("malloc i8, i32 %n")<br>   directly.<br><br>   Ciao,<br><br>   Duncan.<br>   _______________________________________________<br>
   LLVM Developers mailing list<br></div>   <a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a> <mailto:<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>><br>   <a href="http://llvm.cs.uiuc.edu/" target="_blank">http://llvm.cs.uiuc.edu</a> <<a href="http://llvm.cs.uiuc.edu/" target="_blank">http://llvm.cs.uiuc.edu/</a>> 
<div class="im"><br>   <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br><br><br></div></blockquote><br></blockquote></div><br>