[PATCH] D40425: Extending CFGPrinter and CallPrinter with Heat Colors

Rodrigo Caetano Rocha via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 2 11:57:49 PST 2017


rcorcs updated this revision to Diff 125273.
rcorcs added a comment.

Fixed function getNumOfCalls for both full and simplified visualization of the call-graph.

Added edge width in both CallPrinter and CFGPrinter based on the edge weight.

I've also performed some small code refactoring.


Repository:
  rL LLVM

https://reviews.llvm.org/D40425

Files:
  include/llvm/Analysis/CFGPrinter.h
  include/llvm/Analysis/HeatUtils.h
  lib/Analysis/CFGPrinter.cpp
  lib/Analysis/CMakeLists.txt
  lib/Analysis/CallPrinter.cpp
  lib/Analysis/DomPrinter.cpp
  lib/Analysis/HeatUtils.cpp
  lib/Analysis/RegionPrinter.cpp
  lib/Passes/PassRegistry.def
  lib/Transforms/Scalar/NewGVN.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40425.125273.patch
Type: text/x-patch
Size: 46132 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171202/3f93613b/attachment-0001.bin>


More information about the llvm-commits mailing list