unique id for a llvm Instruction

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

unique id for a llvm Instruction

Eirini _
Hello,

i would like to ask, is there a way to get a unique id for each llvm instruction?

Eirini

_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Reply | Threaded
Open this post in threaded view
|

Re: unique id for a llvm Instruction

Duncan Sands
Hi,

> i would like to ask, is there a way to get a unique id for each llvm instruction?

each instruction is accessed via a pointer.  The pointer is unique.

Ciao, Duncan.
_______________________________________________
LLVM Developers mailing list
[hidden email]         http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev