OSDN Git Service

[BFI]: graph viewer code refactoring
authorXinliang David Li <davidxl@google.com>
Tue, 28 Jun 2016 03:41:29 +0000 (03:41 +0000)
committerXinliang David Li <davidxl@google.com>
Tue, 28 Jun 2016 03:41:29 +0000 (03:41 +0000)
commit6fff479973360629e0dc361ff91db21590d2978a
treebbeeb8654a3d9ed943054d934d178bc6319859a2
parentedd67d643a85649751cb6207d1606e99b911b46a
[BFI]: graph viewer code refactoring

BFI and MBFI's dot traits class share most of the
code and all future enhancement. This patch extracts
common implementation into base class BFIDOTGraphTraitsBase.

This patch also enables BFI graph to show branch probability
on edges as MBFI does before.

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