<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="-webkit-font-kerning: none;" class="">Hi All,</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0); min-height: 12px;" class=""><span style="font-kerning: none" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">I would like to use llvm-mca to estimate the IPC of a given code region. I am interested in the library version (<a href="https://reviews.llvm.org/D50929?id=162210" class=""><span style="-webkit-font-kerning: none;" class="">https://reviews.llvm.org/D50929?id=162210</span></a>) but I have troubles understanding how to use it. Could you please point me to some documentations or (better) some code examples if any?</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0); min-height: 12px;" class=""><span style="font-kerning: none" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">Reading the documentation (<a href="https://llvm.org/docs/CommandGuide/llvm-mca.html" class=""><span style="-webkit-font-kerning: none;" class="">https://llvm.org/docs/CommandGuide/llvm-mca.html</span></a>) it also seems that llvm-mca does not take into account the cache hierarchy. Does this mean that the tool assumes all the loads/stores hit the L1 cache?</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0); min-height: 12px;" class=""><span style="font-kerning: none" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">Looking forward to hearing from you.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="font-kerning: none" class="">Best regards,</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0); min-height: 12px;" class=""><span style="font-kerning: none" class=""></span><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: "Helvetica Neue"; -webkit-text-stroke-width: initial; -webkit-text-stroke-color: rgb(0, 0, 0);" class=""><span style="-webkit-font-kerning: none;" class="">Lorenzo Chelini.</span></div></body></html>