<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I think you’re invoking clang static analyzer (<a href="https://clang-analyzer.llvm.org" class="">https://clang-analyzer.llvm.org</a> ) — a tool that is used to find bugs and I don’t think it will affect the generated IR / machine code.<div class=""><br class=""></div><div class="">I think a better way to test different inline configurations will be generating IR files using clang and play around with different `opt` (inlining) options.</div><div class=""><br class=""></div><div class="">-Min<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 20, 2021, at 10:15 AM, via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><br class=""> Hi,<br class=""><br class="">  I am trying to see the difference between different inlining options that llvm supports (<a href="https://clang.llvm.org/docs/analyzer/developer-docs/IPA.html" class="">https://clang.llvm.org/docs/analyzer/developer-docs/IPA.html</a>). The way I invoked them was -<br class=""><br class="">   clang++ -Xclang -analyzer-config -Xclang -ipa=dynamic -std=c++11 -Wall <a href="http://something.cc" class="">something.cc</a> -o something (for dynamic mode)<br class="">   clang++ -Xclang -analyzer-config -Xclang -ipa=basic -std=c++11 -Wall <a href="http://something.cc" class="">something.cc</a> -o something (for basic mode)<br class=""><br class="">   and so on.<br class=""><br class=""> However, I did't observe much difference in execution times for the runs with different inlining modes, which is making me wonder if I did this correctly? Is this the right way to use the different inlining modes? Can anyone tell me if I am missing something?<br class=""><br class=""><br class=""> Thanks,<br class=""> Bodhi<br class=""><br class="">_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<br class=""></div></div></blockquote></div><br class=""></div></body></html>