Bitcode Instruction ID

Hello,

I'm modifying the LLI interpreter to count the number of times that
each instruction in a bitcode file is interpreted, however to do this
I need to assign an identifier to each instruction in the file. Is
there currently any kind of instruction ID that I could use to solve
this?

César.

Hi César,

I'm modifying the LLI interpreter to count the number of times that
each instruction in a bitcode file is interpreted, however to do this
I need to assign an identifier to each instruction in the file. Is
there currently any kind of instruction ID that I could use to solve
this?

yes, the address of the instruction.

Ciao, Duncan.

Hi Duncan,

thanks.