I am wondering whether the values of the casts are guaranteed to be unique for every instruction.<div><br></div><div>George</div><div><br><div class="gmail_quote">On Sat, Aug 11, 2012 at 7:26 PM, Nick Lewycky <span dir="ltr"><<a href="mailto:nicholas@mxc.ca" target="_blank">nicholas@mxc.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">George Baah wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi All,<br>
   I am trying to find out whether llvm assigns unique numeric ids to<br>
instructions?<br>
</blockquote>
<br></div></div>
No, we use the Instruction* wherever we want to refer to a unique instruction. I suppose you could cast that to an integer.<span class="HOEnZb"><font color="#888888"><br>
<br>
Nick<br>
</font></span></blockquote></div><br></div>