[all-commits] [llvm/llvm-project] 369d00: [CallPrinter] Adding heat coloring to CallPrinter

KirillVNaumov via All-commits all-commits at lists.llvm.org
Tue Jun 16 14:16:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 369d00df60dce4b107734a061c299971972ae55d
      https://github.com/llvm/llvm-project/commit/369d00df60dce4b107734a061c299971972ae55d
  Author: Kirill Naumov <knaumov at azul.com>
  Date:   2020-06-16 (Tue, 16 Jun 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/HeatUtils.h
    M llvm/lib/Analysis/CallPrinter.cpp
    M llvm/lib/Analysis/HeatUtils.cpp
    M llvm/test/Other/heat-colors-graphs.ll
    A llvm/test/Other/heat-colors-multigraph.ll

  Log Message:
  -----------
  [CallPrinter] Adding heat coloring to CallPrinter

This patch introduces the heat coloring of the Call Printer which is based
on the relative "hotness" of each function. The patch is a part of sequence of
three patches, related to graphs Heat Coloring.
Another feature added is the flag similar to "-cfg-dot-filename-prefix",
which allows to write the graph into a named .pdf

Reviewers: rcorcs, apilipenko, davidxl, sfertile, fedor.sergeev, eraman, bollu

Differential Revision: https://reviews.llvm.org/D77172




More information about the All-commits mailing list