[LLVMdev] unique instruction ids

Nick Lewycky nicholas at mxc.ca
Sat Aug 11 16:26:53 PDT 2012


George Baah wrote:
> Hi All,
>    I am trying to find out whether llvm assigns unique numeric ids to
> instructions?

No, we use the Instruction* wherever we want to refer to a unique 
instruction. I suppose you could cast that to an integer.

Nick



More information about the llvm-dev mailing list