<div dir="ltr"><div>In memory, "c" is the name of the AllocaInst object. The LoadInst has no name, so is printed with a sequential number. <br>Both of which you might discover by enumerating the instructions of the basic block they exist within.<br><br>All Instructions inherit from Value. Anywhere that you need to supply a Value*, you can supply the result of an Instruction by simply providing the pointer to the Instruction.<br><br></div>Perhaps you should spend some more time reading the documentation available online;<br><a href="http://llvm.org/docs/index.html">http://llvm.org/docs/index.html</a><br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 14, 2017 at 6:51 PM, binapani via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Sir/Madam,<br>
<br>
  I am implementing Pointer-analysis in LLVM. As I am a novice user of LLVM, facing many problems. I have the following doubt.<br>
<br>
  HOW TO ACCESS THE LHS PART OF LOAD/ALLOCA INSTRUCTION.<br>
<br>
  Eg:<br>
    %c = alloca i32**, align 8<br>
    %0 = load i32*, i32** %b, align 8<br>
<br>
     how to access c and address of 0(temporary variable) in case of alloca and load instruction respectively ?<br>
<br>
Regards,<br>
Binapani Beria<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br></div>