unique - Uniquely identify instruction in LLVM -
is there way uniquely identify given instruction in llvm. example, if have function , inside function have "add" instruction, there way same "add" instruction every time execute it?
thank
what mean "execute" it?
- if execute in interpreter (via
lli
), yes, each llvm instruction uniquevalue*
. - if compile down machine code , execute it, can use debug info correlate between llvm instruction , machine code generated it. it's trickier, doable. complications multiple machine code instrs generated same llvm instruction, etc.
Comments
Post a Comment