[PATCH] D37776: Add options to dump PGO counts in text.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 12 15:34:22 PDT 2017


yamauchi created this revision.

Add options -pgo-print-counts and -pgo-print-raw-counts that dump block
frequency and branch probability info like -pgo-view-counts and
-pgo-view-raw-counts do but in text.

This is useful when the graph is very large and complex (the dot command
crashes, lines/edges too close to tell apart, hard to navigate without textual
search) or simply when text is preferred.


https://reviews.llvm.org/D37776

Files:
  lib/Analysis/BlockFrequencyInfo.cpp
  lib/Transforms/Instrumentation/PGOInstrumentation.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37776.114926.patch
Type: text/x-patch
Size: 4749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170912/5ca4e987/attachment.bin>


More information about the llvm-commits mailing list