<div dir="auto"><div>Hi,</div><div dir="auto">I would like to get the '5'. I would like to know where the loaded value is stored. I don't know which method I should use of the LoadInst class.</div><div dir="auto"><br></div><div dir="auto">Hope this clarifies</div><div dir="auto"><br></div><div dir="auto">Thanks<br><br><div class="gmail_quote" dir="auto"><div dir="ltr">On Wed, Dec 12, 2018, 20:37 Doerfert, Johannes Rudolf <<a href="mailto:jdoerfert@anl.gov">jdoerfert@anl.gov</a> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The LoadInst is %5. I'm not sure what you mean by reference though.<br>
<br>
On 12/12, Alberto Barbaro via llvm-dev wrote:<br>
> Hi all,<br>
> I have %5 = load i32, i32* %3, align 4 LoadInst and I would like to get<br>
> reference to the destination ( in this case %5 ). How can I do that?<br>
> <br>
> Thanks<br>
<br>
> _______________________________________________<br>
> LLVM Developers mailing list<br>
> <a href="mailto:llvm-dev@lists.llvm.org" target="_blank" rel="noreferrer">llvm-dev@lists.llvm.org</a><br>
> <a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
<br>
<br>
-- <br>
<br>
Johannes Doerfert<br>
Researcher<br>
<br>
Argonne National Laboratory<br>
Lemont, IL 60439, USA<br>
<br>
<a href="mailto:jdoerfert@anl.gov" target="_blank" rel="noreferrer">jdoerfert@anl.gov</a><br>
</blockquote></div></div></div>