[PATCH] D77172: Heat Coloring (3/3): Adding Heat Functionality to CallPrinter

Kirill Naumov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 07:59:55 PDT 2020


knaumov added a comment.

This Callgraph was generated from test_heat.ll
You can see, as foo is not being called by anyone, it is marked as the coldest block. Bar functions are ranked from the least number to the greatest by their hotness which makes sense - whenever function bar1 is called, it is calling all of the other bars that follow and so on. Thus, bar5 is the hottest function in the .ll file
F11856118: test_heat.ll.callgraph.pdf <https://reviews.llvm.org/F11856118>


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D77172/new/

https://reviews.llvm.org/D77172





More information about the llvm-commits mailing list