[LLVMdev] Integer ID for LLVM::Instruction*?

Zhoulai zell08v at gmail.com
Wed May 6 15:33:21 PDT 2015


Hi,

I wonder whether we can easily retrieve an LLVM instruction ID that
uniquely identifies the instruction. In my case, I need to avoid using
llvm::Instruction* directly. Given an 'inst' of type llvm::instruction*, is
there some readily usable method as simple as  "int id = inst->id( )"?
Thanks.

Zhoulai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150506/d6700b03/attachment.html>


More information about the llvm-dev mailing list