[PATCH] D83297: [Attributor][WIP] Attribute scheduling visualization.

Kuter Dinel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 7 05:00:03 PDT 2020


kuter created this revision.
Herald added subscribers: llvm-commits, okura, bbn, uenoku, hiraditya.
Herald added a reviewer: jdoerfert.
Herald added a reviewer: sstefan1.
Herald added a reviewer: uenoku.
Herald added a reviewer: homerdin.
Herald added a reviewer: baziotis.
Herald added a project: LLVM.

This patch is meant to be used for creating videos of the attributor scheduling.

Usage:

1. Create dot files (--attribute-seed-allow-list recommended)
2. Render the dot files.

  for f in *.dot
  do
    dot -Tpng "$f" -o "$f.png"
  done

1. concatenate the images with ffmpeg.

  ffmpeg -r 1 -pattern_type glob -i '*.png' -codec:v libx264 out.mp4

(TODO: Find options that don't break the aspect ratio)


https://reviews.llvm.org/D83297

Files:
  llvm/include/llvm/Transforms/IPO/Attributor.h
  llvm/lib/Transforms/IPO/Attributor.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83297.276000.patch
Type: text/x-patch
Size: 6694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200707/d0610ef7/attachment.bin>


More information about the llvm-commits mailing list