[llvm-dev] How to compute the number of times each instruction, basic block, or region called at run time?

Rasha Omar via llvm-dev llvm-dev at lists.llvm.org
Tue Apr 25 12:00:39 PDT 2017


I used llvm-cov to compute how many times each high level instruction is
called at runtime.
I need to insert a code at mcjit to do the similar job. I searched at
instrumentation pass.
Is there a function returns bool that indicates current instruction is
called or not ?and how many times is it  called?

Thanks,
Rasha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170425/d4cdf47d/attachment.html>


More information about the llvm-dev mailing list