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. 2012/6/14 Duncan Sands <baldrick at free.fr>:> 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. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev