Added MachineBlockFrequencyInfo::view for displaying the block frequency propagation...
authorMichael Gottesman <mgottesman@apple.com>
Tue, 3 Dec 2013 00:49:33 +0000 (00:49 +0000)
committerMichael Gottesman <mgottesman@apple.com>
Tue, 3 Dec 2013 00:49:33 +0000 (00:49 +0000)
commiteae8ef479d2c6c81b2ff19d2f721e7273642bc40
treee7d1aebb517c82613d09d20abe6cd444566675fe
parent5b93ae5ab5c648e1121c4b6ff4c9b6524de600d0
Added MachineBlockFrequencyInfo::view for displaying the block frequency propagation graph via graphviz.

This is useful for debugging issues in the BlockFrequency implementation
since one can easily visualize where probability mass and other errors
occur in the propagation.

This is the MI version of r194654.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196183 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachineBlockFrequencyInfo.h
lib/CodeGen/MachineBlockFrequencyInfo.cpp